Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
0002 /*
0003  * Copyright 2017 Luxul Inc.
0004  */
0005 
0006 /dts-v1/;
0007 
0008 #include "bcm53573.dtsi"
0009 
0010 / {
0011         compatible = "luxul,xap-810-v1", "brcm,bcm47189", "brcm,bcm53573";
0012         model = "Luxul XAP-810 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                 5ghz {
0027                         label = "bcm53xx:blue:5ghz";
0028                         gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
0029                         linux,default-trigger = "default-off";
0030                 };
0031 
0032                 system {
0033                         label = "bcm53xx:green:system";
0034                         gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
0035                         linux,default-trigger = "timer";
0036                 };
0037         };
0038 
0039         pcie0_leds {
0040                 compatible = "gpio-leds";
0041 
0042                 2ghz {
0043                         label = "bcm53xx:blue:2ghz";
0044                         gpios = <&pcie0_chipcommon 3 GPIO_ACTIVE_HIGH>;
0045                         linux,default-trigger = "default-off";
0046                 };
0047         };
0048 
0049         gpio-keys {
0050                 compatible = "gpio-keys";
0051 
0052                 button-restart {
0053                         label = "Reset";
0054                         linux,code = <KEY_RESTART>;
0055                         gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
0056                 };
0057         };
0058 };
0059 
0060 &pcie0 {
0061         ranges = <0x00000000 0 0 0 0 0x00100000>;
0062         #address-cells = <3>;
0063         #size-cells = <2>;
0064 
0065         bridge@0,0,0 {
0066                 reg = <0x0000 0 0 0 0>;
0067                 ranges = <0x00000000 0 0 0 0 0 0 0x00100000>;
0068                 #address-cells = <3>;
0069                 #size-cells = <2>;
0070 
0071                 wifi@0,1,0 {
0072                         reg = <0x0000 0 0 0 0>;
0073                         ranges = <0x00000000 0 0 0 0x00100000>;
0074                         #address-cells = <1>;
0075                         #size-cells = <1>;
0076 
0077                         pcie0_chipcommon: chipcommon@0 {
0078                                 reg = <0 0x1000>;
0079 
0080                                 gpio-controller;
0081                                 #gpio-cells = <2>;
0082                         };
0083                 };
0084         };
0085 };