1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2/* 3 * Copyright 2018 Luxul Inc. 4 */ 5 6/dts-v1/; 7 8#include "bcm47094.dtsi" 9#include "bcm5301x-nand-cs0-bch8.dtsi" 10 11/ { 12 compatible = "luxul,xwr-3150-v1", "brcm,bcm47094", "brcm,bcm4708"; 13 model = "Luxul XWR-3150 V1"; 14 15 chosen { 16 bootargs = "earlycon"; 17 }; 18 19 memory@0 { 20 device_type = "memory"; 21 reg = <0x00000000 0x08000000 22 0x88000000 0x18000000>; 23 }; 24 25 leds { 26 compatible = "gpio-leds"; 27 28 power { 29 label = "bcm53xx:green:power"; 30 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>; 31 linux,default-trigger = "default-on"; 32 }; 33 34 usb3 { 35 label = "bcm53xx:green:usb3"; 36 gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>; 37 trigger-sources = <&ohci_port1>, <&ehci_port1>, 38 <&xhci_port1>; 39 linux,default-trigger = "usbport"; 40 }; 41 42 status { 43 label = "bcm53xx:green:status"; 44 gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>; 45 linux,default-trigger = "timer"; 46 }; 47 48 2ghz { 49 label = "bcm53xx:green:2ghz"; 50 gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>; 51 }; 52 53 5ghz { 54 label = "bcm53xx:green:5ghz"; 55 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>; 56 }; 57 }; 58 59 gpio-keys { 60 compatible = "gpio-keys"; 61 62 restart { 63 label = "Reset"; 64 linux,code = <KEY_RESTART>; 65 gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; 66 }; 67 }; 68}; 69 70&usb3 { 71 vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>; 72}; 73 74&spi_nor { 75 status = "okay"; 76}; 77 78&srab { 79 status = "okay"; 80 81 ports { 82 #address-cells = <1>; 83 #size-cells = <0>; 84 85 port@0 { 86 reg = <0>; 87 label = "lan4"; 88 }; 89 90 port@1 { 91 reg = <1>; 92 label = "lan3"; 93 }; 94 95 port@2 { 96 reg = <2>; 97 label = "lan2"; 98 }; 99 100 port@3 { 101 reg = <3>; 102 label = "lan1"; 103 }; 104 105 port@4 { 106 reg = <4>; 107 label = "wan"; 108 }; 109 110 port@5 { 111 reg = <5>; 112 label = "cpu"; 113 ethernet = <&gmac0>; 114 }; 115 }; 116}; 117