hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/sun8i-q8-common.dtsi
....@@ -49,6 +49,19 @@
4949 ethernet0 = &sdio_wifi;
5050 };
5151
52
+ panel: panel {
53
+ /* Tablet dts should provide panel compatible */
54
+ backlight = <&backlight>;
55
+ enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */
56
+ power-supply = <&reg_dc1sw>;
57
+
58
+ port {
59
+ panel_input: endpoint {
60
+ remote-endpoint = <&tcon0_out_lcd>;
61
+ };
62
+ };
63
+ };
64
+
5265 wifi_pwrseq: wifi_pwrseq {
5366 compatible = "mmc-pwrseq-simple";
5467 /*
....@@ -64,13 +77,17 @@
6477 };
6578 };
6679
80
+&de {
81
+ status = "okay";
82
+};
83
+
6784 &ehci0 {
6885 status = "okay";
6986 };
7087
7188 &mmc1 {
7289 pinctrl-names = "default";
73
- pinctrl-0 = <&mmc1_pins_a>;
90
+ pinctrl-0 = <&mmc1_pg_pins>;
7491 vmmc-supply = <&reg_dldo1>;
7592 mmc-pwrseq = <&wifi_pwrseq>;
7693 bus-width = <4>;
....@@ -82,18 +99,20 @@
8299 };
83100 };
84101
85
-&mmc1_pins_a {
86
- bias-pull-up;
87
-};
88
-
89102 &r_pio {
90
- wifi_pwrseq_pin_q8: wifi_pwrseq_pin@0 {
103
+ wifi_pwrseq_pin_q8: wifi-pwrseq-pins {
91104 pins = "PL6", "PL7", "PL11";
92105 function = "gpio_in";
93106 bias-pull-up;
94107 };
95108 };
96109
110
+&tcon0 {
111
+ pinctrl-names = "default";
112
+ pinctrl-0 = <&lcd_rgb666_pins>;
113
+ status = "okay";
114
+};
115
+
97116 &usbphy {
98117 usb1_vbus-supply = <&reg_dldo1>;
99118 };