xref: /linux/scripts/dtc/include-prefixes/arm/broadcom/bcm4708-luxul-xap-1510.dts (revision 0ea5c948cb64bab5bc7a5516774eb8536f05aa0d)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2724ba675SRob Herring/*
3724ba675SRob Herring * Copyright 2016 Luxul Inc.
4724ba675SRob Herring */
5724ba675SRob Herring
6724ba675SRob Herring/dts-v1/;
7724ba675SRob Herring
8724ba675SRob Herring#include "bcm4708.dtsi"
9724ba675SRob Herring
10724ba675SRob Herring/ {
11724ba675SRob Herring	compatible = "luxul,xap-1510-v1", "brcm,bcm4708";
12724ba675SRob Herring	model = "Luxul XAP-1510 V1";
13724ba675SRob Herring
14724ba675SRob Herring	chosen {
15724ba675SRob Herring		bootargs = "console=ttyS0,115200 earlycon";
16724ba675SRob Herring	};
17724ba675SRob Herring
18724ba675SRob Herring	memory@0 {
19724ba675SRob Herring		device_type = "memory";
20724ba675SRob Herring		reg = <0x00000000 0x08000000>;
21724ba675SRob Herring	};
22724ba675SRob Herring
23724ba675SRob Herring	nvram@1eff0000 {
24724ba675SRob Herring		compatible = "brcm,nvram";
25724ba675SRob Herring		reg = <0x1eff0000 0x10000>;
26724ba675SRob Herring
27724ba675SRob Herring		et0macaddr: et0macaddr {
28724ba675SRob Herring		};
29724ba675SRob Herring	};
30724ba675SRob Herring
31724ba675SRob Herring	leds {
32724ba675SRob Herring		compatible = "gpio-leds";
33724ba675SRob Herring
34724ba675SRob Herring		led-5ghz {
35724ba675SRob Herring			label = "bcm53xx:blue:5ghz";
36724ba675SRob Herring			gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
37724ba675SRob Herring			linux,default-trigger = "none";
38724ba675SRob Herring		};
39724ba675SRob Herring
40724ba675SRob Herring		led-2ghz {
41724ba675SRob Herring			label = "bcm53xx:blue:2ghz";
42724ba675SRob Herring			gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
43724ba675SRob Herring			linux,default-trigger = "none";
44724ba675SRob Herring		};
45724ba675SRob Herring
46724ba675SRob Herring		led-status {
47724ba675SRob Herring			label = "bcm53xx:green:status";
48724ba675SRob Herring			gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
49724ba675SRob Herring			linux,default-trigger = "timer";
50724ba675SRob Herring		};
51724ba675SRob Herring	};
52724ba675SRob Herring
53724ba675SRob Herring	gpio-keys {
54724ba675SRob Herring		compatible = "gpio-keys";
55724ba675SRob Herring
56724ba675SRob Herring		button-restart {
57724ba675SRob Herring			label = "Reset";
58724ba675SRob Herring			linux,code = <KEY_RESTART>;
59724ba675SRob Herring			gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
60724ba675SRob Herring		};
61724ba675SRob Herring	};
62724ba675SRob Herring};
63724ba675SRob Herring
64724ba675SRob Herring&gmac0 {
65724ba675SRob Herring	nvmem-cells = <&et0macaddr>;
66724ba675SRob Herring	nvmem-cell-names = "mac-address";
67724ba675SRob Herring};
68724ba675SRob Herring
69724ba675SRob Herring&spi_nor {
70724ba675SRob Herring	status = "okay";
71724ba675SRob Herring};
72724ba675SRob Herring
73724ba675SRob Herring&srab {
74724ba675SRob Herring	status = "okay";
75724ba675SRob Herring
76724ba675SRob Herring	ports {
77724ba675SRob Herring		port@0 {
78724ba675SRob Herring			label = "poe";
79724ba675SRob Herring		};
80724ba675SRob Herring
81724ba675SRob Herring		port@4 {
82724ba675SRob Herring			label = "lan";
83724ba675SRob Herring		};
84724ba675SRob Herring
85724ba675SRob Herring		port@5 {
86724ba675SRob Herring			label = "cpu";
87724ba675SRob Herring		};
88*473baeabSRafał Miłecki
89*473baeabSRafał Miłecki		port@7 {
90*473baeabSRafał Miłecki			status = "disabled";
91*473baeabSRafał Miłecki		};
92*473baeabSRafał Miłecki
93*473baeabSRafał Miłecki		port@8 {
94*473baeabSRafał Miłecki			status = "disabled";
95*473baeabSRafał Miłecki		};
96724ba675SRob Herring	};
97724ba675SRob Herring};
98