b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | #include "bcm6338.dtsi" |
| 2 | |
| 3 | #include <dt-bindings/input/input.h> |
| 4 | |
| 5 | / { |
| 6 | model = "Dynalink RTA1320"; |
| 7 | compatible = "dynalink,rta1320", "brcm,bcm6338"; |
| 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 | green_power { |
| 18 | label = "green:power"; |
| 19 | gpios = <&gpio0 0 1>; |
| 20 | default-state = "on"; |
| 21 | }; |
| 22 | green_stop { |
| 23 | label = "green:stop"; |
| 24 | gpios = <&gpio0 1 1>; |
| 25 | }; |
| 26 | green_adsl { |
| 27 | label = "green:adsl"; |
| 28 | gpios = <&gpio0 3 1>; |
| 29 | }; |
| 30 | green_ppp { |
| 31 | label = "green:ppp"; |
| 32 | gpios = <&gpio0 4 1>; |
| 33 | }; |
| 34 | }; |
| 35 | }; |
| 36 | |
| 37 | &pflash { |
| 38 | status = "okay"; |
| 39 | |
| 40 | partitions { |
| 41 | compatible = "fixed-partitions"; |
| 42 | #address-cells = <1>; |
| 43 | #size-cells = <1>; |
| 44 | |
| 45 | cfe@0 { |
| 46 | label = "CFE"; |
| 47 | reg = <0x000000 0x010000>; |
| 48 | read-only; |
| 49 | }; |
| 50 | |
| 51 | linux@10000 { |
| 52 | label = "linux"; |
| 53 | reg = <0x010000 0x3e0000>; |
| 54 | compatible = "brcm,bcm963xx-imagetag"; |
| 55 | }; |
| 56 | |
| 57 | nvram@3f0000 { |
| 58 | label = "nvram"; |
| 59 | reg = <0x3f0000 0x010000>; |
| 60 | }; |
| 61 | }; |
| 62 | }; |
| 63 | |
| 64 | &uart0 { |
| 65 | status = "okay"; |
| 66 | }; |