version 1.1.1.3, 2018/04/28 18:25:53 |
version 1.1.1.4, 2018/06/27 16:27:07 |
|
|
/* |
// SPDX-License-Identifier: GPL-2.0+ OR MIT |
* Copyright 2015 Freescale Semiconductor, Inc. |
// |
* Copyright 2016 Toradex AG |
// Copyright 2015 Freescale Semiconductor, Inc. |
* |
// Copyright 2016 Toradex AG |
* This file is dual-licensed: you can use it either under the terms |
|
* of the GPL or the X11 license, at your option. Note that this dual |
|
* licensing only applies to this file, and not this project as a |
|
* whole. |
|
* |
|
* a) This file is free software; you can redistribute it and/or |
|
* modify it under the terms of the GNU General Public License as |
|
* published by the Free Software Foundation; either version 2 of the |
|
* License, or (at your option) any later version. |
|
* |
|
* This file is distributed in the hope that it will be useful, |
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
* GNU General Public License for more details. |
|
* |
|
* Or, alternatively, |
|
* |
|
* b) Permission is hereby granted, free of charge, to any person |
|
* obtaining a copy of this software and associated documentation |
|
* files (the "Software"), to deal in the Software without |
|
* restriction, including without limitation the rights to use, |
|
* copy, modify, merge, publish, distribute, sublicense, and/or |
|
* sell copies of the Software, and to permit persons to whom the |
|
* Software is furnished to do so, subject to the following |
|
* conditions: |
|
* |
|
* The above copyright notice and this permission notice shall be |
|
* included in all copies or substantial portions of the Software. |
|
* |
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
|
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
|
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
|
* OTHER DEALINGS IN THE SOFTWARE. |
|
*/ |
|
|
|
#include "imx7s.dtsi" |
#include "imx7s.dtsi" |
#include <dt-bindings/reset/imx7-reset.h> |
#include <dt-bindings/reset/imx7-reset.h> |
|
|
/ { |
/ { |
cpus { |
cpus { |
cpu0: cpu@0 { |
cpu0: cpu@0 { |
operating-points = < |
|
/* KHz uV */ |
|
996000 1075000 |
|
792000 975000 |
|
>; |
|
clock-frequency = <996000000>; |
clock-frequency = <996000000>; |
|
operating-points-v2 = <&cpu0_opp_table>; |
}; |
}; |
|
|
cpu1: cpu@1 { |
cpu1: cpu@1 { |
|
|
device_type = "cpu"; |
device_type = "cpu"; |
reg = <1>; |
reg = <1>; |
clock-frequency = <996000000>; |
clock-frequency = <996000000>; |
|
operating-points-v2 = <&cpu0_opp_table>; |
|
}; |
|
}; |
|
|
|
cpu0_opp_table: opp-table { |
|
compatible = "operating-points-v2"; |
|
opp-shared; |
|
|
|
opp-792000000 { |
|
opp-hz = /bits/ 64 <792000000>; |
|
opp-microvolt = <975000>; |
|
clock-latency-ns = <150000>; |
|
}; |
|
|
|
opp-996000000 { |
|
opp-hz = /bits/ 64 <996000000>; |
|
opp-microvolt = <1075000>; |
|
clock-latency-ns = <150000>; |
|
opp-suspend; |
}; |
}; |
}; |
}; |
|
|
|
|
<GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>, |
<GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>, |
<GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>, |
<GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>, |
<GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; |
<GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; |
clocks = <&clks IMX7D_ENET_AXI_ROOT_CLK>, |
clocks = <&clks IMX7D_ENET2_IPG_ROOT_CLK>, |
<&clks IMX7D_ENET_AXI_ROOT_CLK>, |
<&clks IMX7D_ENET_AXI_ROOT_CLK>, |
<&clks IMX7D_ENET2_TIME_ROOT_CLK>, |
<&clks IMX7D_ENET2_TIME_ROOT_CLK>, |
<&clks IMX7D_PLL_ENET_MAIN_125M_CLK>, |
<&clks IMX7D_PLL_ENET_MAIN_125M_CLK>, |