hc
2023-10-12 3124110e504ba82e43686669ed7188bcdbe72744
add do1-do7 di1 procfs
1 files modified
42 ■■■■■ changed files
kernel/arch/arm64/boot/dts/rockchip/NK-R36S0.dtsi 42 ●●●●● patch | view | raw | blame | history
kernel/arch/arm64/boot/dts/rockchip/NK-R36S0.dtsi
....@@ -145,6 +145,46 @@
145145 gpio_num = <&gpio3 RK_PC6 GPIO_ACTIVE_HIGH>; //WIFI_PWREN_GPIO3_C6_1V8
146146 gpio_function = <0>;
147147 };
148
+
149
+ do1 {
150
+ gpio_num = <&gpio1 RK_PD0 GPIO_ACTIVE_LOW>;
151
+ gpio_function = <0>;
152
+ };
153
+
154
+ do2 {
155
+ gpio_num = <&gpio1 RK_PD2 GPIO_ACTIVE_HIGH>;
156
+ gpio_function = <0>;
157
+ };
158
+
159
+ do3 {
160
+ gpio_num = <&gpio1 RK_PD1 GPIO_ACTIVE_HIGH>;
161
+ gpio_function = <0>;
162
+ };
163
+
164
+ do4 {
165
+ gpio_num = <&gpio1 RK_PD3 GPIO_ACTIVE_HIGH>;
166
+ gpio_function = <0>;
167
+ };
168
+
169
+ do5 {
170
+ gpio_num = <&gpio2 RK_PD6 GPIO_ACTIVE_LOW>;
171
+ gpio_function = <0>;
172
+ };
173
+
174
+ do6 {
175
+ gpio_num = <&gpio2 RK_PD7 GPIO_ACTIVE_LOW>;
176
+ gpio_function = <0>;
177
+ };
178
+
179
+ do7 {
180
+ gpio_num = <&gpio3 RK_PA0 GPIO_ACTIVE_LOW>;
181
+ gpio_function = <0>;
182
+ };
183
+
184
+ di1 {
185
+ gpio_num = <&gpio2 RK_PD5 GPIO_ACTIVE_HIGH>;
186
+ gpio_function = <1>;
187
+ };
148188 };
149189 #if 0
150190 nk_io_init {
....@@ -633,7 +673,7 @@
633673 <4 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>,
634674 <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>,
635675 <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>,
636
- <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>,
676
+ <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>,
637677 <1 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>,
638678 <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>,
639679 <3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>,