1ff1930c6SPaul Burton#include <dt-bindings/clock/jz4740-cgu.h> 2ff1930c6SPaul Burton 3ffb1843dSPaul Burton/ { 4ffb1843dSPaul Burton #address-cells = <1>; 5ffb1843dSPaul Burton #size-cells = <1>; 6ffb1843dSPaul Burton compatible = "ingenic,jz4740"; 78e8261ebSPaul Burton 85214cae7SAntony Pavlov cpuintc: interrupt-controller { 98e8261ebSPaul Burton #address-cells = <0>; 108e8261ebSPaul Burton #interrupt-cells = <1>; 118e8261ebSPaul Burton interrupt-controller; 128e8261ebSPaul Burton compatible = "mti,cpu-interrupt-controller"; 138e8261ebSPaul Burton }; 14adbdce77SPaul Burton 15adbdce77SPaul Burton intc: interrupt-controller@10001000 { 16adbdce77SPaul Burton compatible = "ingenic,jz4740-intc"; 17adbdce77SPaul Burton reg = <0x10001000 0x14>; 18adbdce77SPaul Burton 19adbdce77SPaul Burton interrupt-controller; 20adbdce77SPaul Burton #interrupt-cells = <1>; 21adbdce77SPaul Burton 22adbdce77SPaul Burton interrupt-parent = <&cpuintc>; 23adbdce77SPaul Burton interrupts = <2>; 24adbdce77SPaul Burton }; 25ff1930c6SPaul Burton 26ff1930c6SPaul Burton ext: ext { 27ff1930c6SPaul Burton compatible = "fixed-clock"; 28ff1930c6SPaul Burton #clock-cells = <0>; 29ff1930c6SPaul Burton }; 30ff1930c6SPaul Burton 31ff1930c6SPaul Burton rtc: rtc { 32ff1930c6SPaul Burton compatible = "fixed-clock"; 33ff1930c6SPaul Burton #clock-cells = <0>; 34ff1930c6SPaul Burton clock-frequency = <32768>; 35ff1930c6SPaul Burton }; 36ff1930c6SPaul Burton 37ff1930c6SPaul Burton cgu: jz4740-cgu@10000000 { 38ff1930c6SPaul Burton compatible = "ingenic,jz4740-cgu"; 39ff1930c6SPaul Burton reg = <0x10000000 0x100>; 40ff1930c6SPaul Burton 41ff1930c6SPaul Burton clocks = <&ext>, <&rtc>; 42ff1930c6SPaul Burton clock-names = "ext", "rtc"; 43ff1930c6SPaul Burton 44ff1930c6SPaul Burton #clock-cells = <1>; 45ff1930c6SPaul Burton }; 468838245dSPaul Burton 47*262d62cbSPaul Cercueil rtc_dev: rtc@10003000 { 48*262d62cbSPaul Cercueil compatible = "ingenic,jz4740-rtc"; 49*262d62cbSPaul Cercueil reg = <0x10003000 0x40>; 50*262d62cbSPaul Cercueil 51*262d62cbSPaul Cercueil interrupt-parent = <&intc>; 52*262d62cbSPaul Cercueil interrupts = <15>; 53*262d62cbSPaul Cercueil 54*262d62cbSPaul Cercueil clocks = <&cgu JZ4740_CLK_RTC>; 55*262d62cbSPaul Cercueil clock-names = "rtc"; 56*262d62cbSPaul Cercueil }; 57*262d62cbSPaul Cercueil 588838245dSPaul Burton uart0: serial@10030000 { 598838245dSPaul Burton compatible = "ingenic,jz4740-uart"; 608838245dSPaul Burton reg = <0x10030000 0x100>; 618838245dSPaul Burton 628838245dSPaul Burton interrupt-parent = <&intc>; 638838245dSPaul Burton interrupts = <9>; 648838245dSPaul Burton 658838245dSPaul Burton clocks = <&ext>, <&cgu JZ4740_CLK_UART0>; 668838245dSPaul Burton clock-names = "baud", "module"; 678838245dSPaul Burton }; 688838245dSPaul Burton 698838245dSPaul Burton uart1: serial@10031000 { 708838245dSPaul Burton compatible = "ingenic,jz4740-uart"; 718838245dSPaul Burton reg = <0x10031000 0x100>; 728838245dSPaul Burton 738838245dSPaul Burton interrupt-parent = <&intc>; 748838245dSPaul Burton interrupts = <8>; 758838245dSPaul Burton 768838245dSPaul Burton clocks = <&ext>, <&cgu JZ4740_CLK_UART1>; 778838245dSPaul Burton clock-names = "baud", "module"; 788838245dSPaul Burton }; 799d1e7875SMaarten ter Huurne 809d1e7875SMaarten ter Huurne uhc: uhc@13030000 { 819d1e7875SMaarten ter Huurne compatible = "ingenic,jz4740-ohci", "generic-ohci"; 829d1e7875SMaarten ter Huurne reg = <0x13030000 0x1000>; 839d1e7875SMaarten ter Huurne 849d1e7875SMaarten ter Huurne clocks = <&cgu JZ4740_CLK_UHC>; 859d1e7875SMaarten ter Huurne assigned-clocks = <&cgu JZ4740_CLK_UHC>; 869d1e7875SMaarten ter Huurne assigned-clock-rates = <48000000>; 879d1e7875SMaarten ter Huurne 889d1e7875SMaarten ter Huurne interrupt-parent = <&intc>; 899d1e7875SMaarten ter Huurne interrupts = <3>; 909d1e7875SMaarten ter Huurne 919d1e7875SMaarten ter Huurne status = "disabled"; 929d1e7875SMaarten ter Huurne }; 93ffb1843dSPaul Burton}; 94