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#include "bcm5301x-nand-cs0-bch4.dtsi" 10724ba675SRob Herring 11724ba675SRob Herring/ { 12724ba675SRob Herring compatible = "luxul,xwr-1200-v1", "brcm,bcm47081", "brcm,bcm4708"; 13724ba675SRob Herring model = "Luxul XWR-1200 V1"; 14724ba675SRob Herring 15724ba675SRob Herring chosen { 16724ba675SRob Herring bootargs = "console=ttyS0,115200"; 17724ba675SRob Herring }; 18724ba675SRob Herring 19724ba675SRob Herring memory@0 { 20724ba675SRob Herring device_type = "memory"; 21724ba675SRob Herring reg = <0x00000000 0x08000000>; 22724ba675SRob Herring }; 23724ba675SRob Herring 24724ba675SRob Herring nvram@1eff0000 { 25724ba675SRob Herring compatible = "brcm,nvram"; 26724ba675SRob Herring reg = <0x1eff0000 0x10000>; 27724ba675SRob Herring 28724ba675SRob Herring et0macaddr: et0macaddr { 29724ba675SRob Herring #nvmem-cell-cells = <1>; 30724ba675SRob Herring }; 31724ba675SRob Herring }; 32724ba675SRob Herring 33724ba675SRob Herring leds { 34724ba675SRob Herring compatible = "gpio-leds"; 35724ba675SRob Herring 36724ba675SRob Herring led-power { 37724ba675SRob Herring label = "bcm53xx:green:power"; 38724ba675SRob Herring gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>; 39724ba675SRob Herring linux,default-trigger = "default-on"; 40724ba675SRob Herring }; 41724ba675SRob Herring 42724ba675SRob Herring led-lan3 { 43724ba675SRob Herring label = "bcm53xx:green:lan3"; 44724ba675SRob Herring gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>; 45724ba675SRob Herring linux,default-trigger = "none"; 46724ba675SRob Herring }; 47724ba675SRob Herring 48724ba675SRob Herring led-lan4 { 49724ba675SRob Herring label = "bcm53xx:green:lan4"; 50724ba675SRob Herring gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>; 51724ba675SRob Herring linux,default-trigger = "none"; 52724ba675SRob Herring }; 53724ba675SRob Herring 54724ba675SRob Herring led-wan { 55724ba675SRob Herring label = "bcm53xx:green:wan"; 56724ba675SRob Herring gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; 57724ba675SRob Herring linux,default-trigger = "none"; 58724ba675SRob Herring }; 59724ba675SRob Herring 60724ba675SRob Herring led-lan2 { 61724ba675SRob Herring label = "bcm53xx:green:lan2"; 62724ba675SRob Herring gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>; 63724ba675SRob Herring linux,default-trigger = "none"; 64724ba675SRob Herring }; 65724ba675SRob Herring 66724ba675SRob Herring led-usb { 67724ba675SRob Herring label = "bcm53xx:green:usb"; 68724ba675SRob Herring gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>; 69724ba675SRob Herring trigger-sources = <&ohci_port2>, <&ehci_port2>; 70724ba675SRob Herring linux,default-trigger = "usbport"; 71724ba675SRob Herring }; 72724ba675SRob Herring 73724ba675SRob Herring led-status { 74724ba675SRob Herring label = "bcm53xx:green:status"; 75724ba675SRob Herring gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>; 76724ba675SRob Herring linux,default-trigger = "timer"; 77724ba675SRob Herring }; 78724ba675SRob Herring 79724ba675SRob Herring led-2ghz { 80724ba675SRob Herring label = "bcm53xx:green:2ghz"; 81724ba675SRob Herring gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>; 82724ba675SRob Herring linux,default-trigger = "none"; 83724ba675SRob Herring }; 84724ba675SRob Herring 85724ba675SRob Herring led-5ghz { 86724ba675SRob Herring label = "bcm53xx:green:5ghz"; 87724ba675SRob Herring gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>; 88724ba675SRob Herring linux,default-trigger = "none"; 89724ba675SRob Herring }; 90724ba675SRob Herring 91724ba675SRob Herring led-lan1 { 92724ba675SRob Herring label = "bcm53xx:green:lan1"; 93724ba675SRob Herring gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>; 94724ba675SRob Herring linux,default-trigger = "none"; 95724ba675SRob Herring }; 96724ba675SRob Herring }; 97724ba675SRob Herring 98724ba675SRob Herring gpio-keys { 99724ba675SRob Herring compatible = "gpio-keys"; 100724ba675SRob Herring 101724ba675SRob Herring button-restart { 102724ba675SRob Herring label = "Reset"; 103724ba675SRob Herring linux,code = <KEY_RESTART>; 104724ba675SRob Herring gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; 105724ba675SRob Herring }; 106724ba675SRob Herring }; 107724ba675SRob Herring}; 108724ba675SRob Herring 109724ba675SRob Herring&usb2 { 110724ba675SRob Herring vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>; 111724ba675SRob Herring}; 112724ba675SRob Herring 113724ba675SRob Herring&gmac0 { 114724ba675SRob Herring nvmem-cells = <&et0macaddr 0>; 115724ba675SRob Herring nvmem-cell-names = "mac-address"; 116724ba675SRob Herring}; 117724ba675SRob Herring 118724ba675SRob Herring&spi_nor { 119724ba675SRob Herring status = "okay"; 120724ba675SRob Herring}; 121724ba675SRob Herring 122724ba675SRob Herring&srab { 123724ba675SRob Herring status = "okay"; 124724ba675SRob Herring 125724ba675SRob Herring ports { 126724ba675SRob Herring port@0 { 127724ba675SRob Herring label = "lan4"; 128724ba675SRob Herring }; 129724ba675SRob Herring 130724ba675SRob Herring port@1 { 131724ba675SRob Herring label = "lan3"; 132724ba675SRob Herring }; 133724ba675SRob Herring 134724ba675SRob Herring port@2 { 135724ba675SRob Herring label = "lan2"; 136724ba675SRob Herring }; 137724ba675SRob Herring 138724ba675SRob Herring port@3 { 139724ba675SRob Herring label = "lan1"; 140724ba675SRob Herring }; 141724ba675SRob Herring 142724ba675SRob Herring port@4 { 143724ba675SRob Herring label = "wan"; 144724ba675SRob Herring nvmem-cells = <&et0macaddr 5>; 145724ba675SRob Herring nvmem-cell-names = "mac-address"; 146724ba675SRob Herring }; 147724ba675SRob Herring 148724ba675SRob Herring port@5 { 149724ba675SRob Herring label = "cpu"; 150724ba675SRob Herring }; 151*473baeabSRafał Miłecki 152*473baeabSRafał Miłecki port@7 { 153*473baeabSRafał Miłecki status = "disabled"; 154*473baeabSRafał Miłecki }; 155*473baeabSRafał Miłecki 156*473baeabSRafał Miłecki port@8 { 157*473baeabSRafał Miłecki status = "disabled"; 158*473baeabSRafał Miłecki }; 159724ba675SRob Herring }; 160724ba675SRob Herring}; 161