Philippe Reynes | 645b7ec | 2020-01-07 20:14:17 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright (C) 2020 Philippe Reynes <philippe.reynes@softathome.com> |
| 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | |
William Zhang | fdf8f29 | 2022-08-22 11:31:42 -0700 | [diff] [blame] | 8 | #include "bcm6856.dtsi" |
Philippe Reynes | 645b7ec | 2020-01-07 20:14:17 +0100 | [diff] [blame] | 9 | |
| 10 | / { |
William Zhang | fdf8f29 | 2022-08-22 11:31:42 -0700 | [diff] [blame] | 11 | model = "Broadcom BCM968360BG Reference Board"; |
| 12 | compatible = "brcm,bcm968360bg", "brcm,bcm6856", "brcm,bcmbca"; |
Philippe Reynes | 645b7ec | 2020-01-07 20:14:17 +0100 | [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 { |
| 29 | u-boot,dm-pre-reloc; |
| 30 | status = "okay"; |
| 31 | }; |
| 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 | }; |
| 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 | }; |
| 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@0 { |
| 88 | reg = <0>; |
| 89 | label = "red:alarm"; |
| 90 | }; |
| 91 | |
| 92 | led@1 { |
| 93 | reg = <1>; |
| 94 | label = "green:wan"; |
| 95 | }; |
| 96 | |
| 97 | led@2 { |
| 98 | reg = <2>; |
| 99 | label = "green:wps"; |
| 100 | }; |
| 101 | |
| 102 | led@12 { |
| 103 | reg = <12>; |
| 104 | label = "orange:enet5.1"; |
| 105 | }; |
| 106 | |
| 107 | led@13 { |
| 108 | reg = <13>; |
| 109 | label = "green:enet5.2"; |
| 110 | }; |
| 111 | |
| 112 | led@14 { |
| 113 | reg = <14>; |
| 114 | label = "orange:enet5.2"; |
| 115 | }; |
| 116 | |
| 117 | led@15 { |
| 118 | reg = <15>; |
| 119 | label = "green:enet5.1"; |
| 120 | }; |
| 121 | |
| 122 | led@16 { |
| 123 | reg = <16>; |
| 124 | label = "green:usb1"; |
| 125 | }; |
| 126 | |
| 127 | led@17 { |
| 128 | reg = <17>; |
| 129 | label = "green:voip1"; |
| 130 | }; |
| 131 | |
| 132 | led@18 { |
| 133 | reg = <18>; |
| 134 | label = "green:voip2"; |
| 135 | }; |
| 136 | |
| 137 | led@19 { |
| 138 | reg = <19>; |
| 139 | label = "green:enet6"; |
| 140 | }; |
| 141 | |
| 142 | led@20 { |
| 143 | reg = <20>; |
| 144 | label = "orange:enet6"; |
| 145 | }; |
| 146 | |
| 147 | led@21 { |
| 148 | reg = <21>; |
| 149 | label = "green:inet"; |
| 150 | }; |
| 151 | |
| 152 | led@22 { |
| 153 | reg = <22>; |
| 154 | label = "green:usb2"; |
| 155 | }; |
| 156 | }; |
| 157 | |
| 158 | &hsspi { |
| 159 | status = "okay"; |
| 160 | |
| 161 | flash: mt25@0 { |
| 162 | compatible = "jedec,spi-nor"; |
| 163 | #address-cells = <1>; |
| 164 | #size-cells = <1>; |
| 165 | reg = <0>; |
| 166 | spi-max-frequency = <25000000>; |
| 167 | }; |
| 168 | }; |