| .. | .. |
|---|
| 184 | 184 | status = "disabled"; |
|---|
| 185 | 185 | }; |
|---|
| 186 | 186 | |
|---|
| 187 | + pmu { |
|---|
| 188 | + compatible = "arm,cortex-a8-pmu"; |
|---|
| 189 | + interrupts = <3>; |
|---|
| 190 | + }; |
|---|
| 191 | + |
|---|
| 192 | + reserved-memory { |
|---|
| 193 | + #address-cells = <1>; |
|---|
| 194 | + #size-cells = <1>; |
|---|
| 195 | + ranges; |
|---|
| 196 | + |
|---|
| 197 | + /* Address must be kept in the lower 256 MiBs of DRAM for VE. */ |
|---|
| 198 | + default-pool { |
|---|
| 199 | + compatible = "shared-dma-pool"; |
|---|
| 200 | + size = <0x6000000>; |
|---|
| 201 | + alloc-ranges = <0x40000000 0x10000000>; |
|---|
| 202 | + reusable; |
|---|
| 203 | + linux,cma-default; |
|---|
| 204 | + }; |
|---|
| 205 | + }; |
|---|
| 206 | + |
|---|
| 187 | 207 | soc { |
|---|
| 188 | 208 | compatible = "simple-bus"; |
|---|
| 189 | 209 | #address-cells = <1>; |
|---|
| .. | .. |
|---|
| 224 | 244 | status = "disabled"; |
|---|
| 225 | 245 | }; |
|---|
| 226 | 246 | }; |
|---|
| 247 | + |
|---|
| 248 | + sram_c: sram@1d00000 { |
|---|
| 249 | + compatible = "mmio-sram"; |
|---|
| 250 | + reg = <0x01d00000 0xd0000>; |
|---|
| 251 | + #address-cells = <1>; |
|---|
| 252 | + #size-cells = <1>; |
|---|
| 253 | + ranges = <0 0x01d00000 0xd0000>; |
|---|
| 254 | + |
|---|
| 255 | + ve_sram: sram-section@0 { |
|---|
| 256 | + compatible = "allwinner,sun4i-a10-sram-c1"; |
|---|
| 257 | + reg = <0x000000 0x80000>; |
|---|
| 258 | + }; |
|---|
| 259 | + }; |
|---|
| 227 | 260 | }; |
|---|
| 228 | 261 | |
|---|
| 229 | 262 | dma: dma-controller@1c02000 { |
|---|
| .. | .. |
|---|
| 234 | 267 | #dma-cells = <2>; |
|---|
| 235 | 268 | }; |
|---|
| 236 | 269 | |
|---|
| 237 | | - nfc: nand@1c03000 { |
|---|
| 270 | + nfc: nand-controller@1c03000 { |
|---|
| 238 | 271 | compatible = "allwinner,sun4i-a10-nand"; |
|---|
| 239 | 272 | reg = <0x01c03000 0x1000>; |
|---|
| 240 | 273 | interrupts = <37>; |
|---|
| .. | .. |
|---|
| 309 | 342 | "tcon-ch0", |
|---|
| 310 | 343 | "tcon-ch1"; |
|---|
| 311 | 344 | clock-output-names = "tcon0-pixel-clock"; |
|---|
| 345 | + #clock-cells = <0>; |
|---|
| 312 | 346 | dmas = <&dma SUN4I_DMA_DEDICATED 14>; |
|---|
| 313 | 347 | |
|---|
| 314 | 348 | ports { |
|---|
| .. | .. |
|---|
| 358 | 392 | "tcon-ch0", |
|---|
| 359 | 393 | "tcon-ch1"; |
|---|
| 360 | 394 | clock-output-names = "tcon1-pixel-clock"; |
|---|
| 395 | + #clock-cells = <0>; |
|---|
| 361 | 396 | dmas = <&dma SUN4I_DMA_DEDICATED 15>; |
|---|
| 362 | 397 | |
|---|
| 363 | 398 | ports { |
|---|
| .. | .. |
|---|
| 392 | 427 | }; |
|---|
| 393 | 428 | }; |
|---|
| 394 | 429 | }; |
|---|
| 430 | + }; |
|---|
| 431 | + |
|---|
| 432 | + video-codec@1c0e000 { |
|---|
| 433 | + compatible = "allwinner,sun4i-a10-video-engine"; |
|---|
| 434 | + reg = <0x01c0e000 0x1000>; |
|---|
| 435 | + clocks = <&ccu CLK_AHB_VE>, <&ccu CLK_VE>, |
|---|
| 436 | + <&ccu CLK_DRAM_VE>; |
|---|
| 437 | + clock-names = "ahb", "mod", "ram"; |
|---|
| 438 | + resets = <&ccu RST_VE>; |
|---|
| 439 | + interrupts = <53>; |
|---|
| 440 | + allwinner,sram = <&ve_sram 1>; |
|---|
| 395 | 441 | }; |
|---|
| 396 | 442 | |
|---|
| 397 | 443 | mmc0: mmc@1c0f000 { |
|---|
| .. | .. |
|---|
| 450 | 496 | phy-names = "usb"; |
|---|
| 451 | 497 | extcon = <&usbphy 0>; |
|---|
| 452 | 498 | allwinner,sram = <&otg_sram 1>; |
|---|
| 499 | + dr_mode = "otg"; |
|---|
| 453 | 500 | status = "disabled"; |
|---|
| 454 | 501 | }; |
|---|
| 455 | 502 | |
|---|
| 456 | 503 | usbphy: phy@1c13400 { |
|---|
| 457 | 504 | #phy-cells = <1>; |
|---|
| 458 | 505 | compatible = "allwinner,sun4i-a10-usb-phy"; |
|---|
| 459 | | - reg = <0x01c13400 0x10 0x01c14800 0x4 0x01c1c800 0x4>; |
|---|
| 506 | + reg = <0x01c13400 0x10>, <0x01c14800 0x4>, <0x01c1c800 0x4>; |
|---|
| 460 | 507 | reg-names = "phy_ctrl", "pmu1", "pmu2"; |
|---|
| 461 | 508 | clocks = <&ccu CLK_USB_PHY>; |
|---|
| 462 | 509 | clock-names = "usb_phy"; |
|---|
| .. | .. |
|---|
| 577 | 624 | status = "disabled"; |
|---|
| 578 | 625 | }; |
|---|
| 579 | 626 | |
|---|
| 627 | + csi1: csi@1c1d000 { |
|---|
| 628 | + compatible = "allwinner,sun4i-a10-csi1"; |
|---|
| 629 | + reg = <0x01c1d000 0x1000>; |
|---|
| 630 | + interrupts = <43>; |
|---|
| 631 | + clocks = <&ccu CLK_AHB_CSI1>, <&ccu CLK_DRAM_CSI1>; |
|---|
| 632 | + clock-names = "bus", "ram"; |
|---|
| 633 | + resets = <&ccu RST_CSI1>; |
|---|
| 634 | + status = "disabled"; |
|---|
| 635 | + }; |
|---|
| 636 | + |
|---|
| 580 | 637 | spi3: spi@1c1f000 { |
|---|
| 581 | 638 | compatible = "allwinner,sun4i-a10-spi"; |
|---|
| 582 | 639 | reg = <0x01c1f000 0x1000>; |
|---|
| .. | .. |
|---|
| 621 | 678 | can0_ph_pins: can0-ph-pins { |
|---|
| 622 | 679 | pins = "PH20", "PH21"; |
|---|
| 623 | 680 | function = "can"; |
|---|
| 681 | + }; |
|---|
| 682 | + |
|---|
| 683 | + /omit-if-no-ref/ |
|---|
| 684 | + csi1_8bits_pg_pins: csi1-8bits-pg-pins { |
|---|
| 685 | + pins = "PG0", "PG2", "PG3", "PG4", "PG5", |
|---|
| 686 | + "PG6", "PG7", "PG8", "PG9", "PG10", |
|---|
| 687 | + "PG11"; |
|---|
| 688 | + function = "csi1"; |
|---|
| 689 | + }; |
|---|
| 690 | + |
|---|
| 691 | + /omit-if-no-ref/ |
|---|
| 692 | + csi1_24bits_ph_pins: csi1-24bits-ph-pins { |
|---|
| 693 | + pins = "PH0", "PH1", "PH2", "PH3", "PH4", |
|---|
| 694 | + "PH5", "PH6", "PH7", "PH8", "PH9", |
|---|
| 695 | + "PH10", "PH11", "PH12", "PH13", "PH14", |
|---|
| 696 | + "PH15", "PH16", "PH17", "PH18", "PH19", |
|---|
| 697 | + "PH20", "PH21", "PH22", "PH23", "PH24", |
|---|
| 698 | + "PH25", "PH26", "PH27"; |
|---|
| 699 | + function = "csi1"; |
|---|
| 700 | + }; |
|---|
| 701 | + |
|---|
| 702 | + /omit-if-no-ref/ |
|---|
| 703 | + csi1_clk_pg_pin: csi1-clk-pg-pin { |
|---|
| 704 | + pins = "PG1"; |
|---|
| 705 | + function = "csi1"; |
|---|
| 624 | 706 | }; |
|---|
| 625 | 707 | |
|---|
| 626 | 708 | emac_pins: emac0-pins { |
|---|
| .. | .. |
|---|
| 760 | 842 | timer@1c20c00 { |
|---|
| 761 | 843 | compatible = "allwinner,sun4i-a10-timer"; |
|---|
| 762 | 844 | reg = <0x01c20c00 0x90>; |
|---|
| 763 | | - interrupts = <22>; |
|---|
| 845 | + interrupts = <22>, |
|---|
| 846 | + <23>, |
|---|
| 847 | + <24>, |
|---|
| 848 | + <25>, |
|---|
| 849 | + <67>, |
|---|
| 850 | + <68>; |
|---|
| 764 | 851 | clocks = <&osc24M>; |
|---|
| 765 | 852 | }; |
|---|
| 766 | 853 | |
|---|
| 767 | 854 | wdt: watchdog@1c20c90 { |
|---|
| 768 | 855 | compatible = "allwinner,sun4i-a10-wdt"; |
|---|
| 769 | 856 | reg = <0x01c20c90 0x10>; |
|---|
| 857 | + interrupts = <24>; |
|---|
| 858 | + clocks = <&osc24M>; |
|---|
| 770 | 859 | }; |
|---|
| 771 | 860 | |
|---|
| 772 | 861 | rtc: rtc@1c20d00 { |
|---|