| .. | .. |
|---|
| 30 | 30 | no-map; |
|---|
| 31 | 31 | reg = <0x98000000 0x04000000>; /* 64M */ |
|---|
| 32 | 32 | }; |
|---|
| 33 | + |
|---|
| 34 | + coldfire_memory: codefire_memory@9ef00000 { |
|---|
| 35 | + reg = <0x9ef00000 0x00100000>; |
|---|
| 36 | + no-map; |
|---|
| 37 | + }; |
|---|
| 38 | + |
|---|
| 39 | + gfx_memory: framebuffer { |
|---|
| 40 | + size = <0x01000000>; |
|---|
| 41 | + alignment = <0x01000000>; |
|---|
| 42 | + compatible = "shared-dma-pool"; |
|---|
| 43 | + reusable; |
|---|
| 44 | + }; |
|---|
| 45 | + |
|---|
| 46 | + video_engine_memory: jpegbuffer { |
|---|
| 47 | + size = <0x02000000>; /* 32M */ |
|---|
| 48 | + alignment = <0x01000000>; |
|---|
| 49 | + compatible = "shared-dma-pool"; |
|---|
| 50 | + reusable; |
|---|
| 51 | + }; |
|---|
| 33 | 52 | }; |
|---|
| 34 | 53 | |
|---|
| 35 | 54 | leds { |
|---|
| .. | .. |
|---|
| 49 | 68 | }; |
|---|
| 50 | 69 | |
|---|
| 51 | 70 | fsi: gpio-fsi { |
|---|
| 52 | | - compatible = "fsi-master-gpio", "fsi-master"; |
|---|
| 71 | + compatible = "aspeed,ast2500-cf-fsi-master", "fsi-master"; |
|---|
| 53 | 72 | #address-cells = <2>; |
|---|
| 54 | 73 | #size-cells = <0>; |
|---|
| 55 | 74 | no-gpio-delays; |
|---|
| 75 | + |
|---|
| 76 | + memory-region = <&coldfire_memory>; |
|---|
| 77 | + aspeed,sram = <&sram>; |
|---|
| 78 | + aspeed,cvic = <&cvic>; |
|---|
| 56 | 79 | |
|---|
| 57 | 80 | clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>; |
|---|
| 58 | 81 | data-gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_HIGH>; |
|---|
| .. | .. |
|---|
| 76 | 99 | linux,code = <ASPEED_GPIO(Q, 7)>; |
|---|
| 77 | 100 | }; |
|---|
| 78 | 101 | }; |
|---|
| 102 | + |
|---|
| 103 | + iio-hwmon-battery { |
|---|
| 104 | + compatible = "iio-hwmon"; |
|---|
| 105 | + io-channels = <&adc 12>; |
|---|
| 106 | + }; |
|---|
| 79 | 107 | }; |
|---|
| 80 | 108 | |
|---|
| 81 | 109 | &fmc { |
|---|
| .. | .. |
|---|
| 84 | 112 | status = "okay"; |
|---|
| 85 | 113 | m25p,fast-read; |
|---|
| 86 | 114 | label = "bmc"; |
|---|
| 115 | + spi-max-frequency = <50000000>; |
|---|
| 87 | 116 | #include "openbmc-flash-layout.dtsi" |
|---|
| 88 | 117 | }; |
|---|
| 89 | 118 | }; |
|---|
| .. | .. |
|---|
| 97 | 126 | status = "okay"; |
|---|
| 98 | 127 | m25p,fast-read; |
|---|
| 99 | 128 | label = "pnor"; |
|---|
| 129 | + spi-max-frequency = <100000000>; |
|---|
| 100 | 130 | }; |
|---|
| 101 | 131 | }; |
|---|
| 102 | 132 | |
|---|
| .. | .. |
|---|
| 132 | 162 | |
|---|
| 133 | 163 | pinctrl-names = "default"; |
|---|
| 134 | 164 | pinctrl-0 = <&pinctrl_rmii1_default>; |
|---|
| 165 | + clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>, |
|---|
| 166 | + <&syscon ASPEED_CLK_MAC1RCLK>; |
|---|
| 167 | + clock-names = "MACCLK", "RCLK"; |
|---|
| 135 | 168 | }; |
|---|
| 136 | 169 | |
|---|
| 137 | 170 | &i2c1 { |
|---|
| .. | .. |
|---|
| 198 | 231 | }; |
|---|
| 199 | 232 | |
|---|
| 200 | 233 | &gpio { |
|---|
| 234 | + gpio-line-names = |
|---|
| 235 | + /*A0-A7*/ "","cfam-reset","","","","","fsi-mux","", |
|---|
| 236 | + /*B0-B7*/ "","","","","","","","", |
|---|
| 237 | + /*C0-C7*/ "","","","","","","","", |
|---|
| 238 | + /*D0-D7*/ "fsi-enable","","","nic_func_mode0","nic_func_mode1","","","", |
|---|
| 239 | + /*E0-E7*/ "","","","","","","","", |
|---|
| 240 | + /*F0-F7*/ "","","","","","","","", |
|---|
| 241 | + /*G0-G7*/ "","","","","","","","", |
|---|
| 242 | + /*H0-H7*/ "","","","","","","","", |
|---|
| 243 | + /*I0-I7*/ "","","","power-button","","","","", |
|---|
| 244 | + /*J0-J7*/ "","","checkstop","","","","","", |
|---|
| 245 | + /*K0-K7*/ "","","","","","","","", |
|---|
| 246 | + /*L0-L7*/ "","","","","","","","", |
|---|
| 247 | + /*M0-M7*/ "","","","","","","","", |
|---|
| 248 | + /*N0-N7*/ "","","led-fault","", |
|---|
| 249 | + "led-identify","","","", |
|---|
| 250 | + /*O0-O7*/ "","","","","","","","", |
|---|
| 251 | + /*P0-P7*/ "","","","","","","","", |
|---|
| 252 | + /*Q0-Q7*/ "","","","","","","","id-button", |
|---|
| 253 | + /*R0-R7*/ "","","fsi-trans","","","led-power","","", |
|---|
| 254 | + /*S0-S7*/ "","","","","","","","seq_cont", |
|---|
| 255 | + /*T0-T7*/ "","","","","","","","", |
|---|
| 256 | + /*U0-U7*/ "","","","","","","","", |
|---|
| 257 | + /*V0-V7*/ "","","","","","","","", |
|---|
| 258 | + /*W0-W7*/ "","","","","","","","", |
|---|
| 259 | + /*X0-X7*/ "","","","","","","","", |
|---|
| 260 | + /*Y0-Y7*/ "","","","","","","","", |
|---|
| 261 | + /*Z0-Z7*/ "","","","","","","","", |
|---|
| 262 | + /*AA0-AA7*/ "fsi-clock","","fsi-data","","","","","", |
|---|
| 263 | + /*AB0-AB7*/ "","","","","","","","", |
|---|
| 264 | + /*AC0-AC7*/ "","","","","","","",""; |
|---|
| 265 | + |
|---|
| 201 | 266 | nic_func_mode0 { |
|---|
| 202 | 267 | gpio-hog; |
|---|
| 203 | 268 | gpios = <ASPEED_GPIO(D, 3) GPIO_ACTIVE_HIGH>; |
|---|
| 204 | 269 | output-low; |
|---|
| 205 | | - line-name = "nic_func_mode0"; |
|---|
| 206 | 270 | }; |
|---|
| 207 | 271 | nic_func_mode1 { |
|---|
| 208 | 272 | gpio-hog; |
|---|
| 209 | 273 | gpios = <ASPEED_GPIO(D, 4) GPIO_ACTIVE_HIGH>; |
|---|
| 210 | 274 | output-low; |
|---|
| 211 | | - line-name = "nic_func_mode1"; |
|---|
| 212 | 275 | }; |
|---|
| 213 | 276 | seq_cont { |
|---|
| 214 | 277 | gpio-hog; |
|---|
| 215 | 278 | gpios = <ASPEED_GPIO(S, 7) GPIO_ACTIVE_HIGH>; |
|---|
| 216 | 279 | output-low; |
|---|
| 217 | | - line-name = "seq_cont"; |
|---|
| 218 | 280 | }; |
|---|
| 219 | 281 | }; |
|---|
| 220 | 282 | |
|---|
| .. | .. |
|---|
| 224 | 286 | |
|---|
| 225 | 287 | &gfx { |
|---|
| 226 | 288 | status = "okay"; |
|---|
| 289 | + memory-region = <&gfx_memory>; |
|---|
| 227 | 290 | }; |
|---|
| 228 | 291 | |
|---|
| 229 | 292 | &pinctrl { |
|---|
| .. | .. |
|---|
| 274 | 337 | &ibt { |
|---|
| 275 | 338 | status = "okay"; |
|---|
| 276 | 339 | }; |
|---|
| 340 | + |
|---|
| 341 | +&vhub { |
|---|
| 342 | + status = "okay"; |
|---|
| 343 | +}; |
|---|
| 344 | + |
|---|
| 345 | +&adc { |
|---|
| 346 | + status = "okay"; |
|---|
| 347 | +}; |
|---|
| 348 | + |
|---|
| 349 | +&video { |
|---|
| 350 | + status = "okay"; |
|---|
| 351 | + memory-region = <&video_engine_memory>; |
|---|
| 352 | +}; |
|---|
| 353 | + |
|---|
| 354 | +#include "ibm-power9-dual.dtsi" |
|---|