| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | #include "bcm6328.dtsi" |
| 2 | |
| 3 | #include <dt-bindings/input/input.h> |
| 4 | |
| 5 | / { |
| 6 | model = "Broadcom bcm963281TAN reference board"; |
| 7 | compatible = "brcm,bcm963281tan", "brcm,bcm6328"; |
| 8 | |
| 9 | aliases { |
| 10 | led-boot = &led_power; |
| 11 | led-failsafe = &led_power; |
| 12 | led-running = &led_power; |
| 13 | led-upgrade = &led_power; |
| 14 | }; |
| 15 | |
| 16 | chosen { |
| 17 | bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; |
| 18 | stdout-path = "serial0:115200n8"; |
| 19 | }; |
| 20 | |
| 21 | leds { |
| 22 | compatible = "gpio-leds"; |
| 23 | |
| 24 | inet { |
| 25 | label = "internet"; |
| 26 | gpios = <&pinctrl 1 1>; |
| 27 | }; |
| 28 | led_power: power { |
| 29 | label = "power"; |
| 30 | gpios = <&pinctrl 4 1>; |
| 31 | default-state = "on"; |
| 32 | }; |
| 33 | inet_fail { |
| 34 | label = "internet-fail"; |
| 35 | gpios = <&pinctrl 7 1>; |
| 36 | }; |
| 37 | power_fail { |
| 38 | label = "power-fail"; |
| 39 | gpios = <&pinctrl 8 1>; |
| 40 | }; |
| 41 | wps { |
| 42 | label = "wps"; |
| 43 | gpios = <&pinctrl 9 1>; |
| 44 | }; |
| 45 | dsl { |
| 46 | label = "dsl"; |
| 47 | gpios = <&pinctrl 11 1>; |
| 48 | }; |
| 49 | }; |
| 50 | }; |
| 51 | |
| 52 | &hsspi { |
| 53 | status = "okay"; |
| 54 | |
| 55 | flash@0 { |
| 56 | compatible = "jedec,spi-nor"; |
| 57 | spi-max-frequency = <16666667>; |
| 58 | spi-tx-bus-width = <2>; |
| 59 | spi-rx-bus-width = <2>; |
| 60 | reg = <0>; |
| 61 | |
| 62 | #address-cells = <1>; |
| 63 | #size-cells = <1>; |
| 64 | |
| 65 | partitions { |
| 66 | compatible = "brcm,bcm963xx-cfe-nor-partitions"; |
| 67 | }; |
| 68 | }; |
| 69 | }; |
| 70 | |
| 71 | &uart0 { |
| 72 | status = "okay"; |
| 73 | }; |