Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
0002 /*
0003  * Copyright 2018 Luxul Inc.
0004  */
0005 
0006 /dts-v1/;
0007 
0008 #include "bcm47094.dtsi"
0009 
0010 / {
0011         compatible = "luxul,xap-1610-v1", "brcm,bcm47094", "brcm,bcm4708";
0012         model = "Luxul XAP-1610 V1";
0013 
0014         chosen {
0015                 bootargs = "earlycon";
0016         };
0017 
0018         memory@0 {
0019                 device_type = "memory";
0020                 reg = <0x00000000 0x08000000>;
0021         };
0022 
0023         leds {
0024                 compatible = "gpio-leds";
0025 
0026                 status  {
0027                         label = "bcm53xx:green:status";
0028                         gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
0029                         linux,default-trigger = "timer";
0030                 };
0031 
0032                 2ghz {
0033                         label = "bcm53xx:blue:2ghz";
0034                         gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
0035                 };
0036 
0037                 5ghz {
0038                         label = "bcm53xx:blue:5ghz";
0039                         gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
0040                 };
0041         };
0042 
0043         gpio-keys {
0044                 compatible = "gpio-keys";
0045 
0046                 button-restart {
0047                         label = "Reset";
0048                         linux,code = <KEY_RESTART>;
0049                         gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
0050                 };
0051         };
0052 };
0053 
0054 &spi_nor {
0055         status = "okay";
0056 };
0057 
0058 &srab {
0059         status = "okay";
0060 
0061         ports {
0062                 port@0 {
0063                         reg = <0>;
0064                         label = "poe";
0065                 };
0066 
0067                 port@1 {
0068                         reg = <1>;
0069                         label = "lan";
0070                 };
0071 
0072                 port@5 {
0073                         reg = <5>;
0074                         label = "cpu";
0075                         ethernet = <&gmac0>;
0076                 };
0077         };
0078 };