1b2441318SGreg Kroah-Hartman// SPDX-License-Identifier: GPL-2.0 2c4a11bf4SPaul Cercueil#include <dt-bindings/clock/ingenic,jz4780-cgu.h> 311479e8eSPaul Cercueil#include <dt-bindings/clock/ingenic,tcu.h> 42d972b6aSEzequiel Garcia#include <dt-bindings/dma/jz4780-dma.h> 55b9cdd24SPaul Burton 65b9cdd24SPaul Burton/ { 75b9cdd24SPaul Burton #address-cells = <1>; 85b9cdd24SPaul Burton #size-cells = <1>; 95b9cdd24SPaul Burton compatible = "ingenic,jz4780"; 105b9cdd24SPaul Burton 11c1f6b45eS周琰杰 (Zhou Yanjie) cpus { 12c1f6b45eS周琰杰 (Zhou Yanjie) #address-cells = <1>; 13c1f6b45eS周琰杰 (Zhou Yanjie) #size-cells = <0>; 14c1f6b45eS周琰杰 (Zhou Yanjie) 15c1f6b45eS周琰杰 (Zhou Yanjie) cpu0: cpu@0 { 16c1f6b45eS周琰杰 (Zhou Yanjie) device_type = "cpu"; 17c1f6b45eS周琰杰 (Zhou Yanjie) compatible = "ingenic,xburst-fpu1.0-mxu1.1"; 18c1f6b45eS周琰杰 (Zhou Yanjie) reg = <0>; 19c1f6b45eS周琰杰 (Zhou Yanjie) 20c1f6b45eS周琰杰 (Zhou Yanjie) clocks = <&cgu JZ4780_CLK_CPU>; 21c1f6b45eS周琰杰 (Zhou Yanjie) clock-names = "cpu"; 22c1f6b45eS周琰杰 (Zhou Yanjie) }; 23c1f6b45eS周琰杰 (Zhou Yanjie) 24c1f6b45eS周琰杰 (Zhou Yanjie) cpu1: cpu@1 { 25c1f6b45eS周琰杰 (Zhou Yanjie) device_type = "cpu"; 26c1f6b45eS周琰杰 (Zhou Yanjie) compatible = "ingenic,xburst-fpu1.0-mxu1.1"; 27c1f6b45eS周琰杰 (Zhou Yanjie) reg = <1>; 28c1f6b45eS周琰杰 (Zhou Yanjie) 29c1f6b45eS周琰杰 (Zhou Yanjie) clocks = <&cgu JZ4780_CLK_CORE1>; 30c1f6b45eS周琰杰 (Zhou Yanjie) clock-names = "cpu"; 31c1f6b45eS周琰杰 (Zhou Yanjie) }; 32c1f6b45eS周琰杰 (Zhou Yanjie) }; 33c1f6b45eS周琰杰 (Zhou Yanjie) 345b9cdd24SPaul Burton cpuintc: interrupt-controller { 355b9cdd24SPaul Burton #address-cells = <0>; 365b9cdd24SPaul Burton #interrupt-cells = <1>; 375b9cdd24SPaul Burton interrupt-controller; 385b9cdd24SPaul Burton compatible = "mti,cpu-interrupt-controller"; 395b9cdd24SPaul Burton }; 405b9cdd24SPaul Burton 415b9cdd24SPaul Burton intc: interrupt-controller@10001000 { 425b9cdd24SPaul Burton compatible = "ingenic,jz4780-intc"; 435b9cdd24SPaul Burton reg = <0x10001000 0x50>; 445b9cdd24SPaul Burton 455b9cdd24SPaul Burton interrupt-controller; 465b9cdd24SPaul Burton #interrupt-cells = <1>; 475b9cdd24SPaul Burton 485b9cdd24SPaul Burton interrupt-parent = <&cpuintc>; 495b9cdd24SPaul Burton interrupts = <2>; 505b9cdd24SPaul Burton }; 515b9cdd24SPaul Burton 525b9cdd24SPaul Burton ext: ext { 535b9cdd24SPaul Burton compatible = "fixed-clock"; 545b9cdd24SPaul Burton #clock-cells = <0>; 555b9cdd24SPaul Burton }; 565b9cdd24SPaul Burton 575b9cdd24SPaul Burton rtc: rtc { 585b9cdd24SPaul Burton compatible = "fixed-clock"; 595b9cdd24SPaul Burton #clock-cells = <0>; 605b9cdd24SPaul Burton clock-frequency = <32768>; 615b9cdd24SPaul Burton }; 625b9cdd24SPaul Burton 635b9cdd24SPaul Burton cgu: jz4780-cgu@10000000 { 64158c774dS周琰杰 (Zhou Yanjie) compatible = "ingenic,jz4780-cgu", "simple-mfd"; 655b9cdd24SPaul Burton reg = <0x10000000 0x100>; 66158c774dS周琰杰 (Zhou Yanjie) #address-cells = <1>; 67158c774dS周琰杰 (Zhou Yanjie) #size-cells = <1>; 68158c774dS周琰杰 (Zhou Yanjie) ranges = <0x0 0x10000000 0x100>; 69158c774dS周琰杰 (Zhou Yanjie) 70158c774dS周琰杰 (Zhou Yanjie) #clock-cells = <1>; 715b9cdd24SPaul Burton 725b9cdd24SPaul Burton clocks = <&ext>, <&rtc>; 735b9cdd24SPaul Burton clock-names = "ext", "rtc"; 745b9cdd24SPaul Burton 75158c774dS周琰杰 (Zhou Yanjie) otg_phy: usb-phy@3c { 76158c774dS周琰杰 (Zhou Yanjie) compatible = "ingenic,jz4780-phy"; 77158c774dS周琰杰 (Zhou Yanjie) reg = <0x3c 0x10>; 78158c774dS周琰杰 (Zhou Yanjie) 79158c774dS周琰杰 (Zhou Yanjie) clocks = <&cgu JZ4780_CLK_OTG1>; 80158c774dS周琰杰 (Zhou Yanjie) 81158c774dS周琰杰 (Zhou Yanjie) #phy-cells = <0>; 82158c774dS周琰杰 (Zhou Yanjie) 83158c774dS周琰杰 (Zhou Yanjie) status = "disabled"; 84158c774dS周琰杰 (Zhou Yanjie) }; 85158c774dS周琰杰 (Zhou Yanjie) 86158c774dS周琰杰 (Zhou Yanjie) rng: rng@d8 { 87158c774dS周琰杰 (Zhou Yanjie) compatible = "ingenic,jz4780-rng"; 88158c774dS周琰杰 (Zhou Yanjie) reg = <0xd8 0x8>; 89158c774dS周琰杰 (Zhou Yanjie) 90158c774dS周琰杰 (Zhou Yanjie) status = "disabled"; 91158c774dS周琰杰 (Zhou Yanjie) }; 925b9cdd24SPaul Burton }; 935b9cdd24SPaul Burton 9436aafdbdSPaul Cercueil tcu: timer@10002000 { 9536aafdbdSPaul Cercueil compatible = "ingenic,jz4780-tcu", 9636aafdbdSPaul Cercueil "ingenic,jz4770-tcu", 9736aafdbdSPaul Cercueil "simple-mfd"; 9836aafdbdSPaul Cercueil reg = <0x10002000 0x1000>; 9936aafdbdSPaul Cercueil #address-cells = <1>; 10036aafdbdSPaul Cercueil #size-cells = <1>; 10136aafdbdSPaul Cercueil ranges = <0x0 0x10002000 0x1000>; 10236aafdbdSPaul Cercueil 10336aafdbdSPaul Cercueil #clock-cells = <1>; 10436aafdbdSPaul Cercueil 105cf2e6b8eSPaul Cercueil clocks = <&cgu JZ4780_CLK_RTCLK>, 106cf2e6b8eSPaul Cercueil <&cgu JZ4780_CLK_EXCLK>, 107cf2e6b8eSPaul Cercueil <&cgu JZ4780_CLK_PCLK>; 10836aafdbdSPaul Cercueil clock-names = "rtc", "ext", "pclk"; 10936aafdbdSPaul Cercueil 11036aafdbdSPaul Cercueil interrupt-controller; 11136aafdbdSPaul Cercueil #interrupt-cells = <1>; 11236aafdbdSPaul Cercueil 11336aafdbdSPaul Cercueil interrupt-parent = <&intc>; 11436aafdbdSPaul Cercueil interrupts = <27 26 25>; 11511479e8eSPaul Cercueil 11611479e8eSPaul Cercueil watchdog: watchdog@0 { 11711479e8eSPaul Cercueil compatible = "ingenic,jz4780-watchdog"; 11811479e8eSPaul Cercueil reg = <0x0 0xc>; 11911479e8eSPaul Cercueil 12011479e8eSPaul Cercueil clocks = <&tcu TCU_CLK_WDT>; 12111479e8eSPaul Cercueil clock-names = "wdt"; 12211479e8eSPaul Cercueil }; 123bf40bf5eSPaul Cercueil 124bf40bf5eSPaul Cercueil pwm: pwm@40 { 125bf40bf5eSPaul Cercueil compatible = "ingenic,jz4780-pwm", "ingenic,jz4740-pwm"; 126bf40bf5eSPaul Cercueil reg = <0x40 0x80>; 127bf40bf5eSPaul Cercueil 128bf40bf5eSPaul Cercueil #pwm-cells = <3>; 129bf40bf5eSPaul Cercueil 130bf40bf5eSPaul Cercueil clocks = <&tcu TCU_CLK_TIMER0>, <&tcu TCU_CLK_TIMER1>, 131bf40bf5eSPaul Cercueil <&tcu TCU_CLK_TIMER2>, <&tcu TCU_CLK_TIMER3>, 132bf40bf5eSPaul Cercueil <&tcu TCU_CLK_TIMER4>, <&tcu TCU_CLK_TIMER5>, 133bf40bf5eSPaul Cercueil <&tcu TCU_CLK_TIMER6>, <&tcu TCU_CLK_TIMER7>; 134bf40bf5eSPaul Cercueil clock-names = "timer0", "timer1", "timer2", "timer3", 135bf40bf5eSPaul Cercueil "timer4", "timer5", "timer6", "timer7"; 136bf40bf5eSPaul Cercueil }; 137bf40bf5eSPaul Cercueil 138bf40bf5eSPaul Cercueil ost: timer@e0 { 139bf40bf5eSPaul Cercueil compatible = "ingenic,jz4780-ost", "ingenic,jz4770-ost"; 140bf40bf5eSPaul Cercueil reg = <0xe0 0x20>; 141bf40bf5eSPaul Cercueil 142bf40bf5eSPaul Cercueil clocks = <&tcu TCU_CLK_OST>; 143bf40bf5eSPaul Cercueil clock-names = "ost"; 144bf40bf5eSPaul Cercueil 145bf40bf5eSPaul Cercueil interrupts = <15>; 146bf40bf5eSPaul Cercueil }; 14736aafdbdSPaul Cercueil }; 14836aafdbdSPaul Cercueil 149ed326616SMathieu Malaterre rtc_dev: rtc@10003000 { 150ed326616SMathieu Malaterre compatible = "ingenic,jz4780-rtc"; 151ed326616SMathieu Malaterre reg = <0x10003000 0x4c>; 152ed326616SMathieu Malaterre 153ed326616SMathieu Malaterre interrupt-parent = <&intc>; 154ed326616SMathieu Malaterre interrupts = <32>; 155ed326616SMathieu Malaterre 156ed326616SMathieu Malaterre clocks = <&cgu JZ4780_CLK_RTCLK>; 157ed326616SMathieu Malaterre clock-names = "rtc"; 158*ab47b3daSH. Nikolaus Schaller 159*ab47b3daSH. Nikolaus Schaller #clock-cells = <0>; 160ed326616SMathieu Malaterre }; 161ed326616SMathieu Malaterre 162d32613c3SPaul Cercueil pinctrl: pin-controller@10010000 { 163d32613c3SPaul Cercueil compatible = "ingenic,jz4780-pinctrl"; 164d32613c3SPaul Cercueil reg = <0x10010000 0x600>; 165d32613c3SPaul Cercueil 166d32613c3SPaul Cercueil #address-cells = <1>; 167d32613c3SPaul Cercueil #size-cells = <0>; 168d32613c3SPaul Cercueil 169d32613c3SPaul Cercueil gpa: gpio@0 { 170d32613c3SPaul Cercueil compatible = "ingenic,jz4780-gpio"; 171d32613c3SPaul Cercueil reg = <0>; 172d32613c3SPaul Cercueil 173d32613c3SPaul Cercueil gpio-controller; 174d32613c3SPaul Cercueil gpio-ranges = <&pinctrl 0 0 32>; 175d32613c3SPaul Cercueil #gpio-cells = <2>; 176d32613c3SPaul Cercueil 177d32613c3SPaul Cercueil interrupt-controller; 178d32613c3SPaul Cercueil #interrupt-cells = <2>; 179d32613c3SPaul Cercueil 180d32613c3SPaul Cercueil interrupt-parent = <&intc>; 181d32613c3SPaul Cercueil interrupts = <17>; 182d32613c3SPaul Cercueil }; 183d32613c3SPaul Cercueil 184d32613c3SPaul Cercueil gpb: gpio@1 { 185d32613c3SPaul Cercueil compatible = "ingenic,jz4780-gpio"; 186d32613c3SPaul Cercueil reg = <1>; 187d32613c3SPaul Cercueil 188d32613c3SPaul Cercueil gpio-controller; 189d32613c3SPaul Cercueil gpio-ranges = <&pinctrl 0 32 32>; 190d32613c3SPaul Cercueil #gpio-cells = <2>; 191d32613c3SPaul Cercueil 192d32613c3SPaul Cercueil interrupt-controller; 193d32613c3SPaul Cercueil #interrupt-cells = <2>; 194d32613c3SPaul Cercueil 195d32613c3SPaul Cercueil interrupt-parent = <&intc>; 196d32613c3SPaul Cercueil interrupts = <16>; 197d32613c3SPaul Cercueil }; 198d32613c3SPaul Cercueil 199d32613c3SPaul Cercueil gpc: gpio@2 { 200d32613c3SPaul Cercueil compatible = "ingenic,jz4780-gpio"; 201d32613c3SPaul Cercueil reg = <2>; 202d32613c3SPaul Cercueil 203d32613c3SPaul Cercueil gpio-controller; 204d32613c3SPaul Cercueil gpio-ranges = <&pinctrl 0 64 32>; 205d32613c3SPaul Cercueil #gpio-cells = <2>; 206d32613c3SPaul Cercueil 207d32613c3SPaul Cercueil interrupt-controller; 208d32613c3SPaul Cercueil #interrupt-cells = <2>; 209d32613c3SPaul Cercueil 210d32613c3SPaul Cercueil interrupt-parent = <&intc>; 211d32613c3SPaul Cercueil interrupts = <15>; 212d32613c3SPaul Cercueil }; 213d32613c3SPaul Cercueil 214d32613c3SPaul Cercueil gpd: gpio@3 { 215d32613c3SPaul Cercueil compatible = "ingenic,jz4780-gpio"; 216d32613c3SPaul Cercueil reg = <3>; 217d32613c3SPaul Cercueil 218d32613c3SPaul Cercueil gpio-controller; 219d32613c3SPaul Cercueil gpio-ranges = <&pinctrl 0 96 32>; 220d32613c3SPaul Cercueil #gpio-cells = <2>; 221d32613c3SPaul Cercueil 222d32613c3SPaul Cercueil interrupt-controller; 223d32613c3SPaul Cercueil #interrupt-cells = <2>; 224d32613c3SPaul Cercueil 225d32613c3SPaul Cercueil interrupt-parent = <&intc>; 226d32613c3SPaul Cercueil interrupts = <14>; 227d32613c3SPaul Cercueil }; 228d32613c3SPaul Cercueil 229d32613c3SPaul Cercueil gpe: gpio@4 { 230d32613c3SPaul Cercueil compatible = "ingenic,jz4780-gpio"; 231d32613c3SPaul Cercueil reg = <4>; 232d32613c3SPaul Cercueil 233d32613c3SPaul Cercueil gpio-controller; 234d32613c3SPaul Cercueil gpio-ranges = <&pinctrl 0 128 32>; 235d32613c3SPaul Cercueil #gpio-cells = <2>; 236d32613c3SPaul Cercueil 237d32613c3SPaul Cercueil interrupt-controller; 238d32613c3SPaul Cercueil #interrupt-cells = <2>; 239d32613c3SPaul Cercueil 240d32613c3SPaul Cercueil interrupt-parent = <&intc>; 241d32613c3SPaul Cercueil interrupts = <13>; 242d32613c3SPaul Cercueil }; 243d32613c3SPaul Cercueil 244d32613c3SPaul Cercueil gpf: gpio@5 { 245d32613c3SPaul Cercueil compatible = "ingenic,jz4780-gpio"; 246d32613c3SPaul Cercueil reg = <5>; 247d32613c3SPaul Cercueil 248d32613c3SPaul Cercueil gpio-controller; 249d32613c3SPaul Cercueil gpio-ranges = <&pinctrl 0 160 32>; 250d32613c3SPaul Cercueil #gpio-cells = <2>; 251d32613c3SPaul Cercueil 252d32613c3SPaul Cercueil interrupt-controller; 253d32613c3SPaul Cercueil #interrupt-cells = <2>; 254d32613c3SPaul Cercueil 255d32613c3SPaul Cercueil interrupt-parent = <&intc>; 256d32613c3SPaul Cercueil interrupts = <12>; 257d32613c3SPaul Cercueil }; 258d32613c3SPaul Cercueil }; 259d32613c3SPaul Cercueil 2607b3fd810SArtur Rojek spi0: spi@10043000 { 2617b3fd810SArtur Rojek compatible = "ingenic,jz4780-spi"; 2627b3fd810SArtur Rojek reg = <0x10043000 0x1c>; 263c24f5762SMathieu Malaterre #address-cells = <1>; 264c24f5762SMathieu Malaterre #size-cells = <0>; 265c24f5762SMathieu Malaterre 2667b3fd810SArtur Rojek interrupt-parent = <&intc>; 2677b3fd810SArtur Rojek interrupts = <8>; 268c24f5762SMathieu Malaterre 2697b3fd810SArtur Rojek clocks = <&cgu JZ4780_CLK_SSI0>; 2707b3fd810SArtur Rojek clock-names = "spi"; 2717b3fd810SArtur Rojek 2727b3fd810SArtur Rojek dmas = <&dma JZ4780_DMA_SSI0_RX 0xffffffff>, 2737b3fd810SArtur Rojek <&dma JZ4780_DMA_SSI0_TX 0xffffffff>; 2747b3fd810SArtur Rojek dma-names = "rx", "tx"; 2757b3fd810SArtur Rojek 2767b3fd810SArtur Rojek status = "disabled"; 277c24f5762SMathieu Malaterre }; 278c24f5762SMathieu Malaterre 2795b9cdd24SPaul Burton uart0: serial@10030000 { 2805b9cdd24SPaul Burton compatible = "ingenic,jz4780-uart"; 2815b9cdd24SPaul Burton reg = <0x10030000 0x100>; 2825b9cdd24SPaul Burton 2835b9cdd24SPaul Burton interrupt-parent = <&intc>; 2845b9cdd24SPaul Burton interrupts = <51>; 2855b9cdd24SPaul Burton 2865b9cdd24SPaul Burton clocks = <&ext>, <&cgu JZ4780_CLK_UART0>; 2875b9cdd24SPaul Burton clock-names = "baud", "module"; 2885b9cdd24SPaul Burton 2895b9cdd24SPaul Burton status = "disabled"; 2905b9cdd24SPaul Burton }; 2915b9cdd24SPaul Burton 2925b9cdd24SPaul Burton uart1: serial@10031000 { 2935b9cdd24SPaul Burton compatible = "ingenic,jz4780-uart"; 2945b9cdd24SPaul Burton reg = <0x10031000 0x100>; 2955b9cdd24SPaul Burton 2965b9cdd24SPaul Burton interrupt-parent = <&intc>; 2975b9cdd24SPaul Burton interrupts = <50>; 2985b9cdd24SPaul Burton 2995b9cdd24SPaul Burton clocks = <&ext>, <&cgu JZ4780_CLK_UART1>; 3005b9cdd24SPaul Burton clock-names = "baud", "module"; 3015b9cdd24SPaul Burton 3025b9cdd24SPaul Burton status = "disabled"; 3035b9cdd24SPaul Burton }; 3045b9cdd24SPaul Burton 3055b9cdd24SPaul Burton uart2: serial@10032000 { 3065b9cdd24SPaul Burton compatible = "ingenic,jz4780-uart"; 3075b9cdd24SPaul Burton reg = <0x10032000 0x100>; 3085b9cdd24SPaul Burton 3095b9cdd24SPaul Burton interrupt-parent = <&intc>; 3105b9cdd24SPaul Burton interrupts = <49>; 3115b9cdd24SPaul Burton 3125b9cdd24SPaul Burton clocks = <&ext>, <&cgu JZ4780_CLK_UART2>; 3135b9cdd24SPaul Burton clock-names = "baud", "module"; 3145b9cdd24SPaul Burton 3155b9cdd24SPaul Burton status = "disabled"; 3165b9cdd24SPaul Burton }; 3175b9cdd24SPaul Burton 3185b9cdd24SPaul Burton uart3: serial@10033000 { 3195b9cdd24SPaul Burton compatible = "ingenic,jz4780-uart"; 3205b9cdd24SPaul Burton reg = <0x10033000 0x100>; 3215b9cdd24SPaul Burton 3225b9cdd24SPaul Burton interrupt-parent = <&intc>; 3235b9cdd24SPaul Burton interrupts = <48>; 3245b9cdd24SPaul Burton 3255b9cdd24SPaul Burton clocks = <&ext>, <&cgu JZ4780_CLK_UART3>; 3265b9cdd24SPaul Burton clock-names = "baud", "module"; 3275b9cdd24SPaul Burton 3285b9cdd24SPaul Burton status = "disabled"; 3295b9cdd24SPaul Burton }; 3305b9cdd24SPaul Burton 3315b9cdd24SPaul Burton uart4: serial@10034000 { 3325b9cdd24SPaul Burton compatible = "ingenic,jz4780-uart"; 3335b9cdd24SPaul Burton reg = <0x10034000 0x100>; 3345b9cdd24SPaul Burton 3355b9cdd24SPaul Burton interrupt-parent = <&intc>; 3365b9cdd24SPaul Burton interrupts = <34>; 3375b9cdd24SPaul Burton 3385b9cdd24SPaul Burton clocks = <&ext>, <&cgu JZ4780_CLK_UART4>; 3395b9cdd24SPaul Burton clock-names = "baud", "module"; 3405b9cdd24SPaul Burton 3415b9cdd24SPaul Burton status = "disabled"; 3425b9cdd24SPaul Burton }; 34378800558SAlex Smith 3447b3fd810SArtur Rojek spi1: spi@10044000 { 3457b3fd810SArtur Rojek compatible = "ingenic,jz4780-spi"; 3467b3fd810SArtur Rojek reg = <0x10044000 0x1c>; 3477b3fd810SArtur Rojek #address-cells = <1>; 3487b3fd810SArtur Rojek #size-sells = <0>; 3497b3fd810SArtur Rojek 3507b3fd810SArtur Rojek interrupt-parent = <&intc>; 3517b3fd810SArtur Rojek interrupts = <7>; 3527b3fd810SArtur Rojek 3537b3fd810SArtur Rojek clocks = <&cgu JZ4780_CLK_SSI1>; 3547b3fd810SArtur Rojek clock-names = "spi"; 3557b3fd810SArtur Rojek 3567b3fd810SArtur Rojek dmas = <&dma JZ4780_DMA_SSI1_RX 0xffffffff>, 3577b3fd810SArtur Rojek <&dma JZ4780_DMA_SSI1_TX 0xffffffff>; 3587b3fd810SArtur Rojek dma-names = "rx", "tx"; 3597b3fd810SArtur Rojek 3607b3fd810SArtur Rojek status = "disabled"; 3617b3fd810SArtur Rojek }; 3627b3fd810SArtur Rojek 363f56a040cSAlexandre GRIVEAUX i2c0: i2c@10050000 { 364318951afSPaul Cercueil compatible = "ingenic,jz4780-i2c", "ingenic,jz4770-i2c"; 365f56a040cSAlexandre GRIVEAUX #address-cells = <1>; 366f56a040cSAlexandre GRIVEAUX #size-cells = <0>; 367f56a040cSAlexandre GRIVEAUX 368f56a040cSAlexandre GRIVEAUX reg = <0x10050000 0x1000>; 369f56a040cSAlexandre GRIVEAUX 370f56a040cSAlexandre GRIVEAUX interrupt-parent = <&intc>; 371f56a040cSAlexandre GRIVEAUX interrupts = <60>; 372f56a040cSAlexandre GRIVEAUX 373f56a040cSAlexandre GRIVEAUX clocks = <&cgu JZ4780_CLK_SMB0>; 374f56a040cSAlexandre GRIVEAUX clock-frequency = <100000>; 375f56a040cSAlexandre GRIVEAUX pinctrl-names = "default"; 376f56a040cSAlexandre GRIVEAUX pinctrl-0 = <&pins_i2c0_data>; 377f56a040cSAlexandre GRIVEAUX 378f56a040cSAlexandre GRIVEAUX status = "disabled"; 379f56a040cSAlexandre GRIVEAUX }; 380f56a040cSAlexandre GRIVEAUX 381f56a040cSAlexandre GRIVEAUX i2c1: i2c@10051000 { 382318951afSPaul Cercueil compatible = "ingenic,jz4780-i2c", "ingenic,jz4770-i2c"; 383f56a040cSAlexandre GRIVEAUX #address-cells = <1>; 384f56a040cSAlexandre GRIVEAUX #size-cells = <0>; 385f56a040cSAlexandre GRIVEAUX reg = <0x10051000 0x1000>; 386f56a040cSAlexandre GRIVEAUX 387f56a040cSAlexandre GRIVEAUX interrupt-parent = <&intc>; 388f56a040cSAlexandre GRIVEAUX interrupts = <59>; 389f56a040cSAlexandre GRIVEAUX 390f56a040cSAlexandre GRIVEAUX clocks = <&cgu JZ4780_CLK_SMB1>; 391f56a040cSAlexandre GRIVEAUX clock-frequency = <100000>; 392f56a040cSAlexandre GRIVEAUX pinctrl-names = "default"; 393f56a040cSAlexandre GRIVEAUX pinctrl-0 = <&pins_i2c1_data>; 394f56a040cSAlexandre GRIVEAUX 395f56a040cSAlexandre GRIVEAUX status = "disabled"; 396f56a040cSAlexandre GRIVEAUX }; 397f56a040cSAlexandre GRIVEAUX 398f56a040cSAlexandre GRIVEAUX i2c2: i2c@10052000 { 399318951afSPaul Cercueil compatible = "ingenic,jz4780-i2c", "ingenic,jz4770-i2c"; 400f56a040cSAlexandre GRIVEAUX #address-cells = <1>; 401f56a040cSAlexandre GRIVEAUX #size-cells = <0>; 402f56a040cSAlexandre GRIVEAUX reg = <0x10052000 0x1000>; 403f56a040cSAlexandre GRIVEAUX 404f56a040cSAlexandre GRIVEAUX interrupt-parent = <&intc>; 405f56a040cSAlexandre GRIVEAUX interrupts = <58>; 406f56a040cSAlexandre GRIVEAUX 407f56a040cSAlexandre GRIVEAUX clocks = <&cgu JZ4780_CLK_SMB2>; 408f56a040cSAlexandre GRIVEAUX clock-frequency = <100000>; 409f56a040cSAlexandre GRIVEAUX pinctrl-names = "default"; 410f56a040cSAlexandre GRIVEAUX pinctrl-0 = <&pins_i2c2_data>; 411f56a040cSAlexandre GRIVEAUX 412f56a040cSAlexandre GRIVEAUX status = "disabled"; 413f56a040cSAlexandre GRIVEAUX }; 414f56a040cSAlexandre GRIVEAUX 415f56a040cSAlexandre GRIVEAUX i2c3: i2c@10053000 { 416318951afSPaul Cercueil compatible = "ingenic,jz4780-i2c", "ingenic,jz4770-i2c"; 417f56a040cSAlexandre GRIVEAUX #address-cells = <1>; 418f56a040cSAlexandre GRIVEAUX #size-cells = <0>; 419f56a040cSAlexandre GRIVEAUX reg = <0x10053000 0x1000>; 420f56a040cSAlexandre GRIVEAUX 421f56a040cSAlexandre GRIVEAUX interrupt-parent = <&intc>; 422f56a040cSAlexandre GRIVEAUX interrupts = <57>; 423f56a040cSAlexandre GRIVEAUX 424f56a040cSAlexandre GRIVEAUX clocks = <&cgu JZ4780_CLK_SMB3>; 425f56a040cSAlexandre GRIVEAUX clock-frequency = <100000>; 426f56a040cSAlexandre GRIVEAUX pinctrl-names = "default"; 427f56a040cSAlexandre GRIVEAUX pinctrl-0 = <&pins_i2c3_data>; 428f56a040cSAlexandre GRIVEAUX 429f56a040cSAlexandre GRIVEAUX status = "disabled"; 430f56a040cSAlexandre GRIVEAUX }; 431f56a040cSAlexandre GRIVEAUX 432f56a040cSAlexandre GRIVEAUX i2c4: i2c@10054000 { 433318951afSPaul Cercueil compatible = "ingenic,jz4780-i2c", "ingenic,jz4770-i2c"; 434f56a040cSAlexandre GRIVEAUX #address-cells = <1>; 435f56a040cSAlexandre GRIVEAUX #size-cells = <0>; 436f56a040cSAlexandre GRIVEAUX reg = <0x10054000 0x1000>; 437f56a040cSAlexandre GRIVEAUX 438f56a040cSAlexandre GRIVEAUX interrupt-parent = <&intc>; 439f56a040cSAlexandre GRIVEAUX interrupts = <56>; 440f56a040cSAlexandre GRIVEAUX 441f56a040cSAlexandre GRIVEAUX clocks = <&cgu JZ4780_CLK_SMB4>; 442f56a040cSAlexandre GRIVEAUX clock-frequency = <100000>; 443f56a040cSAlexandre GRIVEAUX pinctrl-names = "default"; 444f56a040cSAlexandre GRIVEAUX pinctrl-0 = <&pins_i2c4_data>; 445f56a040cSAlexandre GRIVEAUX 446f56a040cSAlexandre GRIVEAUX status = "disabled"; 447f56a040cSAlexandre GRIVEAUX }; 448f56a040cSAlexandre GRIVEAUX 4499375100dSPaul Boddie hdmi: hdmi@10180000 { 4509375100dSPaul Boddie compatible = "ingenic,jz4780-dw-hdmi"; 4519375100dSPaul Boddie reg = <0x10180000 0x8000>; 4529375100dSPaul Boddie reg-io-width = <4>; 4539375100dSPaul Boddie 4549375100dSPaul Boddie clocks = <&cgu JZ4780_CLK_AHB0>, <&cgu JZ4780_CLK_HDMI>; 4559375100dSPaul Boddie clock-names = "iahb", "isfr"; 4569375100dSPaul Boddie 4579375100dSPaul Boddie interrupt-parent = <&intc>; 4589375100dSPaul Boddie interrupts = <3>; 4599375100dSPaul Boddie 4609375100dSPaul Boddie status = "disabled"; 4619375100dSPaul Boddie }; 4629375100dSPaul Boddie 4639375100dSPaul Boddie lcdc0: lcdc0@13050000 { 4649375100dSPaul Boddie compatible = "ingenic,jz4780-lcd"; 4659375100dSPaul Boddie reg = <0x13050000 0x1800>; 4669375100dSPaul Boddie 4679375100dSPaul Boddie clocks = <&cgu JZ4780_CLK_TVE>, <&cgu JZ4780_CLK_LCD0PIXCLK>; 4689375100dSPaul Boddie clock-names = "lcd", "lcd_pclk"; 4699375100dSPaul Boddie 4709375100dSPaul Boddie interrupt-parent = <&intc>; 4719375100dSPaul Boddie interrupts = <31>; 4729375100dSPaul Boddie 4739375100dSPaul Boddie status = "disabled"; 4749375100dSPaul Boddie }; 4759375100dSPaul Boddie 4769375100dSPaul Boddie lcdc1: lcdc1@130a0000 { 4779375100dSPaul Boddie compatible = "ingenic,jz4780-lcd"; 4789375100dSPaul Boddie reg = <0x130a0000 0x1800>; 4799375100dSPaul Boddie 4809375100dSPaul Boddie clocks = <&cgu JZ4780_CLK_TVE>, <&cgu JZ4780_CLK_LCD1PIXCLK>; 4819375100dSPaul Boddie clock-names = "lcd", "lcd_pclk"; 4829375100dSPaul Boddie 4839375100dSPaul Boddie interrupt-parent = <&intc>; 4849375100dSPaul Boddie interrupts = <23>; 4859375100dSPaul Boddie 4869375100dSPaul Boddie status = "disabled"; 4879375100dSPaul Boddie }; 4889375100dSPaul Boddie 48978800558SAlex Smith nemc: nemc@13410000 { 490190607f2SPrasannaKumar Muralidharan compatible = "ingenic,jz4780-nemc", "simple-mfd"; 49178800558SAlex Smith reg = <0x13410000 0x10000>; 49278800558SAlex Smith #address-cells = <2>; 49378800558SAlex Smith #size-cells = <1>; 494cf2e6b8eSPaul Cercueil ranges = <0 0 0x13410000 0x10000>, 495cf2e6b8eSPaul Cercueil <1 0 0x1b000000 0x1000000>, 496cf2e6b8eSPaul Cercueil <2 0 0x1a000000 0x1000000>, 497cf2e6b8eSPaul Cercueil <3 0 0x19000000 0x1000000>, 498cf2e6b8eSPaul Cercueil <4 0 0x18000000 0x1000000>, 499cf2e6b8eSPaul Cercueil <5 0 0x17000000 0x1000000>, 500cf2e6b8eSPaul Cercueil <6 0 0x16000000 0x1000000>; 50178800558SAlex Smith 50278800558SAlex Smith clocks = <&cgu JZ4780_CLK_NEMC>; 50378800558SAlex Smith 50478800558SAlex Smith status = "disabled"; 505190607f2SPrasannaKumar Muralidharan 506190607f2SPrasannaKumar Muralidharan efuse: efuse@d0 { 507190607f2SPrasannaKumar Muralidharan reg = <0 0xd0 0x30>; 508190607f2SPrasannaKumar Muralidharan compatible = "ingenic,jz4780-efuse"; 509190607f2SPrasannaKumar Muralidharan 510190607f2SPrasannaKumar Muralidharan clocks = <&cgu JZ4780_CLK_AHB2>; 511190607f2SPrasannaKumar Muralidharan 512190607f2SPrasannaKumar Muralidharan #address-cells = <1>; 513190607f2SPrasannaKumar Muralidharan #size-cells = <1>; 514190607f2SPrasannaKumar Muralidharan 5158931ddd8SKrzysztof Kozlowski eth0_addr: eth-mac-addr@22 { 516190607f2SPrasannaKumar Muralidharan reg = <0x22 0x6>; 517190607f2SPrasannaKumar Muralidharan }; 518190607f2SPrasannaKumar Muralidharan }; 51978800558SAlex Smith }; 52078800558SAlex Smith 5212d972b6aSEzequiel Garcia dma: dma@13420000 { 5222d972b6aSEzequiel Garcia compatible = "ingenic,jz4780-dma"; 523cf2e6b8eSPaul Cercueil reg = <0x13420000 0x400>, <0x13421000 0x40>; 5242d972b6aSEzequiel Garcia #dma-cells = <2>; 5252d972b6aSEzequiel Garcia 5262d972b6aSEzequiel Garcia interrupt-parent = <&intc>; 5272d972b6aSEzequiel Garcia interrupts = <10>; 5282d972b6aSEzequiel Garcia 5292d972b6aSEzequiel Garcia clocks = <&cgu JZ4780_CLK_PDMA>; 5302d972b6aSEzequiel Garcia }; 5312d972b6aSEzequiel Garcia 5327f5a07f4SEzequiel Garcia mmc0: mmc@13450000 { 5337f5a07f4SEzequiel Garcia compatible = "ingenic,jz4780-mmc"; 5347f5a07f4SEzequiel Garcia reg = <0x13450000 0x1000>; 5357f5a07f4SEzequiel Garcia 5367f5a07f4SEzequiel Garcia interrupt-parent = <&intc>; 5377f5a07f4SEzequiel Garcia interrupts = <37>; 5387f5a07f4SEzequiel Garcia 5397f5a07f4SEzequiel Garcia clocks = <&cgu JZ4780_CLK_MSC0>; 5407f5a07f4SEzequiel Garcia clock-names = "mmc"; 5417f5a07f4SEzequiel Garcia 5427f5a07f4SEzequiel Garcia cap-sd-highspeed; 5437f5a07f4SEzequiel Garcia cap-mmc-highspeed; 5447f5a07f4SEzequiel Garcia cap-sdio-irq; 5457f5a07f4SEzequiel Garcia dmas = <&dma JZ4780_DMA_MSC0_RX 0xffffffff>, 5467f5a07f4SEzequiel Garcia <&dma JZ4780_DMA_MSC0_TX 0xffffffff>; 5477f5a07f4SEzequiel Garcia dma-names = "rx", "tx"; 5487f5a07f4SEzequiel Garcia 5497f5a07f4SEzequiel Garcia status = "disabled"; 5507f5a07f4SEzequiel Garcia }; 5517f5a07f4SEzequiel Garcia 5527f5a07f4SEzequiel Garcia mmc1: mmc@13460000 { 5537f5a07f4SEzequiel Garcia compatible = "ingenic,jz4780-mmc"; 5547f5a07f4SEzequiel Garcia reg = <0x13460000 0x1000>; 5557f5a07f4SEzequiel Garcia 5567f5a07f4SEzequiel Garcia interrupt-parent = <&intc>; 5577f5a07f4SEzequiel Garcia interrupts = <36>; 5587f5a07f4SEzequiel Garcia 5597f5a07f4SEzequiel Garcia clocks = <&cgu JZ4780_CLK_MSC1>; 5607f5a07f4SEzequiel Garcia clock-names = "mmc"; 5617f5a07f4SEzequiel Garcia 5627f5a07f4SEzequiel Garcia cap-sd-highspeed; 5637f5a07f4SEzequiel Garcia cap-mmc-highspeed; 5647f5a07f4SEzequiel Garcia cap-sdio-irq; 5657f5a07f4SEzequiel Garcia dmas = <&dma JZ4780_DMA_MSC1_RX 0xffffffff>, 5667f5a07f4SEzequiel Garcia <&dma JZ4780_DMA_MSC1_TX 0xffffffff>; 5677f5a07f4SEzequiel Garcia dma-names = "rx", "tx"; 5687f5a07f4SEzequiel Garcia 5697f5a07f4SEzequiel Garcia status = "disabled"; 5707f5a07f4SEzequiel Garcia }; 5717f5a07f4SEzequiel Garcia 57278800558SAlex Smith bch: bch@134d0000 { 57378800558SAlex Smith compatible = "ingenic,jz4780-bch"; 57478800558SAlex Smith reg = <0x134d0000 0x10000>; 57578800558SAlex Smith 57678800558SAlex Smith clocks = <&cgu JZ4780_CLK_BCH>; 57778800558SAlex Smith 57878800558SAlex Smith status = "disabled"; 57978800558SAlex Smith }; 580158c774dS周琰杰 (Zhou Yanjie) 581158c774dS周琰杰 (Zhou Yanjie) otg: usb@13500000 { 582ab3a560aS周琰杰 (Zhou Yanjie) compatible = "ingenic,jz4780-otg"; 583158c774dS周琰杰 (Zhou Yanjie) reg = <0x13500000 0x40000>; 584158c774dS周琰杰 (Zhou Yanjie) 585158c774dS周琰杰 (Zhou Yanjie) interrupt-parent = <&intc>; 586158c774dS周琰杰 (Zhou Yanjie) interrupts = <21>; 587158c774dS周琰杰 (Zhou Yanjie) 588158c774dS周琰杰 (Zhou Yanjie) clocks = <&cgu JZ4780_CLK_UHC>; 589158c774dS周琰杰 (Zhou Yanjie) clock-names = "otg"; 590158c774dS周琰杰 (Zhou Yanjie) 591158c774dS周琰杰 (Zhou Yanjie) phys = <&otg_phy>; 592158c774dS周琰杰 (Zhou Yanjie) phy-names = "usb2-phy"; 593158c774dS周琰杰 (Zhou Yanjie) 594158c774dS周琰杰 (Zhou Yanjie) g-rx-fifo-size = <768>; 595158c774dS周琰杰 (Zhou Yanjie) g-np-tx-fifo-size = <256>; 596158c774dS周琰杰 (Zhou Yanjie) g-tx-fifo-size = <256 256 256 256 256 256 256 512>; 597158c774dS周琰杰 (Zhou Yanjie) 598158c774dS周琰杰 (Zhou Yanjie) status = "disabled"; 599158c774dS周琰杰 (Zhou Yanjie) }; 6005b9cdd24SPaul Burton}; 601