]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: dts: uniphier: add support for LD11 Global board
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Thu, 22 Jun 2017 09:43:51 +0000 (18:43 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 24 Jun 2017 21:06:09 +0000 (06:06 +0900)
Add initial device tree support for LD11 Global board.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/dts/Makefile
arch/arm/dts/uniphier-ld11-global.dts [new file with mode: 0644]

index a01c9b60b3596984048fbec94f4a1ead4fc04a34..ae9ee68a3147db4dd56248b918b542143290759d 100644 (file)
@@ -97,6 +97,7 @@ dtb-$(CONFIG_ARCH_MVEBU) +=                   \
        armada-38x-controlcenterdc.dtb
 
 dtb-$(CONFIG_ARCH_UNIPHIER_LD11) += \
+       uniphier-ld11-global.dtb \
        uniphier-ld11-ref.dtb
 dtb-$(CONFIG_ARCH_UNIPHIER_LD20) += \
        uniphier-ld20-ref.dtb
diff --git a/arch/arm/dts/uniphier-ld11-global.dts b/arch/arm/dts/uniphier-ld11-global.dts
new file mode 100644 (file)
index 0000000..2ed1360
--- /dev/null
@@ -0,0 +1,79 @@
+/*
+ * Device Tree Source for UniPhier LD11 Global Board
+ *
+ * Copyright (C) 2016-2017 Socionext Inc.
+ *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
+ *           Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
+ *
+ * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+ */
+
+/dts-v1/;
+/include/ "uniphier-ld11.dtsi"
+
+/ {
+       model = "UniPhier LD11 Global Board (REF_LD11_GP)";
+       compatible = "socionext,uniphier-ld11-global",
+                    "socionext,uniphier-ld11";
+
+       chosen {
+               stdout-path = "serial0:115200n8";
+       };
+
+       aliases {
+               serial0 = &serial0;
+               serial1 = &serial1;
+               serial2 = &serial2;
+               serial3 = &serial3;
+               i2c0 = &i2c0;
+               i2c1 = &i2c1;
+               i2c2 = &i2c2;
+               i2c3 = &i2c3;
+               i2c4 = &i2c4;
+               i2c5 = &i2c5;
+       };
+
+       memory@80000000 {
+               device_type = "memory";
+               reg = <0 0x80000000 0 0x40000000>;
+       };
+};
+
+&serial0 {
+       status = "okay";
+};
+
+&serial1 {
+       status = "okay";
+};
+
+&i2c0 {
+       status = "okay";
+
+       eeprom@50 {
+               compatible = "st,24c64", "atmel,24c64", "i2c-eeprom";
+               reg = <0x50>;
+               pagesize = <32>;
+       };
+};
+
+&usb0 {
+       status = "okay";
+};
+
+&usb1 {
+       status = "okay";
+};
+
+&usb2 {
+       status = "okay";
+};
+
+/* for U-Boot only */
+&serial0 {
+       u-boot,dm-pre-reloc;
+};
+
+&pinctrl_uart0 {
+       u-boot,dm-pre-reloc;
+};