blob: c4f29324efe6598d1ca6e8f94f4303f853356e86 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Wills Wang6a7b52b2016-03-16 16:59:59 +08002/*
3 * Copyright (C) 2015-2016 Wills Wang <wills.wang@live.com>
Wills Wang6a7b52b2016-03-16 16:59:59 +08004 */
5
Wills Wang6a7b52b2016-03-16 16:59:59 +08006#include "skeleton.dtsi"
7
8/ {
9 compatible = "qca,ar933x";
10
11 #address-cells = <1>;
12 #size-cells = <1>;
13
14 cpus {
15 #address-cells = <1>;
16 #size-cells = <0>;
17
18 cpu@0 {
19 device_type = "cpu";
20 compatible = "mips,mips24Kc";
21 reg = <0>;
22 };
23 };
24
25 clocks {
26 #address-cells = <1>;
27 #size-cells = <1>;
28 ranges;
29
30 xtal: xtal {
31 #clock-cells = <0>;
32 compatible = "fixed-clock";
33 clock-output-names = "xtal";
34 };
35 };
36
37 pinctrl {
Simon Glass8c103c32023-02-13 08:56:33 -070038 bootph-all;
Wills Wang6a7b52b2016-03-16 16:59:59 +080039 compatible = "qca,ar933x-pinctrl";
40 ranges;
41 #address-cells = <1>;
42 #size-cells = <1>;
43 reg = <0x18040000 0x100>;
44 };
45
46 ahb {
47 compatible = "simple-bus";
48 ranges;
49
50 #address-cells = <1>;
51 #size-cells = <1>;
52
53 apb {
54 compatible = "simple-bus";
55 ranges;
56
57 #address-cells = <1>;
58 #size-cells = <1>;
59
Marek Vasutc31558782016-05-06 20:10:36 +020060 ehci0: ehci@1b000100 {
61 compatible = "generic-ehci";
62 reg = <0x1b000100 0x100>;
63
64 status = "disabled";
65 };
66
Wills Wang6a7b52b2016-03-16 16:59:59 +080067 uart0: uart@18020000 {
68 compatible = "qca,ar9330-uart";
69 reg = <0x18020000 0x20>;
Wills Wang6a7b52b2016-03-16 16:59:59 +080070
71 status = "disabled";
72 };
Marek Vasut2986a9d2016-05-06 20:10:38 +020073
74 gmac0: eth@0x19000000 {
Wills Wang04583c62016-05-30 22:54:51 +080075 compatible = "qca,ag933x-mac";
Marek Vasut2986a9d2016-05-06 20:10:38 +020076 reg = <0x19000000 0x200>;
77 phy = <&phy0>;
78 phy-mode = "rmii";
79
80 status = "disabled";
81
82 mdio {
83 #address-cells = <1>;
84 #size-cells = <0>;
85 phy0: ethernet-phy@0 {
86 reg = <0>;
87 };
88 };
89 };
90
91 gmac1: eth@0x1a000000 {
Wills Wang04583c62016-05-30 22:54:51 +080092 compatible = "qca,ag933x-mac";
Marek Vasut2986a9d2016-05-06 20:10:38 +020093 reg = <0x1a000000 0x200>;
94 phy = <&phy0>;
95 phy-mode = "rgmii";
96
97 status = "disabled";
98 };
Wills Wang6a7b52b2016-03-16 16:59:59 +080099 };
100
101 spi0: spi@1f000000 {
102 compatible = "qca,ar7100-spi";
103 reg = <0x1f000000 0x10>;
Wills Wang6a7b52b2016-03-16 16:59:59 +0800104
105 status = "disabled";
106
107 #address-cells = <1>;
108 #size-cells = <0>;
109 };
110 };
111};