Dan Haab | fe91846 | 2016-09-27 11:27:10 -0600 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2016 Luxul Inc. |
| 3 | * |
| 4 | * Licensed under the ISC license. |
| 5 | */ |
| 6 | |
| 7 | /dts-v1/; |
| 8 | |
| 9 | #include "bcm4708.dtsi" |
| 10 | |
| 11 | / { |
| 12 | compatible = "luxul,xap-1510v1", "brcm,bcm4708"; |
| 13 | model = "Luxul XAP-1510 V1"; |
| 14 | |
| 15 | chosen { |
| 16 | bootargs = "console=ttyS0,115200 earlycon"; |
| 17 | }; |
| 18 | |
| 19 | memory { |
| 20 | reg = <0x00000000 0x08000000>; |
| 21 | }; |
| 22 | |
| 23 | leds { |
| 24 | compatible = "gpio-leds"; |
| 25 | |
| 26 | 5ghz { |
| 27 | label = "bcm53xx:blue:5ghz"; |
| 28 | gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>; |
| 29 | linux,default-trigger = "none"; |
| 30 | }; |
| 31 | |
| 32 | 2ghz { |
| 33 | label = "bcm53xx:blue:2ghz"; |
| 34 | gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>; |
| 35 | linux,default-trigger = "none"; |
| 36 | }; |
| 37 | |
| 38 | status { |
| 39 | label = "bcm53xx:green:status"; |
| 40 | gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>; |
| 41 | linux,default-trigger = "timer"; |
| 42 | }; |
| 43 | }; |
| 44 | |
| 45 | gpio-keys { |
| 46 | compatible = "gpio-keys"; |
| 47 | #address-cells = <1>; |
| 48 | #size-cells = <0>; |
| 49 | |
| 50 | restart { |
| 51 | label = "Reset"; |
| 52 | linux,code = <KEY_RESTART>; |
| 53 | gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; |
| 54 | }; |
| 55 | }; |
| 56 | }; |
| 57 | |
Dan Haab | fe91846 | 2016-09-27 11:27:10 -0600 | [diff] [blame] | 58 | &spi_nor { |
| 59 | status = "okay"; |
| 60 | }; |