diff options
author | Peng Fan <peng.fan@nxp.com> | 2018-10-18 14:28:36 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2018-10-22 13:00:09 +0200 |
commit | f180f4a482178c6d787c1ae43b5a486a2cc6c44a (patch) | |
tree | baa5568372b9d5805f1f9cd0fbcec462229a6c90 /arch/arm/dts/fsl-imx8-ca35.dtsi | |
parent | 3cb1450380229d1def6c70a3748ee0dcaef7ab29 (diff) | |
download | u-boot-f180f4a482178c6d787c1ae43b5a486a2cc6c44a.tar.gz u-boot-f180f4a482178c6d787c1ae43b5a486a2cc6c44a.tar.xz u-boot-f180f4a482178c6d787c1ae43b5a486a2cc6c44a.zip |
arm: dts: introduce dtsi for i.MX8QXP
Introduce dtsi for i.MX8QXP, since there is other variants i.MX8DX(P),
so add them there, because i.MX8QXP includes the dtsi of them.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'arch/arm/dts/fsl-imx8-ca35.dtsi')
-rw-r--r-- | arch/arm/dts/fsl-imx8-ca35.dtsi | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/arch/arm/dts/fsl-imx8-ca35.dtsi b/arch/arm/dts/fsl-imx8-ca35.dtsi new file mode 100644 index 0000000000..28bc32c8b7 --- /dev/null +++ b/arch/arm/dts/fsl-imx8-ca35.dtsi @@ -0,0 +1,66 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2018 NXP + */ + +#include <dt-bindings/clock/imx8qxp-clock.h> +#include <dt-bindings/interrupt-controller/arm-gic.h> + +/{ + cpus { + #address-cells = <2>; + #size-cells = <0>; + + /* We have 1 clusters having 4 Cortex-A35 cores */ + A35_0: cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a35"; + reg = <0x0 0x0>; + enable-method = "psci"; + next-level-cache = <&A35_L2>; + }; + + A35_1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a35"; + reg = <0x0 0x1>; + enable-method = "psci"; + next-level-cache = <&A35_L2>; + }; + + A35_2: cpu@2 { + device_type = "cpu"; + compatible = "arm,cortex-a35"; + reg = <0x0 0x2>; + enable-method = "psci"; + next-level-cache = <&A35_L2>; + }; + + A35_3: cpu@3 { + device_type = "cpu"; + compatible = "arm,cortex-a35"; + reg = <0x0 0x3>; + enable-method = "psci"; + next-level-cache = <&A35_L2>; + }; + + A35_L2: l2-cache0 { + compatible = "cache"; + }; + }; + + pmu { + compatible = "arm,armv8-pmuv3"; + interrupts = <GIC_PPI 7 + (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_HIGH)>; + interrupt-affinity = <&A35_0>, <&A35_1>, <&A35_2>, <&A35_3>; + }; + + psci { + compatible = "arm,psci-1.0"; + method = "smc"; + cpu_suspend = <0xc4000001>; + cpu_off = <0xc4000002>; + cpu_on = <0xc4000003>; + }; +}; |