Linux Audio

Check our new training course

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