Linux Audio

Check our new training course

In-person Linux kernel drivers training

Jun 16-20, 2025
Register
Loading...
Note: File does not exist in v3.5.6.
  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	nvram@1eff0000 {
 26		compatible = "brcm,nvram";
 27		reg = <0x1eff0000 0x10000>;
 28
 29		et0macaddr: et0macaddr {
 30		};
 31	};
 32
 33	leds {
 34		compatible = "gpio-leds";
 35
 36		led-power {
 37			label = "bcm53xx:green:power";
 38			gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
 39			linux,default-trigger = "default-on";
 40		};
 41
 42		led-usb3 {
 43			label = "bcm53xx:green:usb3";
 44			gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
 45			trigger-sources = <&ohci_port1>, <&ehci_port1>,
 46					  <&xhci_port1>;
 47			linux,default-trigger = "usbport";
 48		};
 49
 50		led-status {
 51			label = "bcm53xx:green:status";
 52			gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
 53			linux,default-trigger = "timer";
 54		};
 55
 56		led-2ghz {
 57			label = "bcm53xx:green:2ghz";
 58			gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
 59		};
 60
 61		led-5ghz {
 62			label = "bcm53xx:green:5ghz";
 63			gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
 64		};
 65	};
 66
 67	gpio-keys {
 68		compatible = "gpio-keys";
 69
 70		button-restart {
 71			label = "Reset";
 72			linux,code = <KEY_RESTART>;
 73			gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
 74		};
 75	};
 76};
 77
 78&gmac0 {
 79	nvmem-cells = <&et0macaddr>;
 80	nvmem-cell-names = "mac-address";
 81};
 82
 83&usb3 {
 84	vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
 85};
 86
 87&usb3_phy {
 88	status = "okay";
 89};
 90
 91&spi_nor {
 92	status = "okay";
 93};
 94
 95&srab {
 96	status = "okay";
 97
 98	ports {
 99		port@0 {
100			reg = <0>;
101			label = "lan4";
102		};
103
104		port@1 {
105			reg = <1>;
106			label = "lan3";
107		};
108
109		port@2 {
110			reg = <2>;
111			label = "lan2";
112		};
113
114		port@3 {
115			reg = <3>;
116			label = "lan1";
117		};
118
119		port@4 {
120			reg = <4>;
121			label = "wan";
122		};
123
124		port@5 {
125			reg = <5>;
126			label = "cpu";
127			ethernet = <&gmac0>;
128		};
129	};
130};