| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | #include "bcm6345.dtsi" |
| 2 | |
| 3 | #include <dt-bindings/input/input.h> |
| 4 | |
| 5 | / { |
| 6 | model = "Siemens Gigaset SE515"; |
| 7 | compatible = "dynalink,rta770bw", "brcm,bcm6345"; |
| 8 | |
| 9 | aliases { |
| 10 | led-boot = &led_diag; |
| 11 | led-failsafe = &led_diag; |
| 12 | led-running = &led_diag; |
| 13 | led-upgrade = &led_diag; |
| 14 | }; |
| 15 | |
| 16 | chosen { |
| 17 | bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; |
| 18 | stdout-path = "serial0:115200n8"; |
| 19 | }; |
| 20 | |
| 21 | keys { |
| 22 | compatible = "gpio-keys-polled"; |
| 23 | #address-cells = <1>; |
| 24 | #size-cells = <0>; |
| 25 | poll-interval = <20>; |
| 26 | |
| 27 | reset { |
| 28 | label = "reset"; |
| 29 | gpios = <&gpio0 13 1>; |
| 30 | linux,code = <KEY_RESTART>; |
| 31 | debounce-interval = <60>; |
| 32 | }; |
| 33 | }; |
| 34 | |
| 35 | leds { |
| 36 | compatible = "gpio-leds"; |
| 37 | |
| 38 | usb { |
| 39 | label = "green:usb"; |
| 40 | gpios = <&gpio0 7 1>; |
| 41 | }; |
| 42 | |
| 43 | adsl { |
| 44 | label = "green:adsl"; |
| 45 | gpios = <&gpio0 8 0>; |
| 46 | }; |
| 47 | |
| 48 | led_diag: diag { |
| 49 | label = "green:diag"; |
| 50 | gpios = <&gpio0 10 1>; |
| 51 | }; |
| 52 | |
| 53 | wlan { |
| 54 | label = "green:wlan"; |
| 55 | gpios = <&gpio0 11 1>; |
| 56 | }; |
| 57 | }; |
| 58 | }; |
| 59 | |
| 60 | &pflash { |
| 61 | status = "okay"; |
| 62 | |
| 63 | partitions { |
| 64 | compatible = "fixed-partitions"; |
| 65 | #address-cells = <1>; |
| 66 | #size-cells = <1>; |
| 67 | |
| 68 | cfe@0 { |
| 69 | label = "CFE"; |
| 70 | reg = <0x000000 0x010000>; |
| 71 | read-only; |
| 72 | }; |
| 73 | |
| 74 | linux@10000 { |
| 75 | label = "linux"; |
| 76 | reg = <0x010000 0x3e0000>; |
| 77 | compatible = "brcm,bcm963xx-imagetag"; |
| 78 | }; |
| 79 | |
| 80 | nvram@3f0000 { |
| 81 | label = "nvram"; |
| 82 | reg = <0x3f0000 0x010000>; |
| 83 | }; |
| 84 | }; |
| 85 | }; |
| 86 | |
| 87 | &uart0 { |
| 88 | status = "okay"; |
| 89 | }; |