1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (c) 2021 Rockchip Electronics Co. 3 * Copyright (c) 2021 Rockchip Electronics Co., Ltd. 4 */ 4 */ 5 5 6 &pinctrl { 6 &pinctrl { 7 /omit-if-no-ref/ 7 /omit-if-no-ref/ 8 pcfg_pull_up: pcfg-pull-up { 8 pcfg_pull_up: pcfg-pull-up { 9 bias-pull-up; 9 bias-pull-up; 10 }; 10 }; 11 11 12 /omit-if-no-ref/ 12 /omit-if-no-ref/ 13 pcfg_pull_down: pcfg-pull-down { 13 pcfg_pull_down: pcfg-pull-down { 14 bias-pull-down; 14 bias-pull-down; 15 }; 15 }; 16 16 17 /omit-if-no-ref/ 17 /omit-if-no-ref/ 18 pcfg_pull_none: pcfg-pull-none { 18 pcfg_pull_none: pcfg-pull-none { 19 bias-disable; 19 bias-disable; 20 }; 20 }; 21 21 22 /omit-if-no-ref/ 22 /omit-if-no-ref/ 23 pcfg_pull_none_drv_level_0: pcfg-pull- 23 pcfg_pull_none_drv_level_0: pcfg-pull-none-drv-level-0 { 24 bias-disable; 24 bias-disable; 25 drive-strength = <0>; 25 drive-strength = <0>; 26 }; 26 }; 27 27 28 /omit-if-no-ref/ 28 /omit-if-no-ref/ 29 pcfg_pull_none_drv_level_1: pcfg-pull- 29 pcfg_pull_none_drv_level_1: pcfg-pull-none-drv-level-1 { 30 bias-disable; 30 bias-disable; 31 drive-strength = <1>; 31 drive-strength = <1>; 32 }; 32 }; 33 33 34 /omit-if-no-ref/ 34 /omit-if-no-ref/ 35 pcfg_pull_none_drv_level_2: pcfg-pull- 35 pcfg_pull_none_drv_level_2: pcfg-pull-none-drv-level-2 { 36 bias-disable; 36 bias-disable; 37 drive-strength = <2>; 37 drive-strength = <2>; 38 }; 38 }; 39 39 40 /omit-if-no-ref/ 40 /omit-if-no-ref/ 41 pcfg_pull_none_drv_level_3: pcfg-pull- 41 pcfg_pull_none_drv_level_3: pcfg-pull-none-drv-level-3 { 42 bias-disable; 42 bias-disable; 43 drive-strength = <3>; 43 drive-strength = <3>; 44 }; 44 }; 45 45 46 /omit-if-no-ref/ 46 /omit-if-no-ref/ 47 pcfg_pull_none_drv_level_4: pcfg-pull- 47 pcfg_pull_none_drv_level_4: pcfg-pull-none-drv-level-4 { 48 bias-disable; 48 bias-disable; 49 drive-strength = <4>; 49 drive-strength = <4>; 50 }; 50 }; 51 51 52 /omit-if-no-ref/ 52 /omit-if-no-ref/ 53 pcfg_pull_none_drv_level_5: pcfg-pull- 53 pcfg_pull_none_drv_level_5: pcfg-pull-none-drv-level-5 { 54 bias-disable; 54 bias-disable; 55 drive-strength = <5>; 55 drive-strength = <5>; 56 }; 56 }; 57 57 58 /omit-if-no-ref/ 58 /omit-if-no-ref/ 59 pcfg_pull_none_drv_level_6: pcfg-pull- 59 pcfg_pull_none_drv_level_6: pcfg-pull-none-drv-level-6 { 60 bias-disable; 60 bias-disable; 61 drive-strength = <6>; 61 drive-strength = <6>; 62 }; 62 }; 63 63 64 /omit-if-no-ref/ 64 /omit-if-no-ref/ 65 pcfg_pull_none_drv_level_7: pcfg-pull- 65 pcfg_pull_none_drv_level_7: pcfg-pull-none-drv-level-7 { 66 bias-disable; 66 bias-disable; 67 drive-strength = <7>; 67 drive-strength = <7>; 68 }; 68 }; 69 69 70 /omit-if-no-ref/ 70 /omit-if-no-ref/ 71 pcfg_pull_none_drv_level_8: pcfg-pull- 71 pcfg_pull_none_drv_level_8: pcfg-pull-none-drv-level-8 { 72 bias-disable; 72 bias-disable; 73 drive-strength = <8>; 73 drive-strength = <8>; 74 }; 74 }; 75 75 76 /omit-if-no-ref/ 76 /omit-if-no-ref/ 77 pcfg_pull_none_drv_level_9: pcfg-pull- 77 pcfg_pull_none_drv_level_9: pcfg-pull-none-drv-level-9 { 78 bias-disable; 78 bias-disable; 79 drive-strength = <9>; 79 drive-strength = <9>; 80 }; 80 }; 81 81 82 /omit-if-no-ref/ 82 /omit-if-no-ref/ 83 pcfg_pull_none_drv_level_10: pcfg-pull 83 pcfg_pull_none_drv_level_10: pcfg-pull-none-drv-level-10 { 84 bias-disable; 84 bias-disable; 85 drive-strength = <10>; 85 drive-strength = <10>; 86 }; 86 }; 87 87 88 /omit-if-no-ref/ 88 /omit-if-no-ref/ 89 pcfg_pull_none_drv_level_11: pcfg-pull 89 pcfg_pull_none_drv_level_11: pcfg-pull-none-drv-level-11 { 90 bias-disable; 90 bias-disable; 91 drive-strength = <11>; 91 drive-strength = <11>; 92 }; 92 }; 93 93 94 /omit-if-no-ref/ 94 /omit-if-no-ref/ 95 pcfg_pull_none_drv_level_12: pcfg-pull 95 pcfg_pull_none_drv_level_12: pcfg-pull-none-drv-level-12 { 96 bias-disable; 96 bias-disable; 97 drive-strength = <12>; 97 drive-strength = <12>; 98 }; 98 }; 99 99 100 /omit-if-no-ref/ 100 /omit-if-no-ref/ 101 pcfg_pull_none_drv_level_13: pcfg-pull 101 pcfg_pull_none_drv_level_13: pcfg-pull-none-drv-level-13 { 102 bias-disable; 102 bias-disable; 103 drive-strength = <13>; 103 drive-strength = <13>; 104 }; 104 }; 105 105 106 /omit-if-no-ref/ 106 /omit-if-no-ref/ 107 pcfg_pull_none_drv_level_14: pcfg-pull 107 pcfg_pull_none_drv_level_14: pcfg-pull-none-drv-level-14 { 108 bias-disable; 108 bias-disable; 109 drive-strength = <14>; 109 drive-strength = <14>; 110 }; 110 }; 111 111 112 /omit-if-no-ref/ 112 /omit-if-no-ref/ 113 pcfg_pull_none_drv_level_15: pcfg-pull 113 pcfg_pull_none_drv_level_15: pcfg-pull-none-drv-level-15 { 114 bias-disable; 114 bias-disable; 115 drive-strength = <15>; 115 drive-strength = <15>; 116 }; 116 }; 117 117 118 /omit-if-no-ref/ 118 /omit-if-no-ref/ 119 pcfg_pull_up_drv_level_0: pcfg-pull-up 119 pcfg_pull_up_drv_level_0: pcfg-pull-up-drv-level-0 { 120 bias-pull-up; 120 bias-pull-up; 121 drive-strength = <0>; 121 drive-strength = <0>; 122 }; 122 }; 123 123 124 /omit-if-no-ref/ 124 /omit-if-no-ref/ 125 pcfg_pull_up_drv_level_1: pcfg-pull-up 125 pcfg_pull_up_drv_level_1: pcfg-pull-up-drv-level-1 { 126 bias-pull-up; 126 bias-pull-up; 127 drive-strength = <1>; 127 drive-strength = <1>; 128 }; 128 }; 129 129 130 /omit-if-no-ref/ 130 /omit-if-no-ref/ 131 pcfg_pull_up_drv_level_2: pcfg-pull-up 131 pcfg_pull_up_drv_level_2: pcfg-pull-up-drv-level-2 { 132 bias-pull-up; 132 bias-pull-up; 133 drive-strength = <2>; 133 drive-strength = <2>; 134 }; 134 }; 135 135 136 /omit-if-no-ref/ 136 /omit-if-no-ref/ 137 pcfg_pull_up_drv_level_3: pcfg-pull-up 137 pcfg_pull_up_drv_level_3: pcfg-pull-up-drv-level-3 { 138 bias-pull-up; 138 bias-pull-up; 139 drive-strength = <3>; 139 drive-strength = <3>; 140 }; 140 }; 141 141 142 /omit-if-no-ref/ 142 /omit-if-no-ref/ 143 pcfg_pull_up_drv_level_4: pcfg-pull-up 143 pcfg_pull_up_drv_level_4: pcfg-pull-up-drv-level-4 { 144 bias-pull-up; 144 bias-pull-up; 145 drive-strength = <4>; 145 drive-strength = <4>; 146 }; 146 }; 147 147 148 /omit-if-no-ref/ 148 /omit-if-no-ref/ 149 pcfg_pull_up_drv_level_5: pcfg-pull-up 149 pcfg_pull_up_drv_level_5: pcfg-pull-up-drv-level-5 { 150 bias-pull-up; 150 bias-pull-up; 151 drive-strength = <5>; 151 drive-strength = <5>; 152 }; 152 }; 153 153 154 /omit-if-no-ref/ 154 /omit-if-no-ref/ 155 pcfg_pull_up_drv_level_6: pcfg-pull-up 155 pcfg_pull_up_drv_level_6: pcfg-pull-up-drv-level-6 { 156 bias-pull-up; 156 bias-pull-up; 157 drive-strength = <6>; 157 drive-strength = <6>; 158 }; 158 }; 159 159 160 /omit-if-no-ref/ 160 /omit-if-no-ref/ 161 pcfg_pull_up_drv_level_7: pcfg-pull-up 161 pcfg_pull_up_drv_level_7: pcfg-pull-up-drv-level-7 { 162 bias-pull-up; 162 bias-pull-up; 163 drive-strength = <7>; 163 drive-strength = <7>; 164 }; 164 }; 165 165 166 /omit-if-no-ref/ 166 /omit-if-no-ref/ 167 pcfg_pull_up_drv_level_8: pcfg-pull-up 167 pcfg_pull_up_drv_level_8: pcfg-pull-up-drv-level-8 { 168 bias-pull-up; 168 bias-pull-up; 169 drive-strength = <8>; 169 drive-strength = <8>; 170 }; 170 }; 171 171 172 /omit-if-no-ref/ 172 /omit-if-no-ref/ 173 pcfg_pull_up_drv_level_9: pcfg-pull-up 173 pcfg_pull_up_drv_level_9: pcfg-pull-up-drv-level-9 { 174 bias-pull-up; 174 bias-pull-up; 175 drive-strength = <9>; 175 drive-strength = <9>; 176 }; 176 }; 177 177 178 /omit-if-no-ref/ 178 /omit-if-no-ref/ 179 pcfg_pull_up_drv_level_10: pcfg-pull-u 179 pcfg_pull_up_drv_level_10: pcfg-pull-up-drv-level-10 { 180 bias-pull-up; 180 bias-pull-up; 181 drive-strength = <10>; 181 drive-strength = <10>; 182 }; 182 }; 183 183 184 /omit-if-no-ref/ 184 /omit-if-no-ref/ 185 pcfg_pull_up_drv_level_11: pcfg-pull-u 185 pcfg_pull_up_drv_level_11: pcfg-pull-up-drv-level-11 { 186 bias-pull-up; 186 bias-pull-up; 187 drive-strength = <11>; 187 drive-strength = <11>; 188 }; 188 }; 189 189 190 /omit-if-no-ref/ 190 /omit-if-no-ref/ 191 pcfg_pull_up_drv_level_12: pcfg-pull-u 191 pcfg_pull_up_drv_level_12: pcfg-pull-up-drv-level-12 { 192 bias-pull-up; 192 bias-pull-up; 193 drive-strength = <12>; 193 drive-strength = <12>; 194 }; 194 }; 195 195 196 /omit-if-no-ref/ 196 /omit-if-no-ref/ 197 pcfg_pull_up_drv_level_13: pcfg-pull-u 197 pcfg_pull_up_drv_level_13: pcfg-pull-up-drv-level-13 { 198 bias-pull-up; 198 bias-pull-up; 199 drive-strength = <13>; 199 drive-strength = <13>; 200 }; 200 }; 201 201 202 /omit-if-no-ref/ 202 /omit-if-no-ref/ 203 pcfg_pull_up_drv_level_14: pcfg-pull-u 203 pcfg_pull_up_drv_level_14: pcfg-pull-up-drv-level-14 { 204 bias-pull-up; 204 bias-pull-up; 205 drive-strength = <14>; 205 drive-strength = <14>; 206 }; 206 }; 207 207 208 /omit-if-no-ref/ 208 /omit-if-no-ref/ 209 pcfg_pull_up_drv_level_15: pcfg-pull-u 209 pcfg_pull_up_drv_level_15: pcfg-pull-up-drv-level-15 { 210 bias-pull-up; 210 bias-pull-up; 211 drive-strength = <15>; 211 drive-strength = <15>; 212 }; 212 }; 213 213 214 /omit-if-no-ref/ 214 /omit-if-no-ref/ 215 pcfg_pull_down_drv_level_0: pcfg-pull- 215 pcfg_pull_down_drv_level_0: pcfg-pull-down-drv-level-0 { 216 bias-pull-down; 216 bias-pull-down; 217 drive-strength = <0>; 217 drive-strength = <0>; 218 }; 218 }; 219 219 220 /omit-if-no-ref/ 220 /omit-if-no-ref/ 221 pcfg_pull_down_drv_level_1: pcfg-pull- 221 pcfg_pull_down_drv_level_1: pcfg-pull-down-drv-level-1 { 222 bias-pull-down; 222 bias-pull-down; 223 drive-strength = <1>; 223 drive-strength = <1>; 224 }; 224 }; 225 225 226 /omit-if-no-ref/ 226 /omit-if-no-ref/ 227 pcfg_pull_down_drv_level_2: pcfg-pull- 227 pcfg_pull_down_drv_level_2: pcfg-pull-down-drv-level-2 { 228 bias-pull-down; 228 bias-pull-down; 229 drive-strength = <2>; 229 drive-strength = <2>; 230 }; 230 }; 231 231 232 /omit-if-no-ref/ 232 /omit-if-no-ref/ 233 pcfg_pull_down_drv_level_3: pcfg-pull- 233 pcfg_pull_down_drv_level_3: pcfg-pull-down-drv-level-3 { 234 bias-pull-down; 234 bias-pull-down; 235 drive-strength = <3>; 235 drive-strength = <3>; 236 }; 236 }; 237 237 238 /omit-if-no-ref/ 238 /omit-if-no-ref/ 239 pcfg_pull_down_drv_level_4: pcfg-pull- 239 pcfg_pull_down_drv_level_4: pcfg-pull-down-drv-level-4 { 240 bias-pull-down; 240 bias-pull-down; 241 drive-strength = <4>; 241 drive-strength = <4>; 242 }; 242 }; 243 243 244 /omit-if-no-ref/ 244 /omit-if-no-ref/ 245 pcfg_pull_down_drv_level_5: pcfg-pull- 245 pcfg_pull_down_drv_level_5: pcfg-pull-down-drv-level-5 { 246 bias-pull-down; 246 bias-pull-down; 247 drive-strength = <5>; 247 drive-strength = <5>; 248 }; 248 }; 249 249 250 /omit-if-no-ref/ 250 /omit-if-no-ref/ 251 pcfg_pull_down_drv_level_6: pcfg-pull- 251 pcfg_pull_down_drv_level_6: pcfg-pull-down-drv-level-6 { 252 bias-pull-down; 252 bias-pull-down; 253 drive-strength = <6>; 253 drive-strength = <6>; 254 }; 254 }; 255 255 256 /omit-if-no-ref/ 256 /omit-if-no-ref/ 257 pcfg_pull_down_drv_level_7: pcfg-pull- 257 pcfg_pull_down_drv_level_7: pcfg-pull-down-drv-level-7 { 258 bias-pull-down; 258 bias-pull-down; 259 drive-strength = <7>; 259 drive-strength = <7>; 260 }; 260 }; 261 261 262 /omit-if-no-ref/ 262 /omit-if-no-ref/ 263 pcfg_pull_down_drv_level_8: pcfg-pull- 263 pcfg_pull_down_drv_level_8: pcfg-pull-down-drv-level-8 { 264 bias-pull-down; 264 bias-pull-down; 265 drive-strength = <8>; 265 drive-strength = <8>; 266 }; 266 }; 267 267 268 /omit-if-no-ref/ 268 /omit-if-no-ref/ 269 pcfg_pull_down_drv_level_9: pcfg-pull- 269 pcfg_pull_down_drv_level_9: pcfg-pull-down-drv-level-9 { 270 bias-pull-down; 270 bias-pull-down; 271 drive-strength = <9>; 271 drive-strength = <9>; 272 }; 272 }; 273 273 274 /omit-if-no-ref/ 274 /omit-if-no-ref/ 275 pcfg_pull_down_drv_level_10: pcfg-pull 275 pcfg_pull_down_drv_level_10: pcfg-pull-down-drv-level-10 { 276 bias-pull-down; 276 bias-pull-down; 277 drive-strength = <10>; 277 drive-strength = <10>; 278 }; 278 }; 279 279 280 /omit-if-no-ref/ 280 /omit-if-no-ref/ 281 pcfg_pull_down_drv_level_11: pcfg-pull 281 pcfg_pull_down_drv_level_11: pcfg-pull-down-drv-level-11 { 282 bias-pull-down; 282 bias-pull-down; 283 drive-strength = <11>; 283 drive-strength = <11>; 284 }; 284 }; 285 285 286 /omit-if-no-ref/ 286 /omit-if-no-ref/ 287 pcfg_pull_down_drv_level_12: pcfg-pull 287 pcfg_pull_down_drv_level_12: pcfg-pull-down-drv-level-12 { 288 bias-pull-down; 288 bias-pull-down; 289 drive-strength = <12>; 289 drive-strength = <12>; 290 }; 290 }; 291 291 292 /omit-if-no-ref/ 292 /omit-if-no-ref/ 293 pcfg_pull_down_drv_level_13: pcfg-pull 293 pcfg_pull_down_drv_level_13: pcfg-pull-down-drv-level-13 { 294 bias-pull-down; 294 bias-pull-down; 295 drive-strength = <13>; 295 drive-strength = <13>; 296 }; 296 }; 297 297 298 /omit-if-no-ref/ 298 /omit-if-no-ref/ 299 pcfg_pull_down_drv_level_14: pcfg-pull 299 pcfg_pull_down_drv_level_14: pcfg-pull-down-drv-level-14 { 300 bias-pull-down; 300 bias-pull-down; 301 drive-strength = <14>; 301 drive-strength = <14>; 302 }; 302 }; 303 303 304 /omit-if-no-ref/ 304 /omit-if-no-ref/ 305 pcfg_pull_down_drv_level_15: pcfg-pull 305 pcfg_pull_down_drv_level_15: pcfg-pull-down-drv-level-15 { 306 bias-pull-down; 306 bias-pull-down; 307 drive-strength = <15>; 307 drive-strength = <15>; 308 }; 308 }; 309 309 310 /omit-if-no-ref/ 310 /omit-if-no-ref/ 311 pcfg_pull_up_smt: pcfg-pull-up-smt { 311 pcfg_pull_up_smt: pcfg-pull-up-smt { 312 bias-pull-up; 312 bias-pull-up; 313 input-schmitt-enable; 313 input-schmitt-enable; 314 }; 314 }; 315 315 316 /omit-if-no-ref/ 316 /omit-if-no-ref/ 317 pcfg_pull_down_smt: pcfg-pull-down-smt 317 pcfg_pull_down_smt: pcfg-pull-down-smt { 318 bias-pull-down; 318 bias-pull-down; 319 input-schmitt-enable; 319 input-schmitt-enable; 320 }; 320 }; 321 321 322 /omit-if-no-ref/ 322 /omit-if-no-ref/ 323 pcfg_pull_none_smt: pcfg-pull-none-smt 323 pcfg_pull_none_smt: pcfg-pull-none-smt { 324 bias-disable; 324 bias-disable; 325 input-schmitt-enable; 325 input-schmitt-enable; 326 }; 326 }; 327 327 328 /omit-if-no-ref/ 328 /omit-if-no-ref/ 329 pcfg_pull_none_drv_level_0_smt: pcfg-p 329 pcfg_pull_none_drv_level_0_smt: pcfg-pull-none-drv-level-0-smt { 330 bias-disable; 330 bias-disable; 331 drive-strength = <0>; 331 drive-strength = <0>; 332 input-schmitt-enable; 332 input-schmitt-enable; 333 }; 333 }; 334 334 335 /omit-if-no-ref/ 335 /omit-if-no-ref/ 336 pcfg_output_high: pcfg-output-high { 336 pcfg_output_high: pcfg-output-high { 337 output-high; 337 output-high; 338 }; 338 }; 339 339 340 /omit-if-no-ref/ 340 /omit-if-no-ref/ 341 pcfg_output_low: pcfg-output-low { 341 pcfg_output_low: pcfg-output-low { 342 output-low; 342 output-low; 343 }; 343 }; 344 }; 344 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.