Back to home page

OSCL-LXR

 
 

    


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