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 = "Alice W-Gate"; |
| 7 | compatible = "telsey,magic", "brcm,bcm6348"; |
| 8 | |
| 9 | chosen { |
| 10 | bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; |
| 11 | stdout-path = "serial0:115200n8"; |
| 12 | }; |
| 13 | |
| 14 | leds { |
| 15 | compatible = "gpio-leds"; |
| 16 | |
| 17 | power { |
| 18 | label = "green:power"; |
| 19 | gpios = <&pinctrl 0 1>; |
| 20 | default-state = "on"; |
| 21 | }; |
| 22 | |
| 23 | stop { |
| 24 | label = "green:stop"; |
| 25 | gpios = <&pinctrl 1 1>; |
| 26 | }; |
| 27 | |
| 28 | hpna { |
| 29 | label = "green:hpna"; |
| 30 | gpios = <&pinctrl 4 1>; |
| 31 | }; |
| 32 | |
| 33 | status { |
| 34 | label = "green:adsl"; |
| 35 | gpios = <&pinctrl 5 1>; |
| 36 | }; |
| 37 | |
| 38 | voip { |
| 39 | label = "green:voip"; |
| 40 | gpios = <&pinctrl 22 1>; |
| 41 | }; |
| 42 | |
| 43 | wifi { |
| 44 | label = "green:wifi"; |
| 45 | gpios = <&pinctrl 28 0>; |
| 46 | }; |
| 47 | |
| 48 | usb { |
| 49 | label = "green:usb"; |
| 50 | gpios = <&pinctrl 35 1>; |
| 51 | }; |
| 52 | }; |
| 53 | }; |
| 54 | |
| 55 | &pflash { |
| 56 | status = "okay"; |
| 57 | |
| 58 | partitions { |
| 59 | compatible = "fixed-partitions"; |
| 60 | #address-cells = <1>; |
| 61 | #size-cells = <1>; |
| 62 | |
| 63 | cfe@0 { |
| 64 | label = "CFE"; |
| 65 | reg = <0x000000 0x010000>; |
| 66 | read-only; |
| 67 | }; |
| 68 | |
| 69 | linux@10000 { |
| 70 | label = "linux"; |
| 71 | reg = <0x010000 0x3e0000>; |
| 72 | compatible = "brcm,bcm963xx-imagetag"; |
| 73 | }; |
| 74 | |
| 75 | nvram@3f0000 { |
| 76 | label = "nvram"; |
| 77 | reg = <0x3f0000 0x010000>; |
| 78 | }; |
| 79 | }; |
| 80 | }; |
| 81 | |
| 82 | &pinctrl { |
| 83 | pinctrl-names = "default"; |
| 84 | pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>; |
| 85 | }; |
| 86 | |
| 87 | &uart0 { |
| 88 | status = "okay"; |
| 89 | }; |