| .. | .. |
|---|
| 42 | 42 | * OTHER DEALINGS IN THE SOFTWARE. |
|---|
| 43 | 43 | */ |
|---|
| 44 | 44 | |
|---|
| 45 | | -#include "skeleton.dtsi" |
|---|
| 46 | | - |
|---|
| 47 | 45 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
|---|
| 48 | 46 | |
|---|
| 49 | 47 | #include <dt-bindings/clock/sun8i-a23-a33-ccu.h> |
|---|
| .. | .. |
|---|
| 51 | 49 | |
|---|
| 52 | 50 | / { |
|---|
| 53 | 51 | interrupt-parent = <&gic>; |
|---|
| 52 | + #address-cells = <1>; |
|---|
| 53 | + #size-cells = <1>; |
|---|
| 54 | 54 | |
|---|
| 55 | 55 | chosen { |
|---|
| 56 | 56 | #address-cells = <1>; |
|---|
| 57 | 57 | #size-cells = <1>; |
|---|
| 58 | 58 | ranges; |
|---|
| 59 | 59 | |
|---|
| 60 | | - simplefb_lcd: framebuffer@0 { |
|---|
| 60 | + simplefb_lcd: framebuffer-lcd0 { |
|---|
| 61 | 61 | compatible = "allwinner,simple-framebuffer", |
|---|
| 62 | 62 | "simple-framebuffer"; |
|---|
| 63 | 63 | allwinner,pipeline = "de_be0-lcd0"; |
|---|
| .. | .. |
|---|
| 66 | 66 | <&ccu CLK_DRAM_DE_BE>, <&ccu CLK_DRC>; |
|---|
| 67 | 67 | status = "disabled"; |
|---|
| 68 | 68 | }; |
|---|
| 69 | + }; |
|---|
| 70 | + |
|---|
| 71 | + de: display-engine { |
|---|
| 72 | + /* compatible gets set in SoC specific dtsi file */ |
|---|
| 73 | + allwinner,pipelines = <&fe0>; |
|---|
| 74 | + status = "disabled"; |
|---|
| 69 | 75 | }; |
|---|
| 70 | 76 | |
|---|
| 71 | 77 | timer { |
|---|
| .. | .. |
|---|
| 118 | 124 | }; |
|---|
| 119 | 125 | }; |
|---|
| 120 | 126 | |
|---|
| 121 | | - soc@1c00000 { |
|---|
| 127 | + soc { |
|---|
| 122 | 128 | compatible = "simple-bus"; |
|---|
| 123 | 129 | #address-cells = <1>; |
|---|
| 124 | 130 | #size-cells = <1>; |
|---|
| .. | .. |
|---|
| 155 | 161 | #dma-cells = <1>; |
|---|
| 156 | 162 | }; |
|---|
| 157 | 163 | |
|---|
| 158 | | - nfc: nand@1c03000 { |
|---|
| 159 | | - compatible = "allwinner,sun4i-a10-nand"; |
|---|
| 164 | + nfc: nand-controller@1c03000 { |
|---|
| 165 | + compatible = "allwinner,sun8i-a23-nand-controller"; |
|---|
| 160 | 166 | reg = <0x01c03000 0x1000>; |
|---|
| 161 | 167 | interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 162 | 168 | clocks = <&ccu CLK_BUS_NAND>, <&ccu CLK_NAND>; |
|---|
| 163 | 169 | clock-names = "ahb", "mod"; |
|---|
| 164 | 170 | resets = <&ccu RST_BUS_NAND>; |
|---|
| 165 | 171 | reset-names = "ahb"; |
|---|
| 172 | + dmas = <&dma 5>; |
|---|
| 173 | + dma-names = "rxtx"; |
|---|
| 166 | 174 | pinctrl-names = "default"; |
|---|
| 167 | | - pinctrl-0 = <&nand_pins &nand_pins_cs0 &nand_pins_rb0>; |
|---|
| 175 | + pinctrl-0 = <&nand_pins &nand_cs0_pin &nand_rb0_pin>; |
|---|
| 168 | 176 | status = "disabled"; |
|---|
| 169 | 177 | #address-cells = <1>; |
|---|
| 170 | 178 | #size-cells = <0>; |
|---|
| 179 | + }; |
|---|
| 180 | + |
|---|
| 181 | + tcon0: lcd-controller@1c0c000 { |
|---|
| 182 | + /* compatible gets set in SoC specific dtsi file */ |
|---|
| 183 | + reg = <0x01c0c000 0x1000>; |
|---|
| 184 | + interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 185 | + dmas = <&dma 12>; |
|---|
| 186 | + clocks = <&ccu CLK_BUS_LCD>, |
|---|
| 187 | + <&ccu CLK_LCD_CH0>, |
|---|
| 188 | + <&ccu 13>; |
|---|
| 189 | + clock-names = "ahb", |
|---|
| 190 | + "tcon-ch0", |
|---|
| 191 | + "lvds-alt"; |
|---|
| 192 | + clock-output-names = "tcon-pixel-clock"; |
|---|
| 193 | + #clock-cells = <0>; |
|---|
| 194 | + resets = <&ccu RST_BUS_LCD>, |
|---|
| 195 | + <&ccu RST_BUS_LVDS>; |
|---|
| 196 | + reset-names = "lcd", |
|---|
| 197 | + "lvds"; |
|---|
| 198 | + status = "disabled"; |
|---|
| 199 | + |
|---|
| 200 | + ports { |
|---|
| 201 | + #address-cells = <1>; |
|---|
| 202 | + #size-cells = <0>; |
|---|
| 203 | + |
|---|
| 204 | + tcon0_in: port@0 { |
|---|
| 205 | + reg = <0>; |
|---|
| 206 | + |
|---|
| 207 | + tcon0_in_drc0: endpoint { |
|---|
| 208 | + remote-endpoint = <&drc0_out_tcon0>; |
|---|
| 209 | + }; |
|---|
| 210 | + }; |
|---|
| 211 | + |
|---|
| 212 | + tcon0_out: port@1 { |
|---|
| 213 | + reg = <1>; |
|---|
| 214 | + }; |
|---|
| 215 | + }; |
|---|
| 171 | 216 | }; |
|---|
| 172 | 217 | |
|---|
| 173 | 218 | mmc0: mmc@1c0f000 { |
|---|
| .. | .. |
|---|
| 184 | 229 | resets = <&ccu RST_BUS_MMC0>; |
|---|
| 185 | 230 | reset-names = "ahb"; |
|---|
| 186 | 231 | interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 232 | + pinctrl-names = "default"; |
|---|
| 233 | + pinctrl-0 = <&mmc0_pins>; |
|---|
| 187 | 234 | status = "disabled"; |
|---|
| 188 | 235 | #address-cells = <1>; |
|---|
| 189 | 236 | #size-cells = <0>; |
|---|
| .. | .. |
|---|
| 237 | 284 | phys = <&usbphy 0>; |
|---|
| 238 | 285 | phy-names = "usb"; |
|---|
| 239 | 286 | extcon = <&usbphy 0>; |
|---|
| 287 | + dr_mode = "otg"; |
|---|
| 240 | 288 | status = "disabled"; |
|---|
| 241 | 289 | }; |
|---|
| 242 | 290 | |
|---|
| .. | .. |
|---|
| 298 | 346 | #interrupt-cells = <3>; |
|---|
| 299 | 347 | #gpio-cells = <3>; |
|---|
| 300 | 348 | |
|---|
| 301 | | - uart0_pins_a: uart0@0 { |
|---|
| 302 | | - pins = "PF2", "PF4"; |
|---|
| 303 | | - function = "uart0"; |
|---|
| 349 | + i2c0_pins: i2c0-pins { |
|---|
| 350 | + pins = "PH2", "PH3"; |
|---|
| 351 | + function = "i2c0"; |
|---|
| 304 | 352 | }; |
|---|
| 305 | 353 | |
|---|
| 306 | | - uart1_pins_a: uart1@0 { |
|---|
| 307 | | - pins = "PG6", "PG7"; |
|---|
| 308 | | - function = "uart1"; |
|---|
| 354 | + i2c1_pins: i2c1-pins { |
|---|
| 355 | + pins = "PH4", "PH5"; |
|---|
| 356 | + function = "i2c1"; |
|---|
| 309 | 357 | }; |
|---|
| 310 | 358 | |
|---|
| 311 | | - uart1_pins_cts_rts_a: uart1-cts-rts@0 { |
|---|
| 312 | | - pins = "PG8", "PG9"; |
|---|
| 313 | | - function = "uart1"; |
|---|
| 359 | + i2c2_pins: i2c2-pins { |
|---|
| 360 | + pins = "PE12", "PE13"; |
|---|
| 361 | + function = "i2c2"; |
|---|
| 314 | 362 | }; |
|---|
| 315 | 363 | |
|---|
| 316 | | - mmc0_pins_a: mmc0@0 { |
|---|
| 364 | + lcd_rgb666_pins: lcd-rgb666-pins { |
|---|
| 365 | + pins = "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", |
|---|
| 366 | + "PD10", "PD11", "PD12", "PD13", "PD14", "PD15", |
|---|
| 367 | + "PD18", "PD19", "PD20", "PD21", "PD22", "PD23", |
|---|
| 368 | + "PD24", "PD25", "PD26", "PD27"; |
|---|
| 369 | + function = "lcd0"; |
|---|
| 370 | + }; |
|---|
| 371 | + |
|---|
| 372 | + mmc0_pins: mmc0-pins { |
|---|
| 317 | 373 | pins = "PF0", "PF1", "PF2", |
|---|
| 318 | 374 | "PF3", "PF4", "PF5"; |
|---|
| 319 | 375 | function = "mmc0"; |
|---|
| .. | .. |
|---|
| 321 | 377 | bias-pull-up; |
|---|
| 322 | 378 | }; |
|---|
| 323 | 379 | |
|---|
| 324 | | - mmc1_pins_a: mmc1@0 { |
|---|
| 380 | + mmc1_pg_pins: mmc1-pg-pins { |
|---|
| 325 | 381 | pins = "PG0", "PG1", "PG2", |
|---|
| 326 | 382 | "PG3", "PG4", "PG5"; |
|---|
| 327 | 383 | function = "mmc1"; |
|---|
| .. | .. |
|---|
| 329 | 385 | bias-pull-up; |
|---|
| 330 | 386 | }; |
|---|
| 331 | 387 | |
|---|
| 332 | | - mmc2_8bit_pins: mmc2_8bit { |
|---|
| 388 | + mmc2_8bit_pins: mmc2-8bit-pins { |
|---|
| 333 | 389 | pins = "PC5", "PC6", "PC8", |
|---|
| 334 | 390 | "PC9", "PC10", "PC11", |
|---|
| 335 | 391 | "PC12", "PC13", "PC14", |
|---|
| .. | .. |
|---|
| 346 | 402 | function = "nand0"; |
|---|
| 347 | 403 | }; |
|---|
| 348 | 404 | |
|---|
| 349 | | - nand_pins_cs0: nand-pins-cs0 { |
|---|
| 405 | + nand_cs0_pin: nand-cs0-pin { |
|---|
| 350 | 406 | pins = "PC4"; |
|---|
| 351 | 407 | function = "nand0"; |
|---|
| 352 | 408 | bias-pull-up; |
|---|
| 353 | 409 | }; |
|---|
| 354 | 410 | |
|---|
| 355 | | - nand_pins_cs1: nand-pins-cs1 { |
|---|
| 411 | + nand_cs1_pin: nand-cs1-pin { |
|---|
| 356 | 412 | pins = "PC3"; |
|---|
| 357 | 413 | function = "nand0"; |
|---|
| 358 | 414 | bias-pull-up; |
|---|
| 359 | 415 | }; |
|---|
| 360 | 416 | |
|---|
| 361 | | - nand_pins_rb0: nand-pins-rb0 { |
|---|
| 417 | + nand_rb0_pin: nand-rb0-pin { |
|---|
| 362 | 418 | pins = "PC6"; |
|---|
| 363 | 419 | function = "nand0"; |
|---|
| 364 | 420 | bias-pull-up; |
|---|
| 365 | 421 | }; |
|---|
| 366 | 422 | |
|---|
| 367 | | - nand_pins_rb1: nand-pins-rb1 { |
|---|
| 423 | + nand_rb1_pin: nand-rb1-pin { |
|---|
| 368 | 424 | pins = "PC7"; |
|---|
| 369 | 425 | function = "nand0"; |
|---|
| 370 | 426 | bias-pull-up; |
|---|
| 371 | 427 | }; |
|---|
| 372 | 428 | |
|---|
| 373 | | - pwm0_pins: pwm0 { |
|---|
| 429 | + pwm0_pin: pwm0-pin { |
|---|
| 374 | 430 | pins = "PH0"; |
|---|
| 375 | 431 | function = "pwm0"; |
|---|
| 376 | 432 | }; |
|---|
| 377 | 433 | |
|---|
| 378 | | - i2c0_pins_a: i2c0@0 { |
|---|
| 379 | | - pins = "PH2", "PH3"; |
|---|
| 380 | | - function = "i2c0"; |
|---|
| 434 | + uart0_pf_pins: uart0-pf-pins { |
|---|
| 435 | + pins = "PF2", "PF4"; |
|---|
| 436 | + function = "uart0"; |
|---|
| 381 | 437 | }; |
|---|
| 382 | 438 | |
|---|
| 383 | | - i2c1_pins_a: i2c1@0 { |
|---|
| 384 | | - pins = "PH4", "PH5"; |
|---|
| 385 | | - function = "i2c1"; |
|---|
| 439 | + uart1_pg_pins: uart1-pg-pins { |
|---|
| 440 | + pins = "PG6", "PG7"; |
|---|
| 441 | + function = "uart1"; |
|---|
| 386 | 442 | }; |
|---|
| 387 | 443 | |
|---|
| 388 | | - i2c2_pins_a: i2c2@0 { |
|---|
| 389 | | - pins = "PE12", "PE13"; |
|---|
| 390 | | - function = "i2c2"; |
|---|
| 391 | | - }; |
|---|
| 392 | | - |
|---|
| 393 | | - lcd_rgb666_pins: lcd-rgb666@0 { |
|---|
| 394 | | - pins = "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", |
|---|
| 395 | | - "PD10", "PD11", "PD12", "PD13", "PD14", "PD15", |
|---|
| 396 | | - "PD18", "PD19", "PD20", "PD21", "PD22", "PD23", |
|---|
| 397 | | - "PD24", "PD25", "PD26", "PD27"; |
|---|
| 398 | | - function = "lcd0"; |
|---|
| 444 | + uart1_cts_rts_pg_pins: uart1-cts-rts-pg-pins { |
|---|
| 445 | + pins = "PG8", "PG9"; |
|---|
| 446 | + function = "uart1"; |
|---|
| 399 | 447 | }; |
|---|
| 400 | 448 | }; |
|---|
| 401 | 449 | |
|---|
| 402 | 450 | timer@1c20c00 { |
|---|
| 403 | | - compatible = "allwinner,sun4i-a10-timer"; |
|---|
| 451 | + compatible = "allwinner,sun8i-a23-timer"; |
|---|
| 404 | 452 | reg = <0x01c20c00 0xa0>; |
|---|
| 405 | 453 | interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 406 | 454 | <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| .. | .. |
|---|
| 411 | 459 | compatible = "allwinner,sun6i-a31-wdt"; |
|---|
| 412 | 460 | reg = <0x01c20ca0 0x20>; |
|---|
| 413 | 461 | interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 462 | + clocks = <&osc24M>; |
|---|
| 414 | 463 | }; |
|---|
| 415 | 464 | |
|---|
| 416 | 465 | pwm: pwm@1c21400 { |
|---|
| .. | .. |
|---|
| 499 | 548 | interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 500 | 549 | clocks = <&ccu CLK_BUS_I2C0>; |
|---|
| 501 | 550 | resets = <&ccu RST_BUS_I2C0>; |
|---|
| 551 | + pinctrl-names = "default"; |
|---|
| 552 | + pinctrl-0 = <&i2c0_pins>; |
|---|
| 502 | 553 | status = "disabled"; |
|---|
| 503 | 554 | #address-cells = <1>; |
|---|
| 504 | 555 | #size-cells = <0>; |
|---|
| .. | .. |
|---|
| 510 | 561 | interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 511 | 562 | clocks = <&ccu CLK_BUS_I2C1>; |
|---|
| 512 | 563 | resets = <&ccu RST_BUS_I2C1>; |
|---|
| 564 | + pinctrl-names = "default"; |
|---|
| 565 | + pinctrl-0 = <&i2c1_pins>; |
|---|
| 513 | 566 | status = "disabled"; |
|---|
| 514 | 567 | #address-cells = <1>; |
|---|
| 515 | 568 | #size-cells = <0>; |
|---|
| .. | .. |
|---|
| 521 | 574 | interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 522 | 575 | clocks = <&ccu CLK_BUS_I2C2>; |
|---|
| 523 | 576 | resets = <&ccu RST_BUS_I2C2>; |
|---|
| 577 | + pinctrl-names = "default"; |
|---|
| 578 | + pinctrl-0 = <&i2c2_pins>; |
|---|
| 524 | 579 | status = "disabled"; |
|---|
| 525 | 580 | #address-cells = <1>; |
|---|
| 526 | 581 | #size-cells = <0>; |
|---|
| .. | .. |
|---|
| 554 | 609 | }; |
|---|
| 555 | 610 | |
|---|
| 556 | 611 | gic: interrupt-controller@1c81000 { |
|---|
| 557 | | - compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic"; |
|---|
| 612 | + compatible = "arm,gic-400"; |
|---|
| 558 | 613 | reg = <0x01c81000 0x1000>, |
|---|
| 559 | 614 | <0x01c82000 0x2000>, |
|---|
| 560 | 615 | <0x01c84000 0x2000>, |
|---|
| .. | .. |
|---|
| 564 | 619 | interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; |
|---|
| 565 | 620 | }; |
|---|
| 566 | 621 | |
|---|
| 622 | + fe0: display-frontend@1e00000 { |
|---|
| 623 | + /* compatible gets set in SoC specific dtsi file */ |
|---|
| 624 | + reg = <0x01e00000 0x20000>; |
|---|
| 625 | + interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 626 | + clocks = <&ccu CLK_BUS_DE_FE>, <&ccu CLK_DE_FE>, |
|---|
| 627 | + <&ccu CLK_DRAM_DE_FE>; |
|---|
| 628 | + clock-names = "ahb", "mod", |
|---|
| 629 | + "ram"; |
|---|
| 630 | + resets = <&ccu RST_BUS_DE_FE>; |
|---|
| 631 | + |
|---|
| 632 | + ports { |
|---|
| 633 | + #address-cells = <1>; |
|---|
| 634 | + #size-cells = <0>; |
|---|
| 635 | + |
|---|
| 636 | + fe0_out: port@1 { |
|---|
| 637 | + reg = <1>; |
|---|
| 638 | + |
|---|
| 639 | + fe0_out_be0: endpoint { |
|---|
| 640 | + remote-endpoint = <&be0_in_fe0>; |
|---|
| 641 | + }; |
|---|
| 642 | + }; |
|---|
| 643 | + }; |
|---|
| 644 | + }; |
|---|
| 645 | + |
|---|
| 646 | + be0: display-backend@1e60000 { |
|---|
| 647 | + /* compatible gets set in SoC specific dtsi file */ |
|---|
| 648 | + reg = <0x01e60000 0x10000>; |
|---|
| 649 | + interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 650 | + clocks = <&ccu CLK_BUS_DE_BE>, <&ccu CLK_DE_BE>, |
|---|
| 651 | + <&ccu CLK_DRAM_DE_BE>; |
|---|
| 652 | + clock-names = "ahb", "mod", |
|---|
| 653 | + "ram"; |
|---|
| 654 | + resets = <&ccu RST_BUS_DE_BE>; |
|---|
| 655 | + |
|---|
| 656 | + ports { |
|---|
| 657 | + #address-cells = <1>; |
|---|
| 658 | + #size-cells = <0>; |
|---|
| 659 | + |
|---|
| 660 | + be0_in: port@0 { |
|---|
| 661 | + reg = <0>; |
|---|
| 662 | + |
|---|
| 663 | + be0_in_fe0: endpoint { |
|---|
| 664 | + remote-endpoint = <&fe0_out_be0>; |
|---|
| 665 | + }; |
|---|
| 666 | + }; |
|---|
| 667 | + |
|---|
| 668 | + be0_out: port@1 { |
|---|
| 669 | + reg = <1>; |
|---|
| 670 | + |
|---|
| 671 | + be0_out_drc0: endpoint { |
|---|
| 672 | + remote-endpoint = <&drc0_in_be0>; |
|---|
| 673 | + }; |
|---|
| 674 | + }; |
|---|
| 675 | + }; |
|---|
| 676 | + }; |
|---|
| 677 | + |
|---|
| 678 | + drc0: drc@1e70000 { |
|---|
| 679 | + /* compatible gets set in SoC specific dtsi file */ |
|---|
| 680 | + reg = <0x01e70000 0x10000>; |
|---|
| 681 | + interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 682 | + clocks = <&ccu CLK_BUS_DRC>, <&ccu CLK_DRC>, |
|---|
| 683 | + <&ccu CLK_DRAM_DRC>; |
|---|
| 684 | + clock-names = "ahb", "mod", "ram"; |
|---|
| 685 | + resets = <&ccu RST_BUS_DRC>; |
|---|
| 686 | + |
|---|
| 687 | + ports { |
|---|
| 688 | + #address-cells = <1>; |
|---|
| 689 | + #size-cells = <0>; |
|---|
| 690 | + |
|---|
| 691 | + drc0_in: port@0 { |
|---|
| 692 | + reg = <0>; |
|---|
| 693 | + |
|---|
| 694 | + drc0_in_be0: endpoint { |
|---|
| 695 | + remote-endpoint = <&be0_out_drc0>; |
|---|
| 696 | + }; |
|---|
| 697 | + }; |
|---|
| 698 | + |
|---|
| 699 | + drc0_out: port@1 { |
|---|
| 700 | + reg = <1>; |
|---|
| 701 | + |
|---|
| 702 | + drc0_out_tcon0: endpoint { |
|---|
| 703 | + remote-endpoint = <&tcon0_in_drc0>; |
|---|
| 704 | + }; |
|---|
| 705 | + }; |
|---|
| 706 | + }; |
|---|
| 707 | + }; |
|---|
| 708 | + |
|---|
| 567 | 709 | rtc: rtc@1f00000 { |
|---|
| 568 | | - compatible = "allwinner,sun6i-a31-rtc"; |
|---|
| 569 | | - reg = <0x01f00000 0x54>; |
|---|
| 710 | + compatible = "allwinner,sun8i-a23-rtc"; |
|---|
| 711 | + reg = <0x01f00000 0x400>; |
|---|
| 570 | 712 | interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 571 | 713 | <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 572 | | - clock-output-names = "osc32k"; |
|---|
| 714 | + clock-output-names = "osc32k", "osc32k-out"; |
|---|
| 573 | 715 | clocks = <&ext_osc32k>; |
|---|
| 574 | 716 | #clock-cells = <1>; |
|---|
| 575 | 717 | }; |
|---|
| .. | .. |
|---|
| 646 | 788 | status = "disabled"; |
|---|
| 647 | 789 | }; |
|---|
| 648 | 790 | |
|---|
| 791 | + r_i2c: i2c@1f02400 { |
|---|
| 792 | + compatible = "allwinner,sun8i-a23-i2c", |
|---|
| 793 | + "allwinner,sun6i-a31-i2c"; |
|---|
| 794 | + reg = <0x01f02400 0x400>; |
|---|
| 795 | + interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 796 | + pinctrl-names = "default"; |
|---|
| 797 | + pinctrl-0 = <&r_i2c_pins>; |
|---|
| 798 | + clocks = <&apb0_gates 6>; |
|---|
| 799 | + resets = <&apb0_rst 6>; |
|---|
| 800 | + status = "disabled"; |
|---|
| 801 | + #address-cells = <1>; |
|---|
| 802 | + #size-cells = <0>; |
|---|
| 803 | + }; |
|---|
| 804 | + |
|---|
| 649 | 805 | r_pio: pinctrl@1f02c00 { |
|---|
| 650 | 806 | compatible = "allwinner,sun8i-a23-r-pinctrl"; |
|---|
| 651 | 807 | reg = <0x01f02c00 0x400>; |
|---|
| .. | .. |
|---|
| 656 | 812 | gpio-controller; |
|---|
| 657 | 813 | interrupt-controller; |
|---|
| 658 | 814 | #interrupt-cells = <3>; |
|---|
| 659 | | - #address-cells = <1>; |
|---|
| 660 | | - #size-cells = <0>; |
|---|
| 661 | 815 | #gpio-cells = <3>; |
|---|
| 662 | 816 | |
|---|
| 663 | | - r_rsb_pins: r_rsb { |
|---|
| 817 | + r_i2c_pins: r-i2c-pins { |
|---|
| 818 | + pins = "PL0", "PL1"; |
|---|
| 819 | + function = "s_i2c"; |
|---|
| 820 | + bias-pull-up; |
|---|
| 821 | + }; |
|---|
| 822 | + |
|---|
| 823 | + r_rsb_pins: r-rsb-pins { |
|---|
| 664 | 824 | pins = "PL0", "PL1"; |
|---|
| 665 | 825 | function = "s_rsb"; |
|---|
| 666 | 826 | drive-strength = <20>; |
|---|
| 667 | 827 | bias-pull-up; |
|---|
| 668 | 828 | }; |
|---|
| 669 | 829 | |
|---|
| 670 | | - r_uart_pins_a: r_uart@0 { |
|---|
| 830 | + r_uart_pins_a: r-uart-pins { |
|---|
| 671 | 831 | pins = "PL2", "PL3"; |
|---|
| 672 | 832 | function = "s_uart"; |
|---|
| 673 | 833 | }; |
|---|