1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Copyright 2017 Luxul Inc.
4*724ba675SRob Herring */
5*724ba675SRob Herring
6*724ba675SRob Herring/dts-v1/;
7*724ba675SRob Herring
8*724ba675SRob Herring#include "bcm47081.dtsi"
9*724ba675SRob Herring
10*724ba675SRob Herring/ {
11*724ba675SRob Herring	compatible = "luxul,xap-1410-v1", "brcm,bcm47081", "brcm,bcm4708";
12*724ba675SRob Herring	model = "Luxul XAP-1410 V1";
13*724ba675SRob Herring
14*724ba675SRob Herring	chosen {
15*724ba675SRob Herring		bootargs = "console=ttyS0,115200";
16*724ba675SRob Herring	};
17*724ba675SRob Herring
18*724ba675SRob Herring	memory@0 {
19*724ba675SRob Herring		device_type = "memory";
20*724ba675SRob Herring		reg = <0x00000000 0x08000000>;
21*724ba675SRob Herring	};
22*724ba675SRob Herring
23*724ba675SRob Herring	nvram@1eff0000 {
24*724ba675SRob Herring		compatible = "brcm,nvram";
25*724ba675SRob Herring		reg = <0x1eff0000 0x10000>;
26*724ba675SRob Herring
27*724ba675SRob Herring		et0macaddr: et0macaddr {
28*724ba675SRob Herring		};
29*724ba675SRob Herring	};
30*724ba675SRob Herring
31*724ba675SRob Herring	leds {
32*724ba675SRob Herring		compatible = "gpio-leds";
33*724ba675SRob Herring
34*724ba675SRob Herring		led-5ghz {
35*724ba675SRob Herring			label = "bcm53xx:blue:5ghz";
36*724ba675SRob Herring			gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
37*724ba675SRob Herring			linux,default-trigger = "none";
38*724ba675SRob Herring		};
39*724ba675SRob Herring
40*724ba675SRob Herring		led-2ghz {
41*724ba675SRob Herring			label = "bcm53xx:blue:2ghz";
42*724ba675SRob Herring			gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
43*724ba675SRob Herring			linux,default-trigger = "none";
44*724ba675SRob Herring		};
45*724ba675SRob Herring
46*724ba675SRob Herring		led-status {
47*724ba675SRob Herring			label = "bcm53xx:green:status";
48*724ba675SRob Herring			gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
49*724ba675SRob Herring			linux,default-trigger = "timer";
50*724ba675SRob Herring		};
51*724ba675SRob Herring	};
52*724ba675SRob Herring
53*724ba675SRob Herring	gpio-keys {
54*724ba675SRob Herring		compatible = "gpio-keys";
55*724ba675SRob Herring
56*724ba675SRob Herring		button-restart {
57*724ba675SRob Herring			label = "Reset";
58*724ba675SRob Herring			linux,code = <KEY_RESTART>;
59*724ba675SRob Herring			gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
60*724ba675SRob Herring		};
61*724ba675SRob Herring	};
62*724ba675SRob Herring};
63*724ba675SRob Herring
64*724ba675SRob Herring&gmac0 {
65*724ba675SRob Herring	nvmem-cells = <&et0macaddr>;
66*724ba675SRob Herring	nvmem-cell-names = "mac-address";
67*724ba675SRob Herring};
68*724ba675SRob Herring
69*724ba675SRob Herring&spi_nor {
70*724ba675SRob Herring	status = "okay";
71*724ba675SRob Herring};
72*724ba675SRob Herring
73*724ba675SRob Herring&srab {
74*724ba675SRob Herring	status = "okay";
75*724ba675SRob Herring
76*724ba675SRob Herring	ports {
77*724ba675SRob Herring		port@4 {
78*724ba675SRob Herring			label = "poe";
79*724ba675SRob Herring		};
80*724ba675SRob Herring
81*724ba675SRob Herring		port@5 {
82*724ba675SRob Herring			label = "cpu";
83*724ba675SRob Herring		};
84*724ba675SRob Herring	};
85*724ba675SRob Herring};
86