15b9cdd24SPaul Burton#include <dt-bindings/clock/jz4780-cgu.h> 25b9cdd24SPaul Burton 35b9cdd24SPaul Burton/ { 45b9cdd24SPaul Burton #address-cells = <1>; 55b9cdd24SPaul Burton #size-cells = <1>; 65b9cdd24SPaul Burton compatible = "ingenic,jz4780"; 75b9cdd24SPaul Burton 85b9cdd24SPaul Burton cpuintc: interrupt-controller { 95b9cdd24SPaul Burton #address-cells = <0>; 105b9cdd24SPaul Burton #interrupt-cells = <1>; 115b9cdd24SPaul Burton interrupt-controller; 125b9cdd24SPaul Burton compatible = "mti,cpu-interrupt-controller"; 135b9cdd24SPaul Burton }; 145b9cdd24SPaul Burton 155b9cdd24SPaul Burton intc: interrupt-controller@10001000 { 165b9cdd24SPaul Burton compatible = "ingenic,jz4780-intc"; 175b9cdd24SPaul Burton reg = <0x10001000 0x50>; 185b9cdd24SPaul Burton 195b9cdd24SPaul Burton interrupt-controller; 205b9cdd24SPaul Burton #interrupt-cells = <1>; 215b9cdd24SPaul Burton 225b9cdd24SPaul Burton interrupt-parent = <&cpuintc>; 235b9cdd24SPaul Burton interrupts = <2>; 245b9cdd24SPaul Burton }; 255b9cdd24SPaul Burton 265b9cdd24SPaul Burton ext: ext { 275b9cdd24SPaul Burton compatible = "fixed-clock"; 285b9cdd24SPaul Burton #clock-cells = <0>; 295b9cdd24SPaul Burton }; 305b9cdd24SPaul Burton 315b9cdd24SPaul Burton rtc: rtc { 325b9cdd24SPaul Burton compatible = "fixed-clock"; 335b9cdd24SPaul Burton #clock-cells = <0>; 345b9cdd24SPaul Burton clock-frequency = <32768>; 355b9cdd24SPaul Burton }; 365b9cdd24SPaul Burton 375b9cdd24SPaul Burton cgu: jz4780-cgu@10000000 { 385b9cdd24SPaul Burton compatible = "ingenic,jz4780-cgu"; 395b9cdd24SPaul Burton reg = <0x10000000 0x100>; 405b9cdd24SPaul Burton 415b9cdd24SPaul Burton clocks = <&ext>, <&rtc>; 425b9cdd24SPaul Burton clock-names = "ext", "rtc"; 435b9cdd24SPaul Burton 445b9cdd24SPaul Burton #clock-cells = <1>; 455b9cdd24SPaul Burton }; 465b9cdd24SPaul Burton 475b9cdd24SPaul Burton uart0: serial@10030000 { 485b9cdd24SPaul Burton compatible = "ingenic,jz4780-uart"; 495b9cdd24SPaul Burton reg = <0x10030000 0x100>; 505b9cdd24SPaul Burton 515b9cdd24SPaul Burton interrupt-parent = <&intc>; 525b9cdd24SPaul Burton interrupts = <51>; 535b9cdd24SPaul Burton 545b9cdd24SPaul Burton clocks = <&ext>, <&cgu JZ4780_CLK_UART0>; 555b9cdd24SPaul Burton clock-names = "baud", "module"; 565b9cdd24SPaul Burton 575b9cdd24SPaul Burton status = "disabled"; 585b9cdd24SPaul Burton }; 595b9cdd24SPaul Burton 605b9cdd24SPaul Burton uart1: serial@10031000 { 615b9cdd24SPaul Burton compatible = "ingenic,jz4780-uart"; 625b9cdd24SPaul Burton reg = <0x10031000 0x100>; 635b9cdd24SPaul Burton 645b9cdd24SPaul Burton interrupt-parent = <&intc>; 655b9cdd24SPaul Burton interrupts = <50>; 665b9cdd24SPaul Burton 675b9cdd24SPaul Burton clocks = <&ext>, <&cgu JZ4780_CLK_UART1>; 685b9cdd24SPaul Burton clock-names = "baud", "module"; 695b9cdd24SPaul Burton 705b9cdd24SPaul Burton status = "disabled"; 715b9cdd24SPaul Burton }; 725b9cdd24SPaul Burton 735b9cdd24SPaul Burton uart2: serial@10032000 { 745b9cdd24SPaul Burton compatible = "ingenic,jz4780-uart"; 755b9cdd24SPaul Burton reg = <0x10032000 0x100>; 765b9cdd24SPaul Burton 775b9cdd24SPaul Burton interrupt-parent = <&intc>; 785b9cdd24SPaul Burton interrupts = <49>; 795b9cdd24SPaul Burton 805b9cdd24SPaul Burton clocks = <&ext>, <&cgu JZ4780_CLK_UART2>; 815b9cdd24SPaul Burton clock-names = "baud", "module"; 825b9cdd24SPaul Burton 835b9cdd24SPaul Burton status = "disabled"; 845b9cdd24SPaul Burton }; 855b9cdd24SPaul Burton 865b9cdd24SPaul Burton uart3: serial@10033000 { 875b9cdd24SPaul Burton compatible = "ingenic,jz4780-uart"; 885b9cdd24SPaul Burton reg = <0x10033000 0x100>; 895b9cdd24SPaul Burton 905b9cdd24SPaul Burton interrupt-parent = <&intc>; 915b9cdd24SPaul Burton interrupts = <48>; 925b9cdd24SPaul Burton 935b9cdd24SPaul Burton clocks = <&ext>, <&cgu JZ4780_CLK_UART3>; 945b9cdd24SPaul Burton clock-names = "baud", "module"; 955b9cdd24SPaul Burton 965b9cdd24SPaul Burton status = "disabled"; 975b9cdd24SPaul Burton }; 985b9cdd24SPaul Burton 995b9cdd24SPaul Burton uart4: serial@10034000 { 1005b9cdd24SPaul Burton compatible = "ingenic,jz4780-uart"; 1015b9cdd24SPaul Burton reg = <0x10034000 0x100>; 1025b9cdd24SPaul Burton 1035b9cdd24SPaul Burton interrupt-parent = <&intc>; 1045b9cdd24SPaul Burton interrupts = <34>; 1055b9cdd24SPaul Burton 1065b9cdd24SPaul Burton clocks = <&ext>, <&cgu JZ4780_CLK_UART4>; 1075b9cdd24SPaul Burton clock-names = "baud", "module"; 1085b9cdd24SPaul Burton 1095b9cdd24SPaul Burton status = "disabled"; 1105b9cdd24SPaul Burton }; 111*78800558SAlex Smith 112*78800558SAlex Smith nemc: nemc@13410000 { 113*78800558SAlex Smith compatible = "ingenic,jz4780-nemc"; 114*78800558SAlex Smith reg = <0x13410000 0x10000>; 115*78800558SAlex Smith #address-cells = <2>; 116*78800558SAlex Smith #size-cells = <1>; 117*78800558SAlex Smith ranges = <1 0 0x1b000000 0x1000000 118*78800558SAlex Smith 2 0 0x1a000000 0x1000000 119*78800558SAlex Smith 3 0 0x19000000 0x1000000 120*78800558SAlex Smith 4 0 0x18000000 0x1000000 121*78800558SAlex Smith 5 0 0x17000000 0x1000000 122*78800558SAlex Smith 6 0 0x16000000 0x1000000>; 123*78800558SAlex Smith 124*78800558SAlex Smith clocks = <&cgu JZ4780_CLK_NEMC>; 125*78800558SAlex Smith 126*78800558SAlex Smith status = "disabled"; 127*78800558SAlex Smith }; 128*78800558SAlex Smith 129*78800558SAlex Smith bch: bch@134d0000 { 130*78800558SAlex Smith compatible = "ingenic,jz4780-bch"; 131*78800558SAlex Smith reg = <0x134d0000 0x10000>; 132*78800558SAlex Smith 133*78800558SAlex Smith clocks = <&cgu JZ4780_CLK_BCH>; 134*78800558SAlex Smith 135*78800558SAlex Smith status = "disabled"; 136*78800558SAlex Smith }; 1375b9cdd24SPaul Burton}; 138