1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2724ba675SRob Herring/* 3724ba675SRob Herring * Broadcom BCM470X / BCM5301X ARM platform code. 4724ba675SRob Herring * DTS for Luxul XWC-1000 5724ba675SRob Herring * 6724ba675SRob Herring * Copyright 2014 Luxul Inc. 7724ba675SRob Herring */ 8724ba675SRob Herring 9724ba675SRob Herring/dts-v1/; 10724ba675SRob Herring 11724ba675SRob Herring#include "bcm4708.dtsi" 12724ba675SRob Herring#include "bcm5301x-nand-cs0-bch8.dtsi" 13724ba675SRob Herring 14724ba675SRob Herring/ { 15724ba675SRob Herring compatible = "luxul,xwc-1000", "brcm,bcm4708"; 16724ba675SRob Herring model = "Luxul XWC-1000 (BCM4708)"; 17724ba675SRob Herring 18724ba675SRob Herring chosen { 19724ba675SRob Herring bootargs = "console=ttyS0,115200 earlycon"; 20724ba675SRob Herring }; 21724ba675SRob Herring 22724ba675SRob Herring memory@0 { 23724ba675SRob Herring device_type = "memory"; 24724ba675SRob Herring reg = <0x00000000 0x08000000>; 25724ba675SRob Herring }; 26724ba675SRob Herring 27724ba675SRob Herring nvram@1eff0000 { 28724ba675SRob Herring compatible = "brcm,nvram"; 29724ba675SRob Herring reg = <0x1eff0000 0x10000>; 30724ba675SRob Herring 31724ba675SRob Herring et0macaddr: et0macaddr { 32724ba675SRob Herring }; 33724ba675SRob Herring }; 34724ba675SRob Herring 35724ba675SRob Herring nand_controller: nand-controller@18028000 { 36724ba675SRob Herring nand@0 { 37724ba675SRob Herring partitions { 38724ba675SRob Herring compatible = "fixed-partitions"; 39724ba675SRob Herring #address-cells = <1>; 40724ba675SRob Herring #size-cells = <1>; 41724ba675SRob Herring 42724ba675SRob Herring partition@0 { 43724ba675SRob Herring label = "ubi"; 44724ba675SRob Herring reg = <0x00000000 0x08000000>; 45724ba675SRob Herring }; 46724ba675SRob Herring }; 47724ba675SRob Herring }; 48724ba675SRob Herring }; 49724ba675SRob Herring 50724ba675SRob Herring leds { 51724ba675SRob Herring compatible = "gpio-leds"; 52724ba675SRob Herring 53724ba675SRob Herring led-status { 54724ba675SRob Herring label = "bcm53xx:green:status"; 55724ba675SRob Herring gpios = <&chipcommon 0 GPIO_ACTIVE_HIGH>; 56724ba675SRob Herring linux,default-trigger = "timer"; 57724ba675SRob Herring }; 58724ba675SRob Herring }; 59724ba675SRob Herring 60724ba675SRob Herring gpio-keys { 61724ba675SRob Herring compatible = "gpio-keys"; 62724ba675SRob Herring 63724ba675SRob Herring button-restart { 64724ba675SRob Herring label = "Reset"; 65724ba675SRob Herring linux,code = <KEY_RESTART>; 66724ba675SRob Herring gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>; 67724ba675SRob Herring }; 68724ba675SRob Herring }; 69724ba675SRob Herring}; 70724ba675SRob Herring 71724ba675SRob Herring&gmac0 { 72724ba675SRob Herring nvmem-cells = <&et0macaddr>; 73724ba675SRob Herring nvmem-cell-names = "mac-address"; 74724ba675SRob Herring}; 75724ba675SRob Herring 76724ba675SRob Herring&spi_nor { 77724ba675SRob Herring status = "okay"; 78724ba675SRob Herring}; 79724ba675SRob Herring 80724ba675SRob Herring&srab { 81724ba675SRob Herring status = "okay"; 82724ba675SRob Herring 83724ba675SRob Herring ports { 84724ba675SRob Herring port@4 { 85724ba675SRob Herring label = "lan"; 86724ba675SRob Herring }; 87724ba675SRob Herring 88724ba675SRob Herring port@5 { 89724ba675SRob Herring label = "cpu"; 90724ba675SRob Herring }; 91*473baeabSRafał Miłecki 92*473baeabSRafał Miłecki port@7 { 93*473baeabSRafał Miłecki status = "disabled"; 94*473baeabSRafał Miłecki }; 95*473baeabSRafał Miłecki 96*473baeabSRafał Miłecki port@8 { 97*473baeabSRafał Miłecki status = "disabled"; 98*473baeabSRafał Miłecki }; 99724ba675SRob Herring }; 100724ba675SRob Herring}; 101