Commit df839aeb authored by Maxime Ripard's avatar Maxime Ripard

ARM: sun6i: app4 evb1: Convert to DT label based syntax

In order to lessen the amount of duplication of the DT tree, ease the
new and follow the trend that prefers to use label based references
when overriding DTSI nodes, convert the board to this syntax
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent b2547166
...@@ -61,36 +61,34 @@ / { ...@@ -61,36 +61,34 @@ / {
chosen { chosen {
bootargs = "earlyprintk console=ttyS0,115200"; bootargs = "earlyprintk console=ttyS0,115200";
}; };
};
soc@01c00000 { &ehci0 {
pio: pinctrl@01c20800 { status = "okay";
usb1_vbus_pin_a: usb1_vbus_pin@0 { };
allwinner,pins = "PH27";
allwinner,function = "gpio_out";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
};
usbphy: phy@01c19400 { &pio {
usb1_vbus-supply = <&reg_usb1_vbus>; usb1_vbus_pin_a: usb1_vbus_pin@0 {
status = "okay"; allwinner,pins = "PH27";
}; allwinner,function = "gpio_out";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
};
ehci0: usb@01c1a000 { &reg_usb1_vbus {
status = "okay"; pinctrl-0 = <&usb1_vbus_pin_a>;
}; gpio = <&pio 7 27 GPIO_ACTIVE_HIGH>;
status = "okay";
};
uart0: serial@01c28000 { &uart0 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&uart0_pins_a>; pinctrl-0 = <&uart0_pins_a>;
status = "okay"; status = "okay";
}; };
};
reg_usb1_vbus: usb1-vbus { &usbphy {
pinctrl-0 = <&usb1_vbus_pin_a>; usb1_vbus-supply = <&reg_usb1_vbus>;
gpio = <&pio 7 27 GPIO_ACTIVE_HIGH>; status = "okay";
status = "okay";
};
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment