};
};
- hdmi_sound: hdmi-sound {
- status = "okay";
- compatible = "simple-audio-card";
- simple-audio-card,format = "i2s";
- simple-audio-card,mclk-fs = <256>;
- simple-audio-card,name = "rockchip,hdmi";
-
- simple-audio-card,cpu {
- sound-dai = <&i2s_8ch>;
- };
- simple-audio-card,codec {
- sound-dai = <&hdmi>;
- };
- };
-
sdio_pwrseq: sdio-pwrseq {
compatible = "mmc-pwrseq-simple";
clocks = <&rk818 1>;
backlight: backlight {
compatible = "pwm-backlight";
- pwms = <&pwm0 0 25000 PWM_POLARITY_INVERTED>;
+ pwms = <&pwm0 0 25000 0>;
brightness-levels = <
0 1 2 3 4 5 6 7
8 9 10 11 12 13 14 15
regulator-min-microvolt = <3800000>;
regulator-max-microvolt = <3800000>;
};
-};
-&hdmi {
- status = "okay";
+ vcc_host: vcc-host {
+ compatible = "regulator-fixed";
+ enable-active-high;
+ gpio = <&gpio0 4 GPIO_ACTIVE_HIGH>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&host_vbus_drv>;
+ regulator-name = "vcc_host";
+ regulator-always-on;
+ };
};
&cpu_l0 {
&emmc {
bus-width = <8>;
cap-mmc-highspeed;
+ mmc-hs200-1_8v;
supports-emmc;
disable-wp;
non-removable;
status = "okay";
};
+&u2phy {
+ status = "okay";
+
+ u2phy_host: host-port {
+ phy-supply = <&vcc_host>;
+ status = "okay";
+ };
+};
+
+&usb_host0_ehci {
+ status = "okay";
+};
+
+&usb_host0_ohci {
+ status = "okay";
+};
+
&mipi_dsi_host {
status = "okay";
status = "okay";
};
+&tsadc {
+ tsadc-supply = <&syr827>;
+ status = "okay";
+};
+
&pinctrl {
pmic {
pmic_int_l: pmic-int-l {
};
};
+ usb2 {
+ host_vbus_drv: host-vbus-drv {
+ rockchip,pins = <RK_GPIO0 4 RK_FUNC_GPIO &pcfg_pull_none>;
+ };
+ };
+
wireless-bluetooth {
uart0_rts_gpio: uart0-rts-gpio {
rockchip,pins = <2 27 RK_FUNC_GPIO &pcfg_pull_none>;