forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts
....@@ -63,16 +63,9 @@
6363
6464 panel {
6565 compatible = "netron-dy,e231732";
66
- #address-cells = <1>;
67
- #size-cells = <0>;
6866
69
- port@0 {
70
- reg = <0>;
71
- #address-cells = <1>;
72
- #size-cells = <0>;
73
-
74
- panel_input: endpoint@0 {
75
- reg = <0>;
67
+ port {
68
+ panel_input: endpoint {
7669 remote-endpoint = <&tcon0_out_panel>;
7770 };
7871 };
....@@ -117,21 +110,21 @@
117110 vref-supply = <&reg_dcdc1>;
118111 status = "okay";
119112
120
- button@200 {
113
+ button-200 {
121114 label = "Volume Up";
122115 linux,code = <KEY_VOLUMEUP>;
123116 channel = <0>;
124117 voltage = <191011>;
125118 };
126119
127
- button@400 {
120
+ button-400 {
128121 label = "Volume Down";
129122 linux,code = <KEY_VOLUMEDOWN>;
130123 channel = <0>;
131124 voltage = <391304>;
132125 };
133126
134
- button@600 {
127
+ button-600 {
135128 label = "Home";
136129 linux,code = <KEY_HOME>;
137130 channel = <0>;
....@@ -140,8 +133,6 @@
140133 };
141134
142135 &mmc0 {
143
- pinctrl-names = "default";
144
- pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_sina33>;
145136 vmmc-supply = <&reg_dcdc1>;
146137 bus-width = <4>;
147138 cd-gpios = <&pio 1 4 GPIO_ACTIVE_LOW>; /* PB4 */
....@@ -161,20 +152,10 @@
161152 &mmc2_8bit_pins {
162153 /* Increase drive strength for DDR modes */
163154 drive-strength = <40>;
164
- /* eMMC is missing pull-ups */
165
- bias-pull-up;
166155 };
167156
168157 &ohci0 {
169158 status = "okay";
170
-};
171
-
172
-&pio {
173
- mmc0_cd_pin_sina33: mmc0_cd_pin@0 {
174
- pins = "PB4";
175
- function = "gpio_in";
176
- bias-pull-up;
177
- };
178159 };
179160
180161 &r_rsb {
....@@ -278,7 +259,7 @@
278259
279260 &uart0 {
280261 pinctrl-names = "default";
281
- pinctrl-0 = <&uart0_pins_b>;
262
+ pinctrl-0 = <&uart0_pb_pins>;
282263 status = "okay";
283264 };
284265