ath79: drop and consolidate redundant chosen/bootargs
[openwrt/staging/chunkeey.git] / target / linux / ath79 / dts / tp9343_tplink_tl-wx.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 #include "qca956x.dtsi"
7
8 &spi {
9 status = "okay";
10
11 num-cs = <1>;
12
13 flash@0 {
14 compatible = "jedec,spi-nor";
15 reg = <0>;
16 spi-max-frequency = <25000000>;
17
18 partitions {
19 compatible = "fixed-partitions";
20 #address-cells = <1>;
21 #size-cells = <1>;
22
23 uboot: partition@0 {
24 label = "u-boot";
25 reg = <0x000000 0x020000>;
26 read-only;
27 };
28
29 partition@20000 {
30 compatible = "tplink,firmware";
31 label = "firmware";
32 reg = <0x020000 0x3d0000>;
33 };
34
35 art: partition@3f0000 {
36 label = "art";
37 reg = <0x3f0000 0x010000>;
38 read-only;
39 };
40 };
41 };
42 };
43
44 &uart {
45 status = "okay";
46 };
47
48 &eth0 {
49 status = "okay";
50
51 phy-handle = <&swphy4>;
52
53 mtd-mac-address = <&uboot 0x1fc00>;
54 mtd-mac-address-increment = <1>;
55 };
56
57 &eth1 {
58 status = "okay";
59 };
60
61 &wmac {
62 status = "okay";
63
64 mtd-cal-data = <&art 0x1000>;
65 mtd-mac-address = <&uboot 0x1fc00>;
66 };