diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2019-07-22 11:27:59 +0200 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2019-07-31 12:10:50 +0200 |
commit | 0d84acb00a108d4664e52a156d0d6e80f1a6e6cd (patch) | |
tree | ce194c5be22e118ef00c21a016e555270feb0b3c /arch/arm/dts/meson-g12b.dtsi | |
parent | d93757f2f62178577217a2ce7b0f888188f376f8 (diff) | |
download | u-boot-0d84acb00a108d4664e52a156d0d6e80f1a6e6cd.tar.gz u-boot-0d84acb00a108d4664e52a156d0d6e80f1a6e6cd.tar.xz u-boot-0d84acb00a108d4664e52a156d0d6e80f1a6e6cd.zip |
ARM: dts: add support for Odroid-N2
Import HardKernel Odroid-N2 DT from Linux 5.3-rc1, commit 5f9e832c1370
("Linus 5.3-rc1") based on an Amlogic G12B S922X SoC.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Tested-by: Mark Kettenis <kettenis@openbsd.org>
Diffstat (limited to 'arch/arm/dts/meson-g12b.dtsi')
-rw-r--r-- | arch/arm/dts/meson-g12b.dtsi | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/arch/arm/dts/meson-g12b.dtsi b/arch/arm/dts/meson-g12b.dtsi new file mode 100644 index 0000000000..9e88e513b2 --- /dev/null +++ b/arch/arm/dts/meson-g12b.dtsi @@ -0,0 +1,82 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 BayLibre, SAS + * Author: Neil Armstrong <narmstrong@baylibre.com> + */ + +#include "meson-g12a.dtsi" + +/ { + compatible = "amlogic,g12b"; + + cpus { + cpu-map { + cluster0 { + core0 { + cpu = <&cpu0>; + }; + + core1 { + cpu = <&cpu1>; + }; + }; + + cluster1 { + core0 { + cpu = <&cpu100>; + }; + + core1 { + cpu = <&cpu101>; + }; + + core2 { + cpu = <&cpu102>; + }; + + core3 { + cpu = <&cpu103>; + }; + }; + }; + + /delete-node/ cpu@2; + /delete-node/ cpu@3; + + cpu100: cpu@100 { + device_type = "cpu"; + compatible = "arm,cortex-a73"; + reg = <0x0 0x100>; + enable-method = "psci"; + next-level-cache = <&l2>; + }; + + cpu101: cpu@101 { + device_type = "cpu"; + compatible = "arm,cortex-a73"; + reg = <0x0 0x101>; + enable-method = "psci"; + next-level-cache = <&l2>; + }; + + cpu102: cpu@102 { + device_type = "cpu"; + compatible = "arm,cortex-a73"; + reg = <0x0 0x102>; + enable-method = "psci"; + next-level-cache = <&l2>; + }; + + cpu103: cpu@103 { + device_type = "cpu"; + compatible = "arm,cortex-a73"; + reg = <0x0 0x103>; + enable-method = "psci"; + next-level-cache = <&l2>; + }; + }; +}; + +&clkc { + compatible = "amlogic,g12b-clkc"; +}; |