forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi
old mode 100644new mode 100755
....@@ -185,14 +185,26 @@
185185 sound-dai = <&hdmi>;
186186 };
187187 };
188
-
188
+/*
189189 leds: leds {
190190 compatible = "gpio-leds";
191
- sys_led: sys_led {
192
- gpios = <&gpio3 RK_PD0 GPIO_ACTIVE_HIGH>;
193
- linux,default-trigger = "heartbeat";
191
+ run_led: run_led {
192
+ gpios = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>;
193
+ default-state = "on";
194
+// linux,default-trigger = "heartbeat";
194195 };
195
- };
196
+
197
+ sig_led: sig_led {
198
+ gpios = <&gpio4 RK_PC3 GPIO_ACTIVE_HIGH>;
199
+ default-state = "on";
200
+ };
201
+
202
+ err_led: err_led {
203
+ gpios = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>;
204
+ default-state = "on";
205
+ };
206
+
207
+ };*/
196208
197209 pdmics: dummy-codec {
198210 status = "disabled";
....@@ -318,7 +330,6 @@
318330 regulator-min-microvolt = <3300000>;
319331 regulator-max-microvolt = <3300000>;
320332 enable-active-high;
321
- gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; //VCC3_IO_EN_GPIO0_C4_3V3
322333 vin-supply = <&vcc3v3_sys>;
323334
324335 regulator-state-mem {
....@@ -333,7 +344,6 @@
333344 regulator-min-microvolt = <3300000>;
334345 regulator-max-microvolt = <3300000>;
335346 enable-active-high;
336
- gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
337347 vin-supply = <&vcc3v3_sys>;
338348
339349 regulator-state-mem {
....@@ -362,6 +372,8 @@
362372 compatible = "wlan-platdata";
363373 rockchip,grf = <&grf>;
364374 wifi_chip_type = "ap6398s";
375
+ clocks = <&rk809 1>;
376
+ clock-names = "ext_clock";
365377 status = "okay";
366378 };
367379
....@@ -398,6 +410,7 @@
398410 &dfi {
399411 status = "okay";
400412 };
413
+
401414
402415 &dmc {
403416 center-supply = <&vdd_logic>;
....@@ -1253,7 +1266,7 @@
12531266 };
12541267
12551268 &i2c1 {
1256
- status = "okay";
1269
+ status = "disabled";
12571270 };
12581271
12591272 &i2c5 {
....@@ -1289,7 +1302,6 @@
12891302 };
12901303
12911304 &i2s3_2ch {
1292
- pinctrl-0 = <&i2s3m0_sclk &i2s3m0_lrck &i2s3m0_sdi &i2s3m0_sdo>;
12931305 rockchip,bclk-fs = <32>;
12941306 status = "disabled";
12951307 };
....@@ -1431,7 +1443,7 @@
14311443 };
14321444
14331445 &pwm7 {
1434
- status = "okay";
1446
+ status = "disabled";
14351447
14361448 compatible = "rockchip,remotectl-pwm";
14371449 remote_pwm_id = <3>;
....@@ -1606,7 +1618,7 @@
16061618 };
16071619
16081620 &spdif_8ch {
1609
- status = "okay";
1621
+ status = "disabled";
16101622 };
16111623
16121624 &tsadc {
....@@ -1658,7 +1670,7 @@
16581670 };
16591671
16601672 &usbdrd_dwc3 {
1661
- dr_mode = "otg";
1673
+ dr_mode = "host";
16621674 extcon = <&usb2phy0>;
16631675 status = "okay";
16641676 };