Philippe Reynes | 3da5fb4 | 2018-10-11 18:31:59 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright (C) 2018 Philippe Reynes <philippe.reynes@softathome.com> |
| 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | |
| 8 | #include "bcm6858.dtsi" |
| 9 | |
| 10 | / { |
William Zhang | 28fe6ed | 2022-08-22 11:39:44 -0700 | [diff] [blame] | 11 | model = "Broadcom BCM968580xref Reference Board"; |
| 12 | compatible = "brcm,bcm968580xref", "brcm,bcm6858", "brcm,bcmbca"; |
Philippe Reynes | 3da5fb4 | 2018-10-11 18:31:59 +0200 | [diff] [blame] | 13 | |
| 14 | aliases { |
| 15 | serial0 = &uart0; |
| 16 | }; |
| 17 | |
| 18 | chosen { |
| 19 | stdout-path = "serial0:115200n8"; |
| 20 | }; |
| 21 | |
| 22 | memory { |
| 23 | device_type = "memory"; |
| 24 | reg = <0x0 0x0 0x0 0x20000000>; |
| 25 | }; |
| 26 | }; |
| 27 | |
| 28 | &uart0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 29 | bootph-all; |
Philippe Reynes | 3da5fb4 | 2018-10-11 18:31:59 +0200 | [diff] [blame] | 30 | status = "okay"; |
| 31 | }; |
Philippe Reynes | 7e87cb0 | 2019-03-07 11:36:38 +0100 | [diff] [blame] | 32 | |
| 33 | &gpio0 { |
| 34 | status = "okay"; |
| 35 | }; |
| 36 | |
| 37 | &gpio1 { |
| 38 | status = "okay"; |
| 39 | }; |
| 40 | |
| 41 | &gpio2 { |
| 42 | status = "okay"; |
| 43 | }; |
| 44 | |
| 45 | &gpio3 { |
| 46 | status = "okay"; |
| 47 | }; |
| 48 | |
| 49 | &gpio4 { |
| 50 | status = "okay"; |
| 51 | }; |
| 52 | |
| 53 | &gpio5 { |
| 54 | status = "okay"; |
| 55 | }; |
| 56 | |
| 57 | &gpio6 { |
| 58 | status = "okay"; |
| 59 | }; |
| 60 | |
| 61 | &gpio7 { |
| 62 | status = "okay"; |
| 63 | }; |
Philippe Reynes | e4cb5e2 | 2019-03-15 15:14:43 +0100 | [diff] [blame] | 64 | |
| 65 | &nand { |
| 66 | status = "okay"; |
| 67 | write-protect = <0>; |
| 68 | #address-cells = <1>; |
| 69 | #size-cells = <0>; |
| 70 | |
| 71 | nandcs@0 { |
| 72 | compatible = "brcm,nandcs"; |
| 73 | reg = <0>; |
| 74 | nand-ecc-strength = <4>; |
| 75 | nand-ecc-step-size = <512>; |
| 76 | brcm,nand-oob-sector-size = <16>; |
| 77 | }; |
| 78 | }; |
Philippe Reynes | cf95b9b | 2019-03-22 17:02:03 +0100 | [diff] [blame] | 79 | |
| 80 | &leds { |
| 81 | status = "okay"; |
| 82 | #address-cells = <1>; |
| 83 | #size-cells = <0>; |
| 84 | brcm,serial-led-en-pol; |
| 85 | brcm,serial-led-data-ppol; |
| 86 | |
| 87 | led@2 { |
| 88 | reg = <2>; |
| 89 | label = "green:inet"; |
| 90 | }; |
| 91 | |
| 92 | led@5 { |
| 93 | reg = <5>; |
| 94 | label = "red:alarm"; |
| 95 | }; |
| 96 | |
| 97 | led@8 { |
| 98 | reg = <8>; |
| 99 | label = "green:wlan_link"; |
| 100 | }; |
| 101 | |
| 102 | led@11 { |
| 103 | reg = <11>; |
| 104 | label = "green:fxs1"; |
| 105 | }; |
| 106 | |
| 107 | led@14 { |
| 108 | reg = <14>; |
| 109 | label = "green:fxs2"; |
| 110 | }; |
| 111 | |
| 112 | led@15 { |
| 113 | reg = <15>; |
| 114 | label = "green:usb0"; |
| 115 | }; |
| 116 | |
| 117 | led@16 { |
| 118 | reg = <16>; |
| 119 | label = "green:usb1"; |
| 120 | }; |
| 121 | |
| 122 | led@17 { |
| 123 | reg = <17>; |
| 124 | label = "green:wps"; |
| 125 | }; |
| 126 | }; |
Philippe Reynes | 2777f83 | 2019-08-14 15:18:40 +0200 | [diff] [blame] | 127 | |
| 128 | &hsspi { |
| 129 | status = "okay"; |
| 130 | |
| 131 | flash: mt25@0 { |
| 132 | compatible = "jedec,spi-nor"; |
| 133 | #address-cells = <1>; |
| 134 | #size-cells = <1>; |
| 135 | reg = <0>; |
| 136 | spi-max-frequency = <25000000>; |
| 137 | }; |
| 138 | }; |