typec usb
This commit is contained in:
parent
c306bb991e
commit
f057c2a819
@ -18,6 +18,21 @@
|
||||
chosen: chosen {
|
||||
bootargs = "earlycon=uart8250,mmio32,0xff9f0000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rw rootwait";
|
||||
};
|
||||
|
||||
aliases {
|
||||
ethernet0 = &gmac1;
|
||||
/delete-property/ ethernet1;
|
||||
/* ethernet1 = &pcie-eth; */
|
||||
|
||||
mmc0 = &sdmmc; // sdcard
|
||||
mmc1 = &sdhci; // emmc
|
||||
mmc2 = &sdio0; // sdio
|
||||
|
||||
led-boot = &led_red;
|
||||
led-failsafe = &led_red;
|
||||
led-running = &led_red;
|
||||
led-upgrade = &led_red;
|
||||
};
|
||||
|
||||
fiq-debugger {
|
||||
compatible = "rockchip,fiq-debugger";
|
||||
@ -58,6 +73,7 @@
|
||||
vin-supply = <&dc_12v>;
|
||||
};
|
||||
|
||||
/omit-if-no-ref/
|
||||
vccio_sd: vccio-sd {
|
||||
compatible = "regulator-gpio";
|
||||
regulator-name = "vccio_sd";
|
||||
@ -69,6 +85,16 @@
|
||||
3300000 0x1>;
|
||||
};
|
||||
|
||||
/omit-if-no-ref/
|
||||
vcc_sd: vcc-sd {
|
||||
compatible = "regulator-fixed";
|
||||
gpio = <&gpio4 RK_PA1 GPIO_ACTIVE_LOW>;
|
||||
regulator-name = "vcc_sd";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
vin-supply = <&vcc5v0_sys>;
|
||||
};
|
||||
|
||||
vdd_logic: vdd-logic {
|
||||
compatible = "pwm-regulator";
|
||||
pwms = <&pwm2 0 5000 1>;
|
||||
@ -141,15 +167,6 @@
|
||||
vin-supply = <&vcc5v0_sys>;
|
||||
};
|
||||
|
||||
vcc_sd: vcc-sd {
|
||||
compatible = "regulator-fixed";
|
||||
gpio = <&gpio4 RK_PA1 GPIO_ACTIVE_LOW>;
|
||||
regulator-name = "vcc_sd";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
vin-supply = <&vcc5v0_sys>;
|
||||
};
|
||||
|
||||
vcc_ddr_s3: vcc-ddr-s3 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vcc_ddr_s3";
|
||||
@ -272,6 +289,24 @@
|
||||
WIFI,host_wake_irq = <&gpio1 RK_PA7 GPIO_ACTIVE_HIGH>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 =
|
||||
<&led_red_en>,
|
||||
<&led_green_en>;
|
||||
|
||||
led_red: led-red {
|
||||
gpios = <&gpio3 RK_PB2 GPIO_ACTIVE_HIGH>;
|
||||
label = "red:sys";
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
led-green {
|
||||
gpios = <&gpio3 RK_PB3 GPIO_ACTIVE_HIGH>;
|
||||
label = "green:user";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&acodec {
|
||||
@ -558,6 +593,21 @@
|
||||
rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
|
||||
fan {
|
||||
fan_en: fan-en {
|
||||
rockchip,pins = <3 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
|
||||
led {
|
||||
led_red_en: led-red-en {
|
||||
rockchip,pins = <3 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
led_green_en: led-green-en {
|
||||
rockchip,pins = <3 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&acodec {
|
||||
@ -584,6 +634,10 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb2phy {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&u2phy_host {
|
||||
status = "okay";
|
||||
phy-supply = <&vcc5v0_sys>;
|
||||
@ -594,16 +648,19 @@
|
||||
vbus-supply = <&vcc5v0_sys>;
|
||||
};
|
||||
|
||||
&usbdrd30 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbdrd_dwc3 {
|
||||
dr_mode = "otg";
|
||||
// Only USB2.0 START
|
||||
extcon = <&usb2phy>;
|
||||
phys = <&u2phy_otg>;
|
||||
phy-names = "usb2-phy";
|
||||
maximum-speed = "high-speed";
|
||||
snps,dis_u2_susphy_quirk;
|
||||
// Only USB2.0 END
|
||||
snps,usb2-lpm-disable;
|
||||
};
|
||||
|
||||
&usb2phy {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user