Rafał Miłecki | 9e0a805 | 2017-01-25 08:09:16 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2017 Rafał Miłecki <rafal@milecki.pl> |
| 3 | * |
| 4 | * Licensed under the ISC license. |
| 5 | */ |
| 6 | |
| 7 | /dts-v1/; |
| 8 | |
| 9 | #include "bcm4709.dtsi" |
| 10 | #include "bcm5301x-nand-cs0-bch8.dtsi" |
| 11 | |
| 12 | / { |
| 13 | compatible = "linksys,ea9200", "brcm,bcm4709", "brcm,bcm4708"; |
| 14 | model = "Linksys EA9200"; |
| 15 | |
| 16 | chosen { |
| 17 | bootargs = "console=ttyS0,115200"; |
| 18 | }; |
| 19 | |
| 20 | memory { |
| 21 | reg = <0x00000000 0x08000000 |
| 22 | 0x88000000 0x08000000>; |
| 23 | }; |
| 24 | |
| 25 | gpio-keys { |
| 26 | compatible = "gpio-keys"; |
| 27 | #address-cells = <1>; |
| 28 | #size-cells = <0>; |
| 29 | |
| 30 | wps { |
| 31 | label = "WPS"; |
| 32 | linux,code = <KEY_WPS_BUTTON>; |
| 33 | gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; |
| 34 | }; |
| 35 | |
| 36 | restart { |
| 37 | label = "Reset"; |
| 38 | linux,code = <KEY_RESTART>; |
| 39 | gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; |
| 40 | }; |
| 41 | }; |
| 42 | }; |