blob: 6cb360b3f860f1b96749ece955fc52ca0ed1fa0d [file] [log] [blame]
Rosy Songbd905c32019-03-16 09:24:44 +08001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2018 Rosy Song <rosysong@rosinson.com>
4 */
5
6#include "skeleton.dtsi"
7
8/ {
9 compatible = "qca,qca956x";
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,mips74Kc";
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 ahb {
38 compatible = "simple-bus";
39 ranges;
40
41 #address-cells = <1>;
42 #size-cells = <1>;
43
44 apb {
45 compatible = "simple-bus";
46 ranges;
47
48 #address-cells = <1>;
49 #size-cells = <1>;
50
51 uart0: uart@18020000 {
52 compatible = "ns16550";
53 reg = <0x18020000 0x20>;
54 reg-shift = <2>;
55
56 status = "disabled";
57 };
58
59 gmac0: eth@0x19000000 {
60 compatible = "qca,ag956x-mac";
61 reg = <0x19000000 0x200>;
62 phy = <&phy0>;
63 phy-mode = "sgmii";
64
65 status = "disabled";
66
67 mdio {
68 #address-cells = <1>;
69 #size-cells = <0>;
70 phy0: ethernet-phy@0 {
71 reg = <0>;
72 };
73 };
74 };
75 };
76
77 spi0: spi@1f000000 {
78 compatible = "qca,ar7100-spi";
79 reg = <0x1f000000 0x10>;
80
81 status = "disabled";
82
83 #address-cells = <1>;
84 #size-cells = <0>;
85 };
86 };
87};