[U-Boot] [PATCH v2 5/6] sun50i: dts: add r_pio node and pinconfig entries into r_pio and pio

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Wed Feb 22 20:47:31 UTC 2017


To sync up with use of a pinctrl-driver, this updates the DTS.

Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
---
 arch/arm/dts/sun50i-a64.dtsi | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/arch/arm/dts/sun50i-a64.dtsi b/arch/arm/dts/sun50i-a64.dtsi
index 24406d0..54b68e0 100644
--- a/arch/arm/dts/sun50i-a64.dtsi
+++ b/arch/arm/dts/sun50i-a64.dtsi
@@ -376,9 +376,9 @@
 			gpio-controller;
 			#gpio-cells = <3>;
 			interrupt-controller;
-			#interrupt-cells = <2>;
+			#interrupt-cells = <3>;
 
-			uart0_pins_a: uart0 at 0 {
+			uart0_pins_a: uart0_pins_a {
 				allwinner,pins = "PB8", "PB9";
 				allwinner,function = "uart0";
 				allwinner,drive = <SUN4I_PINCTRL_10_MA>;
@@ -532,10 +532,9 @@
 			reg = <0x01f02c00 0x400>;
 			interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
 			gpio-controller;
+			#gpio-cells = <3>;
 			interrupt-controller;
 			#interrupt-cells = <3>;
-			#size-cells = <0>;
-			#gpio-cells = <3>;
 		};
 
 		ahb_rst: reset at 1c202c0 {
-- 
1.9.1



More information about the U-Boot mailing list