| 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 = "Comtrend CT-536+/CT-5621T"; |
| 7 | compatible = "comtrend,ct-536plus", "brcm,bcm6348"; |
| 8 | |
| 9 | aliases { |
| 10 | led-boot = &led_power_green; |
| 11 | led-failsafe = &led_power_green; |
| 12 | led-running = &led_power_green; |
| 13 | led-upgrade = &led_power_green; |
| 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 = <&pinctrl 33 1>; |
| 30 | linux,code = <KEY_RESTART>; |
| 31 | debounce-interval = <60>; |
| 32 | }; |
| 33 | }; |
| 34 | |
| 35 | leds { |
| 36 | compatible = "gpio-leds"; |
| 37 | |
| 38 | led_power_green: power_green { |
| 39 | label = "green:power"; |
| 40 | gpios = <&pinctrl 0 1>; |
| 41 | default-state = "on"; |
| 42 | }; |
| 43 | adsl_fail_green { |
| 44 | label = "green:adsl-fail"; |
| 45 | gpios = <&pinctrl 2 1>; |
| 46 | }; |
| 47 | }; |
| 48 | }; |
| 49 | |
| 50 | &pflash { |
| 51 | status = "okay"; |
| 52 | |
| 53 | partitions { |
| 54 | compatible = "fixed-partitions"; |
| 55 | #address-cells = <1>; |
| 56 | #size-cells = <1>; |
| 57 | |
| 58 | cfe@0 { |
| 59 | label = "CFE"; |
| 60 | reg = <0x000000 0x010000>; |
| 61 | read-only; |
| 62 | }; |
| 63 | |
| 64 | linux@10000 { |
| 65 | label = "linux"; |
| 66 | reg = <0x010000 0x3e0000>; |
| 67 | compatible = "brcm,bcm963xx-imagetag"; |
| 68 | }; |
| 69 | |
| 70 | nvram@3f0000 { |
| 71 | label = "nvram"; |
| 72 | reg = <0x3f0000 0x010000>; |
| 73 | }; |
| 74 | }; |
| 75 | }; |
| 76 | |
| 77 | &pinctrl { |
| 78 | pinctrl-names = "default"; |
| 79 | pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>; |
| 80 | }; |
| 81 | |
| 82 | &uart0 { |
| 83 | status = "okay"; |
| 84 | }; |