b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | #include "bcm6348.dtsi" |
| 2 | |
| 3 | #include <dt-bindings/input/input.h> |
| 4 | |
| 5 | / { |
| 6 | model = "TECOM GW6000"; |
| 7 | compatible = "tecom,gw6000", "brcm,bcm6348"; |
| 8 | |
| 9 | chosen { |
| 10 | bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; |
| 11 | stdout-path = "serial0:115200n8"; |
| 12 | }; |
| 13 | |
| 14 | keys { |
| 15 | compatible = "gpio-keys-polled"; |
| 16 | #address-cells = <1>; |
| 17 | #size-cells = <0>; |
| 18 | poll-interval = <20>; |
| 19 | |
| 20 | reset { |
| 21 | label = "reset"; |
| 22 | gpios = <&pinctrl 36 1>; |
| 23 | linux,code = <KEY_RESTART>; |
| 24 | debounce-interval = <60>; |
| 25 | }; |
| 26 | }; |
| 27 | }; |
| 28 | |
| 29 | &pflash { |
| 30 | status = "okay"; |
| 31 | |
| 32 | partitions { |
| 33 | compatible = "fixed-partitions"; |
| 34 | #address-cells = <1>; |
| 35 | #size-cells = <1>; |
| 36 | |
| 37 | cfe@0 { |
| 38 | label = "CFE"; |
| 39 | reg = <0x000000 0x010000>; |
| 40 | read-only; |
| 41 | }; |
| 42 | |
| 43 | linux@10000 { |
| 44 | label = "linux"; |
| 45 | reg = <0x010000 0x3e0000>; |
| 46 | compatible = "brcm,bcm963xx-imagetag"; |
| 47 | }; |
| 48 | |
| 49 | nvram@3f0000 { |
| 50 | label = "nvram"; |
| 51 | reg = <0x3f0000 0x010000>; |
| 52 | }; |
| 53 | }; |
| 54 | }; |
| 55 | |
| 56 | &pinctrl { |
| 57 | pinctrl-names = "default"; |
| 58 | pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>; |
| 59 | }; |
| 60 | |
| 61 | &uart0 { |
| 62 | status = "okay"; |
| 63 | }; |