|
262 | 262 | ngpios = <8>;
|
263 | 263 | };
|
264 | 264 | };
|
| 265 | + |
| 266 | + test_i2c_rt1718s: rt1718s@f { |
| 267 | + compatible = "richtek,rt1718s"; |
| 268 | + reg = <0xf>; |
| 269 | + irq-gpios = <&test_gpio 1 0>; |
| 270 | + |
| 271 | + rt1718s_gpio_port0: rt1718s_gpio { |
| 272 | + compatible = "richtek,rt1718s-gpio-port"; |
| 273 | + |
| 274 | + gpio-controller; |
| 275 | + #gpio-cells = <2>; |
| 276 | + ngpios = <3>; |
| 277 | + }; |
| 278 | + }; |
| 279 | + |
| 280 | + test_i2c_stmpe1600: stmpe1600@10 { |
| 281 | + compatible = "st,stmpe1600"; |
| 282 | + reg = <0x10>; |
| 283 | + ngpios = <16>; |
| 284 | + gpio-controller; |
| 285 | + #gpio-cells = <2>; |
| 286 | + }; |
| 287 | + |
| 288 | + test_i2c_adp5585: adp5585@11 { |
| 289 | + compatible = "adi,adp5585"; |
| 290 | + reg = <0x11>; |
| 291 | + status = "okay"; |
| 292 | + |
| 293 | + adp_5585_gpio0: adp5585_gpio { |
| 294 | + compatible = "adi,adp5585-gpio"; |
| 295 | + gpio-controller; |
| 296 | + #gpio-cells = <2>; |
| 297 | + ngpios = <13>; |
| 298 | + gpio-reserved-ranges = <5 3>; |
| 299 | + status = "okay"; |
| 300 | + }; |
| 301 | + }; |
| 302 | + |
| 303 | + test_i2c_npm6001: pmic@12 { |
| 304 | + compatible = "nordic,npm6001"; |
| 305 | + reg = <0x12>; |
| 306 | + |
| 307 | + npm6001_ek_gpio: gpio-controller { |
| 308 | + compatible = "nordic,npm6001-gpio"; |
| 309 | + gpio-controller; |
| 310 | + #gpio-cells = <2>; |
| 311 | + ngpios = <3>; |
| 312 | + }; |
| 313 | + }; |
| 314 | + |
| 315 | + test_i2c_cy8c95xx: cy8c95xx@13 { |
| 316 | + compatible = "cypress,cy8c95xx-gpio"; |
| 317 | + reg = <0x13>; |
| 318 | + ranges; |
| 319 | + #address-cells = <1>; |
| 320 | + #size-cells = <0>; |
| 321 | + |
| 322 | + cy8c95xx_port0: cy8c95xx_port@0 { |
| 323 | + compatible = "cypress,cy8c95xx-gpio-port"; |
| 324 | + reg = <0x00>; |
| 325 | + gpio-controller; |
| 326 | + #gpio-cells = <2>; |
| 327 | + ngpios = <8>; |
| 328 | + status = "okay"; |
| 329 | + }; |
| 330 | + |
| 331 | + cy8c95xx_port1: cy8c95xx_port@1 { |
| 332 | + compatible = "cypress,cy8c95xx-gpio-port"; |
| 333 | + reg = <0x01>; |
| 334 | + gpio-controller; |
| 335 | + #gpio-cells = <2>; |
| 336 | + ngpios = <8>; |
| 337 | + status = "okay"; |
| 338 | + }; |
| 339 | + }; |
| 340 | + |
265 | 341 | };
|
266 | 342 |
|
267 | 343 | nct3807_alert_1 {
|
268 | 344 | compatible = "nuvoton,nct38xx-gpio-alert";
|
269 |
| - irq-gpios = <&test_gpio 0 0>; |
| 345 | + irq-gpios = <&test_gpio 0 0>; |
270 | 346 | nct38xx-dev = <&test_i2c_nct3808_p1 &test_i2c_nct3808_p2>;
|
271 | 347 | };
|
272 | 348 |
|
|
283 | 359 | &test_gpio 0 0
|
284 | 360 | &test_gpio 0 0
|
285 | 361 | &test_gpio 0 0
|
| 362 | + &test_gpio 0 0 |
286 | 363 | &test_gpio 0 0>;
|
287 | 364 |
|
288 | 365 | test_spi_mcp23s17: mcp23s17@0 {
|
|
351 | 428 | ngpios = <4>;
|
352 | 429 | };
|
353 | 430 | };
|
| 431 | + |
| 432 | + test_spi_sn74hc595: sn74hc595@5 { |
| 433 | + compatible = "ti,sn74hc595"; |
| 434 | + status = "okay"; |
| 435 | + spi-max-frequency = <0>; |
| 436 | + reg = <0x05>; |
| 437 | + |
| 438 | + gpio-controller; |
| 439 | + reset-gpios = <&test_gpio 0 0>; |
| 440 | + ngpios = <8>; |
| 441 | + #gpio-cells = <2>; |
| 442 | + }; |
354 | 443 | };
|
355 | 444 | };
|
356 | 445 | };
|
0 commit comments