X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=arch%2Farm64%2Fboot%2Fdts%2Frockchip%2Frk3399-firefly-mini-linux.dts;h=025e43fce19ad7099229795843d7bd40d128d5df;hb=2ae05321496aa27767bc33a5cc19451b3db67919;hp=44d517d4ddc3a5ddca67c666a9c656b90c33176b;hpb=ac94e80d6a3cec1b1b08640772f8b3f0a1d5c35b;p=firefly-linux-kernel-4.4.55.git diff --git a/arch/arm64/boot/dts/rockchip/rk3399-firefly-mini-linux.dts b/arch/arm64/boot/dts/rockchip/rk3399-firefly-mini-linux.dts index 44d517d4ddc3..025e43fce19a 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-firefly-mini-linux.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-firefly-mini-linux.dts @@ -187,7 +187,7 @@ "Headphone Jack","HPOL", "Headphone Jack","HPOR"; simple-audio-card,cpu { - sound-dai = <&i2c1>; + sound-dai = <&i2s1>; }; simple-audio-card,codec { sound-dai = <&es8323>; @@ -272,6 +272,17 @@ regulator-always-on; }; + vbus_5v: vbus-5v-regulator { + compatible = "regulator-fixed"; + enable-active-high; + regulator-always-on; + regulator-boot-on; + gpio = <&gpio1 3 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&vbus_5v_drv>; + regulator-name = "vbus_5v"; + }; + vcc5v0_sys: vcc5v0-sys { compatible = "regulator-fixed"; regulator-name = "vcc5v0_sys"; @@ -348,7 +359,6 @@ }; leds { - status = "disabled"; compatible = "gpio-leds"; power { label = "firefly:blue:power"; @@ -726,7 +736,7 @@ pinctrl-0 = <&fusb0_int>; int-n-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; vbus-5v-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>; - status = "okay"; + status = "disabled"; }; gsl3680: gsl3680@41 { @@ -768,6 +778,8 @@ rockchip,playback-channels = <2>; rockchip,capture-channels = <2>; #sound-dai-cells = <0>; + assigned-clocks = <&cru SCLK_I2S1_DIV>, <&cru SCLK_I2S_8CH>; + assigned-clock-parents = <&cru PLL_GPLL>, <&cru SCLK_I2S1_8CH>; }; &i2s2 { @@ -909,6 +921,12 @@ rockchip,pins = <1 2 RK_FUNC_GPIO &pcfg_pull_up>; }; }; + + vbus { + vbus_5v_drv: vbus-5v-drv { + rockchip,pins = <1 3 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; }; &pwm0 { @@ -994,7 +1012,7 @@ }; &tcphy0 { - extcon = <&fusb0>; + //extcon = <&fusb0>; status = "okay"; }; @@ -1012,7 +1030,7 @@ &u2phy0 { status = "okay"; - extcon = <&fusb0>; + //extcon = <&fusb0>; u2phy0_otg: otg-port { status = "okay"; @@ -1072,9 +1090,15 @@ status = "okay"; }; +&uart4 { + current-speed = <9600>; + no-loopback-test; + status = "okay"; +}; + &usbdrd3_0 { status = "okay"; - extcon = <&fusb0>; + //extcon = <&fusb0>; }; &usbdrd3_1 { @@ -1083,6 +1107,8 @@ &usbdrd_dwc3_0 { status = "okay"; + //dr_mode = "peripheral"; + dr_mode = "host"; }; &usbdrd_dwc3_1 {