hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/arch/arm64/boot/dts/rockchip/rk3588-vehicle-evb-v20.dts
....@@ -19,7 +19,7 @@
1919 bt-sound {
2020 compatible = "simple-audio-card";
2121 simple-audio-card,format = "dsp_a";
22
- simple-audio-card,bitclock-inversion = <1>;
22
+ simple-audio-card,bitclock-inversion;
2323 simple-audio-card,mclk-fs = <256>;
2424 simple-audio-card,name = "rockchip,bt";
2525 simple-audio-card,cpu {
....@@ -86,6 +86,77 @@
8686 status = "okay";
8787 };
8888
89
+&pinctrl {
90
+
91
+ bl {
92
+ bl0_enable_pin: bl0-enable-pin {
93
+ rockchip,pins =
94
+ <1 RK_PA7 RK_FUNC_GPIO &pcfg_pull_none>,
95
+ <4 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>,
96
+ <4 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
97
+
98
+ };
99
+
100
+ bl1_enable_pin: bl1-enable-pin {
101
+ rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
102
+ };
103
+
104
+ bl2_enable_pin: bl2-enable-pin {
105
+ rockchip,pins = <3 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>;
106
+ };
107
+
108
+ bl3_enable_pin: bl3-enable-pin {
109
+ rockchip,pins = <3 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
110
+ };
111
+
112
+ bl4_enable_pin: bl4-enable-pin {
113
+ rockchip,pins = <0 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
114
+ };
115
+
116
+ bl5_enable_pin: bl5-enable-pin {
117
+ rockchip,pins = <1 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
118
+ };
119
+ };
120
+
121
+ serdes {
122
+ //dsi0
123
+ ser0_rst_pin: ser0-rst-pin {
124
+ rockchip,pins = <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
125
+ };
126
+
127
+ //dsi1
128
+ ser1_rst_pin: ser1-rst-pin {
129
+ rockchip,pins = <1 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
130
+ };
131
+ };
132
+
133
+ touch {
134
+ //dsi0-i2c2
135
+ touch_gpio_dsi0: touch-gpio-dsi0 {
136
+ rockchip,pins =
137
+ <1 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>; //rst
138
+ };
139
+ //dsi1-i2c6
140
+ touch_gpio_dsi1: touch-gpio-dsi1 {
141
+ rockchip,pins =
142
+ <1 RK_PB7 RK_FUNC_GPIO &pcfg_pull_up>, //rst
143
+ <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>; //int
144
+ };
145
+ //dp0-i2c4
146
+ touch_gpio_dp0: touch-gpio-dp0 {
147
+ rockchip,pins =
148
+ <3 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>, //rst
149
+ <0 RK_PC0 RK_FUNC_GPIO &pcfg_pull_up>; //int
150
+ };
151
+ //edp0-i2c5
152
+ touch_gpio_edp0: touch-gpio-edp0 {
153
+ rockchip,pins =
154
+ <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_up>, //rst
155
+ <0 RK_PD1 RK_FUNC_GPIO &pcfg_pull_up>; //int
156
+ };
157
+ };
158
+};
159
+
89160 &rockchip_suspend {
90161 rockchip,sleep-mode-config = <
91162 (0