1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2724ba675SRob Herring/* 3724ba675SRob Herring * Copyright 2017 Luxul Inc. 4724ba675SRob Herring */ 5724ba675SRob Herring 6724ba675SRob Herring/dts-v1/; 7724ba675SRob Herring 8724ba675SRob Herring#include "bcm47081.dtsi" 9724ba675SRob Herring 10724ba675SRob Herring/ { 11724ba675SRob Herring compatible = "luxul,xap-1410-v1", "brcm,bcm47081", "brcm,bcm4708"; 12724ba675SRob Herring model = "Luxul XAP-1410 V1"; 13724ba675SRob Herring 14724ba675SRob Herring chosen { 15724ba675SRob Herring bootargs = "console=ttyS0,115200"; 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@4 { 78724ba675SRob Herring label = "poe"; 79724ba675SRob Herring }; 80724ba675SRob Herring 81724ba675SRob Herring port@5 { 82724ba675SRob Herring label = "cpu"; 83724ba675SRob Herring }; 84*fca21e13SRafał Miłecki 85*fca21e13SRafał Miłecki port@7 { 86*fca21e13SRafał Miłecki status = "disabled"; 87*fca21e13SRafał Miłecki }; 88*fca21e13SRafał Miłecki 89*fca21e13SRafał Miłecki port@8 { 90*fca21e13SRafał Miłecki status = "disabled"; 91*fca21e13SRafał Miłecki }; 92724ba675SRob Herring }; 93724ba675SRob Herring}; 94