1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca956x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 label-mac-device = ð0;
14 compatible = "gpio-keys";
17 linux,code = <KEY_RESTART>;
18 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
19 debounce-interval = <60>;
27 pll-data = <0x03000101 0x00000101 0x00001919>;
29 nvmem-cells = <&macaddr_art_0>;
30 nvmem-cell-names = "mac-address";
38 phy0: ethernet-phy@0 {
42 qca,ar8327-initvals = <
43 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
44 0x10 0x81000080 /* POWER_ON_STRAP */
45 0x50 0xcf37cf37 /* LED_CTRL0 */
46 0x54 0xcf37cf37 /* LED_CTRL1 */
47 0x58 0xcf37cf37 /* LED_CTRL2 */
48 0x5c 0x0000c300 /* LED_CTRL3 */
49 0x7c 0x0000007e /* PORT0_STATUS */
58 compatible = "pci168c,0056";
59 reg = <0x0000 0 0 0 0>;
60 nvmem-cells = <&precal_art_5000>;
61 nvmem-cell-names = "pre-calibration";
69 compatible = "jedec,spi-nor";
71 spi-max-frequency = <25000000>;
74 compatible = "fixed-partitions";
80 reg = <0x000000 0x040000>;
86 reg = <0x040000 0x010000>;
90 compatible = "denx,uimage";
92 reg = <0x050000 0xfa0000>;
95 art: partition@ff0000 {
97 reg = <0xff0000 0x010000>;
101 compatible = "fixed-layout";
102 #address-cells = <1>;
105 macaddr_art_0: macaddr@0 {
109 precal_art_5000: pre-calibration@5000 {
110 reg = <0x5000 0x2f20>;
121 mtd-cal-data = <&art 0x1000>;