From acdf07cd3eb3d4aff09e0908c492859127524ab5 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Mon, 4 Jan 2021 00:56:57 +0100 Subject: ath79: keep DTSI files for D-Link SoC-specific It is good practice to define device tree files based on specific SoCs. Thus, let's not start to create files that are used across different architectures. Duplicate the DTSI file for D-Link DAP-2xxx in order to have one for qca953x and one for qca955x, respectively. Signed-off-by: Adrian Schmutzler --- target/linux/ath79/dts/qca955x_dlink_dap-2xxx.dtsi | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 target/linux/ath79/dts/qca955x_dlink_dap-2xxx.dtsi (limited to 'target/linux/ath79/dts/qca955x_dlink_dap-2xxx.dtsi') diff --git a/target/linux/ath79/dts/qca955x_dlink_dap-2xxx.dtsi b/target/linux/ath79/dts/qca955x_dlink_dap-2xxx.dtsi new file mode 100644 index 0000000000..ac7a0c85f0 --- /dev/null +++ b/target/linux/ath79/dts/qca955x_dlink_dap-2xxx.dtsi @@ -0,0 +1,56 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT + +#include "qca955x.dtsi" + +#include +#include + +&spi { + status = "okay"; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <50000000>; + + partitions: partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "u-boot"; + reg = <0x0 0x40000>; + read-only; + }; + + partition@40000 { + label = "bdcfg"; + reg = <0x40000 0x10000>; + read-only; + }; + + partition@50000 { + label = "rgdb"; + reg = <0x50000 0x10000>; + read-only; + }; + + partition@60000 { + label = "unused"; + reg = <0x60000 0x10000>; + read-only; + }; + }; + }; +}; + +&uart { + status = "okay"; +}; + +&wmac { + status = "okay"; + + mtd-cal-data = <&art 0x1000>; +}; -- cgit v1.2.3