2018-05-06 21:58:06 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2016-03-16 09:00:00 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2015-2016 Wills Wang <wills.wang@live.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "skeleton.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "qca,qca953x";
|
|
|
|
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
cpu@0 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "mips,mips24Kc";
|
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
clocks {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
ranges;
|
|
|
|
|
|
|
|
xtal: xtal {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
clock-output-names = "xtal";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2016-03-16 09:00:00 +00:00
|
|
|
compatible = "qca,qca953x-pinctrl";
|
|
|
|
ranges;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
reg = <0x18040000 0x100>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ahb {
|
|
|
|
compatible = "simple-bus";
|
|
|
|
ranges;
|
|
|
|
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
apb {
|
|
|
|
compatible = "simple-bus";
|
|
|
|
ranges;
|
|
|
|
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
uart0: uart@18020000 {
|
|
|
|
compatible = "ns16550";
|
|
|
|
reg = <0x18020000 0x20>;
|
|
|
|
reg-shift = <2>;
|
|
|
|
clock-frequency = <25000000>;
|
|
|
|
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2019-02-05 09:50:55 +00:00
|
|
|
|
|
|
|
gmac0: eth0@0x19000000 {
|
|
|
|
compatible = "qca,ag953x-mac";
|
|
|
|
reg = <0x19000000 0x200>;
|
|
|
|
phy = <&phy4>;
|
|
|
|
phy-mode = "rmii";
|
|
|
|
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
gmac1: eth1@0x1a000000 {
|
|
|
|
compatible = "qca,ag953x-mac";
|
|
|
|
reg = <0x1a000000 0x200>;
|
|
|
|
phy = <&phy0>;
|
|
|
|
phy-mode = "rgmii";
|
|
|
|
|
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
mdio {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
phy0: ethernet-phy@0 {
|
|
|
|
reg = <0>;
|
|
|
|
phy-mode = "rmii";
|
|
|
|
};
|
|
|
|
phy4: ethernet-phy@4 {
|
|
|
|
reg = <4>;
|
|
|
|
phy-mode = "rmii";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2016-03-16 09:00:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
spi0: spi@1f000000 {
|
|
|
|
compatible = "qca,ar7100-spi";
|
|
|
|
reg = <0x1f000000 0x10>;
|
|
|
|
|
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|