forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 10ebd8556b7990499c896a550e3d416b444211e6
kernel/arch/arm64/boot/dts/rockchip/px30-evb-ddr3-v10-avb.dts
....@@ -4,37 +4,13 @@
44 */
55
66 /dts-v1/;
7
+#include "px30.dtsi"
8
+#include "px30-android.dtsi"
79 #include "px30-evb-ddr3-v10.dtsi"
810
911 / {
1012 model = "Rockchip PX30 evb ddr3 board";
1113 compatible = "rockchip,px30-evb-ddr3-v10-avb", "rockchip,px30";
12
-
13
- rk_headset: rk-headset {
14
- compatible = "rockchip_headset";
15
- headset_gpio = <&gpio2 RK_PB0 GPIO_ACTIVE_LOW>;
16
- pinctrl-names = "default";
17
- pinctrl-0 = <&hp_det>;
18
- io-channels = <&saradc 1>;
19
- };
20
-
21
- wireless-bluetooth {
22
- compatible = "bluetooth-platdata";
23
- clocks = <&rk809 1>;
24
- clock-names = "ext_clock";
25
- uart_rts_gpios = <&gpio1 RK_PC3 GPIO_ACTIVE_LOW>;
26
- pinctrl-names = "default","rts_gpio";
27
- pinctrl-0 = <&uart1_rts>;
28
- pinctrl-1 = <&uart1_rts_gpio>;
29
- BT,reset_gpio = <&gpio0 RK_PC1 GPIO_ACTIVE_HIGH>;
30
- BT,wake_gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>;
31
- BT,wake_host_irq = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>;
32
- status = "okay";
33
- };
34
-};
35
-
36
-&chosen {
37
- bootargs_ext = "androidboot.boot_devices=ff390000.dwmmc,ff3b0000.nandc";
3814 };
3915
4016 &dsi {
....@@ -292,27 +268,6 @@
292268 de-active = <0>;
293269 pixelclk-active = <0>;
294270 };
295
- };
296
- };
297
-};
298
-
299
-&gmac {
300
- phy-supply = <&vcc_phy>;
301
- clock_in_out = "input";
302
- assigned-clocks = <&cru SCLK_GMAC>;
303
- assigned-clock-parents = <&gmac_clkin>;
304
- pinctrl-names = "default";
305
- pinctrl-0 = <&rmii_pins &mac_refclk>;
306
- snps,reset-gpio = <&gpio2 13 GPIO_ACTIVE_LOW>;
307
- snps,reset-active-low;
308
- snps,reset-delays-us = <0 50000 50000>;
309
- status = "okay";
310
-};
311
-
312
-&pinctrl {
313
- headphone {
314
- hp_det: hp-det {
315
- rockchip,pins = <2 RK_PB0 RK_FUNC_GPIO &pcfg_pull_down>;
316271 };
317272 };
318273 };