| 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 = "Broadcom BCM96338GW reference board"; |
| 7 | compatible = "brcm,bcm96338gw", "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 | power_green { |
| 18 | label = "green:power"; |
| 19 | gpios = <&gpio0 0 1>; |
| 20 | default-state = "on"; |
| 21 | }; |
| 22 | stop_green { |
| 23 | label = "green:stop"; |
| 24 | gpios = <&gpio0 1 1>; |
| 25 | }; |
| 26 | dsl_green { |
| 27 | label = "green:adsl"; |
| 28 | gpios = <&gpio0 3 1>; |
| 29 | }; |
| 30 | ppp_fail_green { |
| 31 | label = "green:ppp-fail"; |
| 32 | gpios = <&gpio0 4 1>; |
| 33 | }; |
| 34 | ses_green { |
| 35 | label = "green:ses"; |
| 36 | gpios = <&gpio0 5 1>; |
| 37 | }; |
| 38 | }; |
| 39 | }; |
| 40 | |
| 41 | &pflash { |
| 42 | status = "okay"; |
| 43 | |
| 44 | partitions { |
| 45 | compatible = "brcm,bcm963xx-cfe-nor-partitions"; |
| 46 | }; |
| 47 | }; |
| 48 | |
| 49 | &uart0 { |
| 50 | status = "okay"; |
| 51 | }; |