ath79: drop and consolidate redundant chosen/bootargs
[oweals/openwrt.git] / target / linux / ath79 / dts / qca9558_comfast_cf-wr650ac.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 "qca955x.dtsi"
7
8 / {
9         keys {
10                 compatible = "gpio-keys";
11
12                 reset {
13                         label = "reset";
14                         linux,code = <KEY_RESTART>;
15                         gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
16                         debounce-interval = <60>;
17                 };
18         };
19
20         watchdog {
21                 compatible = "linux,wdt-gpio";
22                 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
23                 hw_algo = "toggle";
24                 hw_margin_ms = <500>;
25                 always-running;
26         };
27 };
28
29 &pcie0 {
30         status = "okay";
31 };
32
33 &uart {
34         status = "okay";
35 };
36
37 &usb_phy0 {
38         status = "okay";
39 };
40
41 &usb0 {
42         status = "okay";
43 };
44
45 &mdio0 {
46         status = "okay";
47
48         switch0@1f {
49                 compatible = "qca,ar8327";
50                 reg = <0x1f>;
51                 qca,ar8327-initvals = <
52                         0x04 0x87600000 /* PORT0 PAD MODE CTRL */
53                         0x0c 0x00080080 /* PORT6 PAD MODE CTRL */
54                         0x10 0x81000080 /* POWER_ON_STRIP */
55                         0x7c 0x0000007e /* PORT0_STATUS */
56                         0x94 0x0000007e /* PORT6 STATUS */
57                         >;
58         };
59 };
60
61 &eth0 {
62         status = "okay";
63
64         pll-data = <0xa6000000 0x00000101 0x00001616>;
65         mtd-mac-address = <&art 0x0>;
66         fixed-link {
67                 speed = <1000>;
68                 full-duplex;
69         };
70 };
71
72 &eth1 {
73         status = "okay";
74
75         pll-data = <0x03000101 0x00000101 0x00001616>;
76         mtd-mac-address = <&art 0x6>;
77         fixed-link {
78                 speed = <1000>;
79                 full-duplex;
80         };
81 };
82
83 &wmac {
84         status = "okay";
85
86         mtd-cal-data = <&art 0x1000>;
87         mtd-mac-address = <&art 0x18>;
88 };
89
90 // This node is required for the Ethernet ports to work correctly.
91 &gpio {
92         status = "okay";
93 };