diff options
Diffstat (limited to 'sys/contrib/device-tree/src/arm64/rockchip/rk3399-puma.dtsi')
-rw-r--r-- | sys/contrib/device-tree/src/arm64/rockchip/rk3399-puma.dtsi | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/sys/contrib/device-tree/src/arm64/rockchip/rk3399-puma.dtsi b/sys/contrib/device-tree/src/arm64/rockchip/rk3399-puma.dtsi index aa3e21bd6c8f..c08e69391c01 100644 --- a/sys/contrib/device-tree/src/arm64/rockchip/rk3399-puma.dtsi +++ b/sys/contrib/device-tree/src/arm64/rockchip/rk3399-puma.dtsi @@ -9,6 +9,7 @@ / { aliases { + ethernet0 = &gmac; mmc0 = &sdhci; }; @@ -27,7 +28,7 @@ extcon_usb3: extcon-usb3 { compatible = "linux,extcon-usb-gpio"; - id-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_HIGH>; + id-gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&usb3_id>; }; @@ -119,6 +120,20 @@ drive-impedance-ohm = <33>; }; +&gpio0 { + /* + * The BIOS_DISABLE hog is a feedback pin for the actual status of the + * signal. This usually represents the state of a switch on the baseboard. + * The pin has a 10k pull-up resistor connected, so no pull-up setting is needed. + */ + bios-disable-hog { + gpios = <RK_PB0 GPIO_ACTIVE_HIGH>; + gpio-hog; + input; + line-name = "bios_disable"; + }; +}; + &gmac { assigned-clocks = <&cru SCLK_RMII_SRC>; assigned-clock-parents = <&clkin_gmac>; |