mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-12 12:25:18 +02:00
arm64: dts: rockchip: rock-pi-s add more peripherals
This enables the following peripherals: * Onboard ethernet support * Bluetooth * USB 2 port * OTG port via type-c connector * Hardware watchog Also add aliases for the mmc devices and the ethernet interface Signed-off-by: Sjoerd Simons <sjoerd@collabora.com> Link: https://lore.kernel.org/r/20220614064858.1445817-4-sjoerd@collabora.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
This commit is contained in:
parent
2e04c25b13
commit
bc3753aed8
|
@ -11,6 +11,12 @@
|
||||||
model = "Radxa ROCK Pi S";
|
model = "Radxa ROCK Pi S";
|
||||||
compatible = "radxa,rockpis", "rockchip,rk3308";
|
compatible = "radxa,rockpis", "rockchip,rk3308";
|
||||||
|
|
||||||
|
aliases {
|
||||||
|
ethernet0 = &gmac;
|
||||||
|
mmc0 = &emmc;
|
||||||
|
mmc1 = &sdmmc;
|
||||||
|
};
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
stdout-path = "serial0:1500000n8";
|
stdout-path = "serial0:1500000n8";
|
||||||
};
|
};
|
||||||
|
@ -129,6 +135,15 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&gmac {
|
||||||
|
clock_in_out = "output";
|
||||||
|
phy-supply = <&vcc_io>;
|
||||||
|
snps,reset-gpio = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
|
||||||
|
snps,reset-active-low;
|
||||||
|
snps,reset-delays-us = <0 50000 50000>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&i2c1 {
|
&i2c1 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
@ -192,10 +207,47 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&u2phy {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
u2phy_host: host-port {
|
||||||
|
phy-supply = <&vcc5v0_otg>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
u2phy_otg: otg-port {
|
||||||
|
phy-supply = <&vcc5v0_otg>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&uart0 {
|
&uart0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&uart4 {
|
&uart4 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
bluetooth {
|
||||||
|
compatible = "realtek,rtl8723bs-bt";
|
||||||
|
device-wake-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>;
|
||||||
|
host-wake-gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&usb_host_ehci {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&usb_host_ohci {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&usb20_otg {
|
||||||
|
dr_mode = "peripheral";
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&wdt {
|
||||||
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user