openwrt/target/linux/ath79/dts/ar7161_ruckus_zf7363.dts
Rosen Penev 9783340af9 ath79: ar: convert to nvmem-layout
Will allow removing deprecated mac-address-increment.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-11-25 21:34:18 -08:00

58 lines
893 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include "ar7161_ruckus_zf734x.dtsi"
/ {
model = "Ruckus ZoneFlex 7343/7363[-U]";
compatible = "ruckus,zf7363", "qca,ar7161";
};
&mdio0 {
ethernet-phy@0 {
reg = <0x0>;
max-speed = <100>;
};
ethernet-phy@1 {
reg = <0x1>;
max-speed = <100>;
};
};
&eth1 {
status = "okay";
pll-data = <0x00110000 0x00001099 0x00991099>;
nvmem-cells = <&macaddr_bdata_6c>;
nvmem-cell-names = "mac-address";
phy-mode = "rgmii-id";
fixed-link {
speed = <100>;
full-duplex;
};
};
&board_data {
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
macaddr_bdata_60: macaddr@60 {
reg = <0x60 0x6>;
};
macaddr_bdata_66: macaddr@66 {
reg = <0x66 0x6>;
};
macaddr_bdata_6c: macaddr@6c {
reg = <0x6c 0x6>;
};
macaddr_bdata_76: macaddr@76 {
reg = <0x76 0x6>;
};
};
};