ath79: add new OF only target for QCA MIPS silicon
[oweals/openwrt.git] / target / linux / ath79 / dts / ath79.dtsi
1
2 / {
3         #address-cells = <1>;
4         #size-cells = <1>;
5
6         cpuintc: interrupt-controller {
7                 compatible = "qca,ar7100-cpu-intc";
8
9                 interrupt-controller;
10                 #interrupt-cells = <1>;
11         };
12
13         ahb {
14                 compatible = "simple-bus";
15                 ranges;
16
17                 #address-cells = <1>;
18                 #size-cells = <1>;
19
20                 interrupt-parent = <&cpuintc>;
21
22                 apb {
23                         compatible = "simple-bus";
24                         ranges;
25
26                         #address-cells = <1>;
27                         #size-cells = <1>;
28
29                         interrupt-parent = <&miscintc>;
30
31                         miscintc: interrupt-controller@18060010 {
32                                 compatible = "qca,ar7240-misc-intc";
33                                 reg = <0x18060010 0x4>;
34
35                                 interrupt-parent = <&cpuintc>;
36                                 interrupts = <6>;
37
38                                 interrupt-controller;
39                                 #interrupt-cells = <1>;
40                         };
41                 };
42
43                 eth0: eth@19000000 {
44                         status = "disabled";
45
46                         compatible = "qca,ath79-eth", "syscon";
47                         reg = <0x19000000 0x200>;
48
49                         interrupts = <4>;
50                         phy-mode = "mii";
51
52                         mdio0: mdio-bus {
53                                 status = "disabled";
54
55                                 regmap = <&eth0>;
56
57                                 clocks = <&pll ATH79_CLK_MDIO>;
58                                 clock-names = "ref";
59                         };
60                 };
61
62                 eth1: eth@1a000000 {
63                         status = "disabled";
64
65                         compatible = "qca,ath79-eth", "syscon";
66                         reg = <0x1a000000 0x200>;
67
68                         interrupts = <5>;
69                         phy-mode = "mii";
70
71                         mdio1: mdio-bus {
72                                 status = "disabled";
73
74                                 regmap = <&eth1>;
75
76                                 clocks = <&pll ATH79_CLK_MDIO>;
77                                 clock-names = "ref";
78                         };
79                 };
80         };
81 };