-/*
- * Device Tree Source for UniPhier LD11 Reference Board
- *
- * Copyright (C) 2016 Socionext Inc.
- * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
- *
- * SPDX-License-Identifier: GPL-2.0+ X11
- */
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
+//
+// Device Tree Source for UniPhier LD11 Reference Board
+//
+// Copyright (C) 2016 Socionext Inc.
+// Author: Masahiro Yamada <yamada.masahiro@socionext.com>
/dts-v1/;
-/include/ "uniphier-ld11.dtsi"
-/include/ "uniphier-ref-daughter.dtsi"
-/include/ "uniphier-support-card.dtsi"
+#include "uniphier-ld11.dtsi"
+#include "uniphier-ref-daughter.dtsi"
+#include "uniphier-support-card.dtsi"
/ {
model = "UniPhier LD11 Reference Board";
compatible = "socionext,uniphier-ld11-ref", "socionext,uniphier-ld11";
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+
aliases {
serial0 = &serial0;
serial1 = &serial1;
i2c5 = &i2c5;
};
- memory {
+ memory@80000000 {
device_type = "memory";
reg = <0 0x80000000 0 0x40000000>;
};
-
- chosen {
- stdout-path = "serial0:115200n8";
- };
};
ðsc {
- interrupts = <0 48 4>;
+ interrupts = <0 8>;
};
&serial0 {
status = "okay";
};
+&gpio {
+ xirq0 {
+ gpio-hog;
+ gpios = <UNIPHIER_GPIO_IRQ(0) 0>;
+ input;
+ };
+};
+
&i2c0 {
status = "okay";
};
status = "okay";
};
-/* for U-Boot only */
-&serial0 {
- u-boot,dm-pre-reloc;
+ð {
+ status = "okay";
+ phy-handle = <ðphy>;
};
-&pinctrl_uart0 {
- u-boot,dm-pre-reloc;
+&mdio {
+ ethphy: ethphy@1 {
+ reg = <1>;
+ };
};