Rafał Miłecki | 4317d55 | 2017-01-25 10:44:17 +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 "bcm4708.dtsi" |
| 10 | #include "bcm5301x-nand-cs0-bch8.dtsi" |
| 11 | |
| 12 | / { |
| 13 | compatible = "linksys,ea6300-v1", "brcm,bcm4708"; |
| 14 | model = "Linksys EA6300 V1"; |
| 15 | |
| 16 | chosen { |
| 17 | bootargs = "console=ttyS0,115200"; |
| 18 | }; |
| 19 | |
| 20 | memory { |
| 21 | reg = <0x00000000 0x08000000>; |
| 22 | }; |
| 23 | |
| 24 | gpio-keys { |
| 25 | compatible = "gpio-keys"; |
| 26 | #address-cells = <1>; |
| 27 | #size-cells = <0>; |
| 28 | |
| 29 | wps { |
| 30 | label = "WPS"; |
| 31 | linux,code = <KEY_WPS_BUTTON>; |
| 32 | gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>; |
| 33 | }; |
| 34 | |
| 35 | restart { |
| 36 | label = "Reset"; |
| 37 | linux,code = <KEY_RESTART>; |
| 38 | gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; |
| 39 | }; |
| 40 | }; |
| 41 | }; |