aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/dts/sun4i-a10-pcduino.dts
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-06-26 21:06:08 -0400
committerTom Rini <trini@konsulko.com>2022-06-26 21:06:08 -0400
commitbfa9306e140c136e43d0efc9574991db46ad8c9e (patch)
treeb492619b4e75d8ca69242444a5eefe4c73c03eb8 /arch/arm/dts/sun4i-a10-pcduino.dts
parent75967970850a932a2359e167fd9950b01e9b99d3 (diff)
parent47ca7b574faaa514677457e23a7197c47b0b597c (diff)
downloadu-boot-bfa9306e140c136e43d0efc9574991db46ad8c9e.zip
u-boot-bfa9306e140c136e43d0efc9574991db46ad8c9e.tar.gz
u-boot-bfa9306e140c136e43d0efc9574991db46ad8c9e.tar.bz2
Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sunxiWIP/26Jun2022
The main attraction are two regressions, plus a fix for a long standing bug: - Fix USB support on boards with a switched VBUS regulator. - Fix failing boot due to env loading on boards without MMC (CHIP). - Fix PSCI CPU_OFF operation on R40 boards. The rest are smaller fixes, and the forgotten DT sync for sun4i boards.
Diffstat (limited to 'arch/arm/dts/sun4i-a10-pcduino.dts')
-rw-r--r--arch/arm/dts/sun4i-a10-pcduino.dts20
1 files changed, 4 insertions, 16 deletions
diff --git a/arch/arm/dts/sun4i-a10-pcduino.dts b/arch/arm/dts/sun4i-a10-pcduino.dts
index b97a0f2..1ac8237 100644
--- a/arch/arm/dts/sun4i-a10-pcduino.dts
+++ b/arch/arm/dts/sun4i-a10-pcduino.dts
@@ -63,12 +63,12 @@
leds {
compatible = "gpio-leds";
- tx {
+ led-0 {
label = "pcduino:green:tx";
gpios = <&pio 7 15 GPIO_ACTIVE_LOW>;
};
- rx {
+ led-1 {
label = "pcduino:green:rx";
gpios = <&pio 7 16 GPIO_ACTIVE_LOW>;
};
@@ -76,8 +76,6 @@
gpio-keys {
compatible = "gpio-keys";
- #address-cells = <1>;
- #size-cells = <0>;
back {
label = "Key Back";
@@ -112,7 +110,7 @@
};
&emac {
- phy = <&phy1>;
+ phy-handle = <&phy1>;
status = "okay";
};
@@ -156,14 +154,6 @@
status = "okay";
};
-&pio {
- usb0_id_detect_pin: usb0-id-detect-pin {
- pins = "PH4";
- function = "gpio_in";
- bias-pull-up;
- };
-};
-
#include "axp209.dtsi"
&reg_dcdc2 {
@@ -203,9 +193,7 @@
};
&usbphy {
- pinctrl-names = "default";
- pinctrl-0 = <&usb0_id_detect_pin>;
- usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
+ usb0_id_det-gpios = <&pio 7 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PH4 */
usb1_vbus-supply = <&reg_vcc5v0>; /* USB1 VBUS is always on */
usb2_vbus-supply = <&reg_vcc5v0>; /* USB2 VBUS is always on */
status = "okay";