Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'aspeed-6.2-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc into soc/dt

ASPEED device tree updates for 6.2

- New machines

* IBM Bonnell AST2600 BMC, for a Power10 server
* Delta AHE-50DC AST1250 BMC, for a 1U Open19 power shelf

- Removed machines

* IBM Mihawk AST2500 BMC, a Power9 server similar to Witherspoon

- Fixes and updates for bletchley, mtjade/mtmitchell, rainier/everest

* tag 'aspeed-6.2-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc:
ARM: dts: aspeed: mtjade: Add SMPro nodes
ARM: dts: aspeed: mtjade,mtmitchell: Add BMC SSIF nodes
ARM: dts: aspeed: Add Delta AHE-50DC BMC
dt-bindings: arm: aspeed: document Delta AHE-50DC BMC
ARM: dts: aspeed: rainier: Fix pca9551 nodes
ARM: dts: aspeed: p10bmc: Add occ-hwmon nodes
ARM: dts: aspeed-g6: Add aliases for mdio nodes
ARM: dts: aspeed: Remove Mihawk
ARM: dts: aspeed: rainier,everest: Move reserved memory regions
ARM: dts: aspeed: Add IBM Bonnell system BMC devicetree
ARM: dts: aspeed: bletchley: Enable emmc and ehci1
ARM: dts: aspeed: bletchley: Update and fix gpio-line-names
ARM: dts: aspeed: bletchley: Update fusb302 nodes
ARM: dts: aspeed: bletchley: Bind presence-sledX pins via gpio-keys
ARM: dts: aspeed: bletchley: Disable GPIOV2 pull-down
ARM: dts: aspeed: bletchley: Change LED sys_log_id to active low

Link: https://lore.kernel.org/r/CACPK8Xfsc8BaL_qAgV+3Rk-AFcQoDVfTpMzHvq_rR-UYqwpNNQ@mail.gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+1705 -1553
+1
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml
··· 17 17 - description: AST2400 based boards 18 18 items: 19 19 - enum: 20 + - delta,ahe50dc-bmc 20 21 - facebook,galaxy100-bmc 21 22 - facebook,wedge100-bmc 22 23 - facebook,wedge40-bmc
+2 -1
arch/arm/boot/dts/Makefile
··· 1592 1592 aspeed-bmc-asrock-e3c246d4i.dtb \ 1593 1593 aspeed-bmc-asrock-romed8hm3.dtb \ 1594 1594 aspeed-bmc-bytedance-g220a.dtb \ 1595 + aspeed-bmc-delta-ahe50dc.dtb \ 1595 1596 aspeed-bmc-facebook-bletchley.dtb \ 1596 1597 aspeed-bmc-facebook-cloudripper.dtb \ 1597 1598 aspeed-bmc-facebook-cmm.dtb \ ··· 1606 1605 aspeed-bmc-facebook-wedge400.dtb \ 1607 1606 aspeed-bmc-facebook-yamp.dtb \ 1608 1607 aspeed-bmc-facebook-yosemitev2.dtb \ 1608 + aspeed-bmc-ibm-bonnell.dtb \ 1609 1609 aspeed-bmc-ibm-everest.dtb \ 1610 1610 aspeed-bmc-ibm-rainier.dtb \ 1611 1611 aspeed-bmc-ibm-rainier-1s4u.dtb \ ··· 1618 1616 aspeed-bmc-lenovo-hr855xg2.dtb \ 1619 1617 aspeed-bmc-microsoft-olympus.dtb \ 1620 1618 aspeed-bmc-opp-lanyang.dtb \ 1621 - aspeed-bmc-opp-mihawk.dtb \ 1622 1619 aspeed-bmc-opp-mowgli.dtb \ 1623 1620 aspeed-bmc-opp-nicole.dtb \ 1624 1621 aspeed-bmc-opp-palmetto.dtb \
+12
arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts
··· 342 342 343 343 &i2c0 { 344 344 status = "okay"; 345 + ssif-bmc@10 { 346 + compatible = "ssif-bmc"; 347 + reg = <0x10>; 348 + }; 345 349 }; 346 350 347 351 &i2c1 { ··· 354 350 355 351 &i2c2 { 356 352 status = "okay"; 353 + smpro@4f { 354 + compatible = "ampere,smpro"; 355 + reg = <0x4f>; 356 + }; 357 + smpro@4e { 358 + compatible = "ampere,smpro"; 359 + reg = <0x4e>; 360 + }; 357 361 }; 358 362 359 363 &i2c3 {
+4
arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts
··· 445 445 446 446 &i2c11 { 447 447 status = "okay"; 448 + ssif-bmc@10 { 449 + compatible = "ssif-bmc"; 450 + reg = <0x10>; 451 + }; 448 452 }; 449 453 450 454 &i2c14 {
+418
arch/arm/boot/dts/aspeed-bmc-delta-ahe50dc.dts
··· 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + /dts-v1/; 3 + 4 + #include "aspeed-g4.dtsi" 5 + #include <dt-bindings/gpio/aspeed-gpio.h> 6 + 7 + #define EFUSE_OUTPUT(n) \ 8 + efuse##n { \ 9 + compatible = "regulator-output"; \ 10 + vout-supply = <&efuse##n>; \ 11 + } 12 + 13 + #define __stringify(x) #x 14 + 15 + #define EFUSE(hexaddr, num) \ 16 + efuse@##hexaddr { \ 17 + compatible = "lm25066"; \ 18 + reg = <0x##hexaddr>; \ 19 + shunt-resistor-micro-ohms = <675>; \ 20 + regulators { \ 21 + efuse##num: vout0 { \ 22 + regulator-name = __stringify(efuse##num##-reg); \ 23 + }; \ 24 + }; \ 25 + } 26 + 27 + /{ 28 + model = "Delta Power AHE-50DC"; 29 + compatible = "delta,ahe50dc-bmc", "aspeed,ast2400"; 30 + 31 + aliases { 32 + serial4 = &uart5; 33 + 34 + /* 35 + * pca9541-arbitrated logical i2c buses are numbered as the 36 + * corresponding physical bus plus 20 37 + */ 38 + i2c20 = &i2carb0; 39 + i2c21 = &i2carb1; 40 + i2c22 = &i2carb2; 41 + i2c23 = &i2carb3; 42 + i2c24 = &i2carb4; 43 + i2c26 = &i2carb6; 44 + i2c27 = &i2carb7; 45 + i2c28 = &i2carb8; 46 + i2c32 = &i2carb12; 47 + }; 48 + 49 + chosen { 50 + stdout-path = &uart3; 51 + bootargs = "console=ttyS2,115200n8 earlycon"; 52 + }; 53 + 54 + memory@40000000 { 55 + reg = <0x40000000 0x10000000>; 56 + }; 57 + 58 + leds { 59 + compatible = "gpio-leds"; 60 + 61 + heartbeat { 62 + gpios = <&gpio ASPEED_GPIO(P, 0) GPIO_ACTIVE_HIGH>; 63 + linux,default-trigger = "heartbeat"; 64 + }; 65 + 66 + panic { 67 + gpios = <&gpio ASPEED_GPIO(P, 2) GPIO_ACTIVE_HIGH>; 68 + linux,default-trigger = "panic"; 69 + }; 70 + }; 71 + 72 + iio-hwmon { 73 + compatible = "iio-hwmon"; 74 + io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>, 75 + <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>; 76 + }; 77 + 78 + EFUSE_OUTPUT(01); 79 + EFUSE_OUTPUT(02); 80 + EFUSE_OUTPUT(03); 81 + EFUSE_OUTPUT(04); 82 + EFUSE_OUTPUT(05); 83 + EFUSE_OUTPUT(06); 84 + EFUSE_OUTPUT(07); 85 + EFUSE_OUTPUT(08); 86 + EFUSE_OUTPUT(09); 87 + EFUSE_OUTPUT(10); 88 + EFUSE_OUTPUT(11); 89 + EFUSE_OUTPUT(12); 90 + EFUSE_OUTPUT(13); 91 + EFUSE_OUTPUT(14); 92 + EFUSE_OUTPUT(15); 93 + EFUSE_OUTPUT(16); 94 + EFUSE_OUTPUT(17); 95 + EFUSE_OUTPUT(18); 96 + EFUSE_OUTPUT(19); 97 + EFUSE_OUTPUT(20); 98 + EFUSE_OUTPUT(21); 99 + EFUSE_OUTPUT(22); 100 + EFUSE_OUTPUT(23); 101 + EFUSE_OUTPUT(24); 102 + EFUSE_OUTPUT(25); 103 + EFUSE_OUTPUT(26); 104 + EFUSE_OUTPUT(27); 105 + EFUSE_OUTPUT(28); 106 + EFUSE_OUTPUT(29); 107 + EFUSE_OUTPUT(30); 108 + EFUSE_OUTPUT(31); 109 + EFUSE_OUTPUT(32); 110 + EFUSE_OUTPUT(33); 111 + EFUSE_OUTPUT(34); 112 + EFUSE_OUTPUT(35); 113 + EFUSE_OUTPUT(36); 114 + EFUSE_OUTPUT(37); 115 + EFUSE_OUTPUT(38); 116 + EFUSE_OUTPUT(39); 117 + EFUSE_OUTPUT(40); 118 + EFUSE_OUTPUT(41); 119 + EFUSE_OUTPUT(42); 120 + EFUSE_OUTPUT(43); 121 + EFUSE_OUTPUT(44); 122 + EFUSE_OUTPUT(45); 123 + EFUSE_OUTPUT(46); 124 + EFUSE_OUTPUT(47); 125 + EFUSE_OUTPUT(48); 126 + EFUSE_OUTPUT(49); 127 + EFUSE_OUTPUT(50); 128 + 129 + }; 130 + 131 + &fmc { 132 + status = "okay"; 133 + 134 + flash@0 { 135 + status = "okay"; 136 + m25p,fast-read; 137 + label = "flash0"; 138 + spi-max-frequency = <50000000>; // 50 MHz 139 + #include "openbmc-flash-layout.dtsi" 140 + }; 141 + }; 142 + 143 + &uart3 { 144 + status = "okay"; 145 + }; 146 + 147 + &mac1 { 148 + status = "okay"; 149 + pinctrl-names = "default"; 150 + pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>; 151 + }; 152 + 153 + &i2c0 { 154 + status = "okay"; 155 + bus-frequency = <200000>; 156 + 157 + pca9541@79 { 158 + compatible = "nxp,pca9541"; 159 + reg = <0x79>; 160 + 161 + i2carb0: i2c-arb { 162 + #address-cells = <1>; 163 + #size-cells = <0>; 164 + 165 + /* lm25066 efuses @ 10-17, 40-47, 50-57 */ 166 + EFUSE(10, 03); 167 + EFUSE(11, 04); 168 + EFUSE(12, 01); 169 + EFUSE(13, 02); 170 + EFUSE(14, 13); 171 + EFUSE(15, 14); 172 + EFUSE(16, 15); 173 + EFUSE(17, 16); 174 + EFUSE(40, 12); 175 + EFUSE(41, 11); 176 + EFUSE(42, 10); 177 + EFUSE(43, 09); 178 + EFUSE(44, 08); 179 + EFUSE(45, 07); 180 + EFUSE(46, 05); 181 + EFUSE(47, 06); 182 + EFUSE(50, 17); 183 + EFUSE(51, 18); 184 + EFUSE(52, 20); 185 + EFUSE(53, 19); 186 + EFUSE(54, 22); 187 + EFUSE(55, 21); 188 + EFUSE(56, 24); 189 + EFUSE(57, 23); 190 + }; 191 + }; 192 + }; 193 + 194 + &i2c1 { 195 + status = "okay"; 196 + bus-frequency = <200000>; 197 + 198 + pca9541@72 { 199 + compatible = "nxp,pca9541"; 200 + reg = <0x72>; 201 + 202 + i2carb1: i2c-arb { 203 + #address-cells = <1>; 204 + #size-cells = <0>; 205 + }; 206 + }; 207 + }; 208 + 209 + &i2c2 { 210 + status = "okay"; 211 + bus-frequency = <200000>; 212 + 213 + pca9541@73 { 214 + compatible = "nxp,pca9541"; 215 + reg = <0x73>; 216 + 217 + i2carb2: i2c-arb { 218 + #address-cells = <1>; 219 + #size-cells = <0>; 220 + }; 221 + }; 222 + }; 223 + 224 + &i2c3 { 225 + status = "okay"; 226 + bus-frequency = <200000>; 227 + 228 + pca9541@74 { 229 + compatible = "nxp,pca9541"; 230 + reg = <0x74>; 231 + 232 + i2carb3: i2c-arb { 233 + #address-cells = <1>; 234 + #size-cells = <0>; 235 + }; 236 + }; 237 + }; 238 + 239 + &i2c4 { 240 + status = "okay"; 241 + bus-frequency = <200000>; 242 + 243 + pca9541@7a { 244 + compatible = "nxp,pca9541"; 245 + reg = <0x7a>; 246 + 247 + i2carb4: i2c-arb { 248 + #address-cells = <1>; 249 + #size-cells = <0>; 250 + 251 + gpio@20 { 252 + compatible = "nxp,pca9534"; 253 + reg = <0x20>; 254 + gpio-controller; 255 + #gpio-cells = <2>; 256 + }; 257 + 258 + /* lm25066 efuses @ 10-17, 40-47, 50-57, 59, 5a */ 259 + EFUSE(10, 27); 260 + EFUSE(11, 28); 261 + EFUSE(12, 25); 262 + EFUSE(13, 26); 263 + EFUSE(14, 37); 264 + EFUSE(15, 38); 265 + EFUSE(16, 39); 266 + EFUSE(17, 40); 267 + EFUSE(40, 36); 268 + EFUSE(41, 35); 269 + EFUSE(42, 34); 270 + EFUSE(43, 33); 271 + EFUSE(44, 32); 272 + EFUSE(45, 31); 273 + EFUSE(46, 29); 274 + EFUSE(47, 30); 275 + EFUSE(50, 41); 276 + EFUSE(51, 42); 277 + EFUSE(52, 44); 278 + EFUSE(53, 43); 279 + EFUSE(54, 46); 280 + EFUSE(55, 45); 281 + EFUSE(56, 48); 282 + EFUSE(57, 47); 283 + EFUSE(59, 49); 284 + EFUSE(5a, 50); 285 + }; 286 + }; 287 + }; 288 + 289 + &i2c6 { 290 + status = "okay"; 291 + bus-frequency = <200000>; 292 + 293 + pca9541@75 { 294 + compatible = "nxp,pca9541"; 295 + reg = <0x75>; 296 + 297 + i2carb6: i2c-arb { 298 + #address-cells = <1>; 299 + #size-cells = <0>; 300 + }; 301 + }; 302 + }; 303 + 304 + &i2c7 { 305 + status = "okay"; 306 + bus-frequency = <200000>; 307 + 308 + pca9541@76 { 309 + compatible = "nxp,pca9541"; 310 + reg = <0x76>; 311 + 312 + i2carb7: i2c-arb { 313 + #address-cells = <1>; 314 + #size-cells = <0>; 315 + }; 316 + }; 317 + }; 318 + 319 + &i2c8 { 320 + status = "okay"; 321 + bus-frequency = <200000>; 322 + 323 + pca9541@7c { 324 + compatible = "nxp,pca9541"; 325 + reg = <0x7c>; 326 + 327 + i2carb8: i2c-arb { 328 + #address-cells = <1>; 329 + #size-cells = <0>; 330 + 331 + fancontrol@30 { 332 + compatible = "delta,ahe50dc-fan"; 333 + reg = <0x30>; 334 + }; 335 + 336 + /* Baseboard FRU eeprom */ 337 + eeprom@50 { 338 + compatible = "atmel,24c02"; 339 + reg = <0x50>; 340 + }; 341 + }; 342 + }; 343 + }; 344 + 345 + &i2c12 { 346 + status = "okay"; 347 + bus-frequency = <200000>; 348 + 349 + pca9541@71 { 350 + compatible = "nxp,pca9541"; 351 + reg = <0x71>; 352 + 353 + i2carb12: i2c-arb { 354 + #address-cells = <1>; 355 + #size-cells = <0>; 356 + }; 357 + }; 358 + }; 359 + 360 + &gpio { 361 + status = "okay"; 362 + gpio-line-names = 363 + /* A */ "", "", "", "", "", "", "", "", 364 + /* B */ "", "", "", "", "", "", "", "", 365 + /* C */ "RESET_PEER_N", "HEARTBEAT_OUT", "", "", "", "", "", "", 366 + /* D */ "", "", "", "", "", "", "", "", 367 + /* E */ "DOOM_N", "", "", "", "", "LED_PWR_BLUE", "", "", 368 + /* F */ "", "", "", "", "", "", "", "", 369 + /* G */ "", "", "", "", "", "", "", "", 370 + /* H */ "", "", "", "", "", "", "", "", 371 + /* I */ "", "", "", "", "", "", "", "", 372 + /* J */ "", "", "BMC_ID", "", "", "", "", "", 373 + /* K */ "", "", "", "", "", "", "", "", 374 + /* L */ "", "", "", "", "", "", "", "", 375 + /* M */ "", "", "", "", "", "", "", "", 376 + /* N */ "", "", "", "", "", "", "", "", 377 + /* O */ "", "", "", "", "", "", "", "", 378 + /* P */ "LED_GREEN", "", "LED_RED", "", "", "", "", "", 379 + /* Q */ "", "", "", "", "", "", "", "", 380 + /* R */ "", "", "", "", "", "", "", "", 381 + /* S */ "", "", "", "", "", "", "", "", 382 + /* T */ "", "", "", "", "", "", "", "", 383 + /* U */ "", "", "", "", "", "", "", "", 384 + /* V */ "", "", "", "", "", "", "", "", 385 + /* W */ "", "", "", "", "", "", "", "", 386 + /* X */ "", "", "", "", "", "", "", "", 387 + /* Y */ "HEARTBEAT_IN", "BOARDREV0", "BOARDREV1", "", 388 + /* Z */ "", "", "", "", "", "", "", "", 389 + /* AA */ "", "", "", "", "", "", "", "", 390 + /* AB */ "", "", "", ""; 391 + 392 + /* 393 + * I don't rightly know what this GPIO really *is*, but setting it to 394 + * zero causes the fans to run at full speed, after which setting it 395 + * back to one causes a power output glitch, so install a hog to keep 396 + * it at one as a failsafe to ensure nothing accidentally touches it. 397 + */ 398 + doom-guardrail { 399 + gpio-hog; 400 + gpios = <ASPEED_GPIO(E, 0) GPIO_ACTIVE_LOW>; 401 + output-low; 402 + }; 403 + }; 404 + 405 + &adc { 406 + status = "okay"; 407 + pinctrl-names = "default"; 408 + pinctrl-0 = <&pinctrl_adc0_default 409 + &pinctrl_adc1_default 410 + &pinctrl_adc2_default 411 + &pinctrl_adc3_default 412 + &pinctrl_adc4_default 413 + &pinctrl_adc5_default 414 + &pinctrl_adc6_default 415 + &pinctrl_adc7_default 416 + &pinctrl_adc8_default 417 + &pinctrl_adc9_default>; 418 + };
+162 -51
arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
··· 60 60 compatible = "gpio-leds"; 61 61 sys_log_id { 62 62 default-state = "off"; 63 - gpios = <&front_leds 0 GPIO_ACTIVE_HIGH>; 63 + gpios = <&front_leds 0 GPIO_ACTIVE_LOW>; 64 64 }; 65 65 }; 66 66 ··· 191 191 gpios = <&sled6_leds 1 GPIO_ACTIVE_LOW>; 192 192 }; 193 193 }; 194 + 195 + gpio-keys { 196 + compatible = "gpio-keys"; 197 + 198 + presence-sled1 { 199 + label = "presence-sled1"; 200 + gpios = <&gpio0 ASPEED_GPIO(H, 2) GPIO_ACTIVE_LOW>; 201 + linux,code = <ASPEED_GPIO(H, 2)>; 202 + }; 203 + presence-sled2 { 204 + label = "presence-sled2"; 205 + gpios = <&gpio0 ASPEED_GPIO(H, 3) GPIO_ACTIVE_LOW>; 206 + linux,code = <ASPEED_GPIO(H, 3)>; 207 + }; 208 + presence-sled3 { 209 + label = "presence-sled3"; 210 + gpios = <&gpio0 ASPEED_GPIO(H, 4) GPIO_ACTIVE_LOW>; 211 + linux,code = <ASPEED_GPIO(H, 4)>; 212 + }; 213 + presence-sled4 { 214 + label = "presence-sled4"; 215 + gpios = <&gpio0 ASPEED_GPIO(H, 5) GPIO_ACTIVE_LOW>; 216 + linux,code = <ASPEED_GPIO(H, 5)>; 217 + }; 218 + presence-sled5 { 219 + label = "presence-sled5"; 220 + gpios = <&gpio0 ASPEED_GPIO(H, 6) GPIO_ACTIVE_LOW>; 221 + linux,code = <ASPEED_GPIO(H, 6)>; 222 + }; 223 + presence-sled6 { 224 + label = "presence-sled6"; 225 + gpios = <&gpio0 ASPEED_GPIO(H, 7) GPIO_ACTIVE_LOW>; 226 + linux,code = <ASPEED_GPIO(H, 7)>; 227 + }; 228 + }; 229 + 230 + vbus_sled1: vbus_sled1 { 231 + compatible = "regulator-fixed"; 232 + regulator-name = "vbus_sled1"; 233 + regulator-min-microvolt = <5000000>; 234 + regulator-max-microvolt = <5000000>; 235 + gpio = <&sled1_ioexp 1 GPIO_ACTIVE_HIGH>; 236 + enable-active-high; 237 + }; 238 + 239 + vbus_sled2: vbus_sled2 { 240 + compatible = "regulator-fixed"; 241 + regulator-name = "vbus_sled2"; 242 + regulator-min-microvolt = <5000000>; 243 + regulator-max-microvolt = <5000000>; 244 + gpio = <&sled2_ioexp 1 GPIO_ACTIVE_HIGH>; 245 + enable-active-high; 246 + }; 247 + 248 + vbus_sled3: vbus_sled3 { 249 + compatible = "regulator-fixed"; 250 + regulator-name = "vbus_sled3"; 251 + regulator-min-microvolt = <5000000>; 252 + regulator-max-microvolt = <5000000>; 253 + gpio = <&sled3_ioexp 1 GPIO_ACTIVE_HIGH>; 254 + enable-active-high; 255 + }; 256 + 257 + vbus_sled4: vbus_sled4 { 258 + compatible = "regulator-fixed"; 259 + regulator-name = "vbus_sled4"; 260 + regulator-min-microvolt = <5000000>; 261 + regulator-max-microvolt = <5000000>; 262 + gpio = <&sled4_ioexp 1 GPIO_ACTIVE_HIGH>; 263 + enable-active-high; 264 + }; 265 + 266 + vbus_sled5: vbus_sled5 { 267 + compatible = "regulator-fixed"; 268 + regulator-name = "vbus_sled5"; 269 + regulator-min-microvolt = <5000000>; 270 + regulator-max-microvolt = <5000000>; 271 + gpio = <&sled5_ioexp 1 GPIO_ACTIVE_HIGH>; 272 + enable-active-high; 273 + }; 274 + 275 + vbus_sled6: vbus_sled6 { 276 + compatible = "regulator-fixed"; 277 + regulator-name = "vbus_sled6"; 278 + regulator-min-microvolt = <5000000>; 279 + regulator-max-microvolt = <5000000>; 280 + gpio = <&sled6_ioexp 1 GPIO_ACTIVE_HIGH>; 281 + enable-active-high; 282 + }; 194 283 }; 195 284 196 285 &mac2 { ··· 391 302 compatible = "fcs,fusb302"; 392 303 reg = <0x22>; 393 304 305 + interrupt-parent = <&gpio0>; 306 + interrupts = <ASPEED_GPIO(B, 0) IRQ_TYPE_LEVEL_LOW>; 307 + vbus-supply = <&vbus_sled1>; 308 + 394 309 connector { 395 310 compatible = "usb-c-connector"; 396 311 label = "USB-C"; 397 - power-role = "dual"; 398 - try-power-role = "sink"; 399 - data-role = "dual"; 400 - source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>; 401 - sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM) 402 - PDO_VAR(3000, 12000, 3000) 403 - PDO_PPS_APDO(3000, 11000, 3000)>; 404 - op-sink-microwatt = <10000000>; 312 + power-role = "source"; 313 + data-role = "host"; 314 + pd-disable; 315 + typec-power-opmode = "default"; 405 316 }; 406 317 }; 407 318 ··· 477 388 compatible = "fcs,fusb302"; 478 389 reg = <0x22>; 479 390 391 + interrupt-parent = <&gpio0>; 392 + interrupts = <ASPEED_GPIO(B, 1) IRQ_TYPE_LEVEL_LOW>; 393 + vbus-supply = <&vbus_sled2>; 394 + 480 395 connector { 481 396 compatible = "usb-c-connector"; 482 397 label = "USB-C"; 483 - power-role = "dual"; 484 - try-power-role = "sink"; 485 - data-role = "dual"; 486 - source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>; 487 - sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM) 488 - PDO_VAR(3000, 12000, 3000) 489 - PDO_PPS_APDO(3000, 11000, 3000)>; 490 - op-sink-microwatt = <10000000>; 398 + power-role = "source"; 399 + data-role = "host"; 400 + pd-disable; 401 + typec-power-opmode = "default"; 491 402 }; 492 403 }; 493 404 ··· 563 474 compatible = "fcs,fusb302"; 564 475 reg = <0x22>; 565 476 477 + interrupt-parent = <&gpio0>; 478 + interrupts = <ASPEED_GPIO(B, 7) IRQ_TYPE_LEVEL_LOW>; 479 + vbus-supply = <&vbus_sled3>; 480 + 566 481 connector { 567 482 compatible = "usb-c-connector"; 568 483 label = "USB-C"; 569 - power-role = "dual"; 570 - try-power-role = "sink"; 571 - data-role = "dual"; 572 - source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>; 573 - sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM) 574 - PDO_VAR(3000, 12000, 3000) 575 - PDO_PPS_APDO(3000, 11000, 3000)>; 576 - op-sink-microwatt = <10000000>; 484 + power-role = "source"; 485 + data-role = "host"; 486 + pd-disable; 487 + typec-power-opmode = "default"; 577 488 }; 578 489 }; 579 490 ··· 649 560 compatible = "fcs,fusb302"; 650 561 reg = <0x22>; 651 562 563 + interrupt-parent = <&gpio0>; 564 + interrupts = <ASPEED_GPIO(S, 7) IRQ_TYPE_LEVEL_LOW>; 565 + vbus-supply = <&vbus_sled4>; 566 + 652 567 connector { 653 568 compatible = "usb-c-connector"; 654 569 label = "USB-C"; 655 - power-role = "dual"; 656 - try-power-role = "sink"; 657 - data-role = "dual"; 658 - source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>; 659 - sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM) 660 - PDO_VAR(3000, 12000, 3000) 661 - PDO_PPS_APDO(3000, 11000, 3000)>; 662 - op-sink-microwatt = <10000000>; 570 + power-role = "source"; 571 + data-role = "host"; 572 + pd-disable; 573 + typec-power-opmode = "default"; 663 574 }; 664 575 }; 665 576 ··· 735 646 compatible = "fcs,fusb302"; 736 647 reg = <0x22>; 737 648 649 + interrupt-parent = <&gpio0>; 650 + interrupts = <ASPEED_GPIO(Y, 3) IRQ_TYPE_LEVEL_LOW>; 651 + vbus-supply = <&vbus_sled5>; 652 + 738 653 connector { 739 654 compatible = "usb-c-connector"; 740 655 label = "USB-C"; 741 - power-role = "dual"; 742 - try-power-role = "sink"; 743 - data-role = "dual"; 744 - source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>; 745 - sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM) 746 - PDO_VAR(3000, 12000, 3000) 747 - PDO_PPS_APDO(3000, 11000, 3000)>; 748 - op-sink-microwatt = <10000000>; 656 + power-role = "source"; 657 + data-role = "host"; 658 + pd-disable; 659 + typec-power-opmode = "default"; 749 660 }; 750 661 }; 751 662 ··· 821 732 compatible = "fcs,fusb302"; 822 733 reg = <0x22>; 823 734 735 + interrupt-parent = <&gpio0>; 736 + interrupts = <ASPEED_GPIO(I, 7) IRQ_TYPE_LEVEL_LOW>; 737 + vbus-supply = <&vbus_sled6>; 738 + 824 739 connector { 825 740 compatible = "usb-c-connector"; 826 741 label = "USB-C"; 827 - power-role = "dual"; 828 - try-power-role = "sink"; 829 - data-role = "dual"; 830 - source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>; 831 - sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM) 832 - PDO_VAR(3000, 12000, 3000) 833 - PDO_PPS_APDO(3000, 11000, 3000)>; 834 - op-sink-microwatt = <10000000>; 742 + power-role = "source"; 743 + data-role = "host"; 744 + pd-disable; 745 + typec-power-opmode = "default"; 835 746 }; 836 747 }; 837 748 ··· 952 863 }; 953 864 954 865 &gpio0 { 866 + pinctrl-names = "default"; 867 + pinctrl-0 = <&pinctrl_gpiov2_unbiased_default>; 868 + 955 869 gpio-line-names = 956 870 /*A0-A7*/ "","","","","","","","", 957 871 /*B0-B7*/ "FUSB302_SLED1_INT_N","FUSB302_SLED2_INT_N", ··· 984 892 /*M0-M7*/ "ALERT_SLED1_N","ALERT_SLED2_N", 985 893 "ALERT_SLED3_N","ALERT_SLED4_N", 986 894 "ALERT_SLED5_N","ALERT_SLED6_N", 987 - "","", 895 + "","USB_DEBUG_PWR_BTN_N", 988 896 /*N0-N7*/ "LED_POSTCODE_0","LED_POSTCODE_1", 989 897 "LED_POSTCODE_2","LED_POSTCODE_3", 990 898 "LED_POSTCODE_4","LED_POSTCODE_5", 991 - "LED_POSTCODE_5","LED_POSTCODE_7", 899 + "LED_POSTCODE_6","LED_POSTCODE_7", 992 900 /*O0-O7*/ "","","","", 993 901 "","BOARD_ID0","BOARD_ID1","BOARD_ID2", 994 902 /*P0-P7*/ "","","","","","","","BMC_HEARTBEAT", ··· 1044 952 1045 953 &ehci0 { 1046 954 status = "okay"; 955 + }; 956 + 957 + &ehci1 { 958 + status = "okay"; 959 + }; 960 + 961 + &emmc_controller { 962 + status = "okay"; 963 + }; 964 + 965 + &emmc { 966 + status = "okay"; 967 + }; 968 + 969 + &pinctrl { 970 + pinctrl_gpiov2_unbiased_default: gpiov2 { 971 + pins = "AD14"; 972 + bias-disable; 973 + }; 1047 974 };
+921
arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later 2 + // Copyright 2022 IBM Corp. 3 + /dts-v1/; 4 + 5 + #include "aspeed-g6.dtsi" 6 + #include <dt-bindings/gpio/aspeed-gpio.h> 7 + #include <dt-bindings/i2c/i2c.h> 8 + #include <dt-bindings/leds/leds-pca955x.h> 9 + 10 + / { 11 + model = "Bonnell"; 12 + compatible = "ibm,bonnell-bmc", "aspeed,ast2600"; 13 + 14 + aliases { 15 + i2c100 = &cfam0_i2c0; 16 + i2c101 = &cfam0_i2c1; 17 + i2c110 = &cfam0_i2c10; 18 + i2c111 = &cfam0_i2c11; 19 + i2c112 = &cfam0_i2c12; 20 + i2c113 = &cfam0_i2c13; 21 + i2c114 = &cfam0_i2c14; 22 + i2c115 = &cfam0_i2c15; 23 + i2c202 = &cfam1_i2c2; 24 + i2c203 = &cfam1_i2c3; 25 + i2c210 = &cfam1_i2c10; 26 + i2c211 = &cfam1_i2c11; 27 + i2c214 = &cfam1_i2c14; 28 + i2c215 = &cfam1_i2c15; 29 + i2c216 = &cfam1_i2c16; 30 + i2c217 = &cfam1_i2c17; 31 + 32 + serial4 = &uart5; 33 + i2c16 = &i2c11mux0chn0; 34 + i2c17 = &i2c11mux0chn1; 35 + i2c18 = &i2c11mux0chn2; 36 + i2c19 = &i2c11mux0chn3; 37 + 38 + spi10 = &cfam0_spi0; 39 + spi11 = &cfam0_spi1; 40 + spi12 = &cfam0_spi2; 41 + spi13 = &cfam0_spi3; 42 + spi20 = &cfam1_spi0; 43 + spi21 = &cfam1_spi1; 44 + spi22 = &cfam1_spi2; 45 + spi23 = &cfam1_spi3; 46 + 47 + }; 48 + 49 + chosen { 50 + stdout-path = &uart5; 51 + bootargs = "console=ttyS4,115200n8 earlycon"; 52 + }; 53 + 54 + memory@80000000 { 55 + device_type = "memory"; 56 + reg = <0x80000000 0x40000000>; 57 + }; 58 + 59 + reserved-memory { 60 + #address-cells = <1>; 61 + #size-cells = <1>; 62 + ranges; 63 + 64 + ramoops@b3e00000 { 65 + compatible = "ramoops"; 66 + reg = <0xb3e00000 0x200000>; /* 16 * (4 * 0x8000) */ 67 + record-size = <0x8000>; 68 + console-size = <0x8000>; 69 + ftrace-size = <0x8000>; 70 + pmsg-size = <0x8000>; 71 + max-reason = <3>; /* KMSG_DUMP_EMERG */ 72 + }; 73 + 74 + /* LPC FW cycle bridge region requires natural alignment */ 75 + flash_memory: region@b4000000 { 76 + no-map; 77 + reg = <0xb4000000 0x04000000>; /* 64M */ 78 + }; 79 + 80 + /* VGA region is dictated by hardware strapping */ 81 + vga_memory: region@bf000000 { 82 + no-map; 83 + compatible = "shared-dma-pool"; 84 + reg = <0xbf000000 0x01000000>; /* 16M */ 85 + }; 86 + }; 87 + 88 + leds { 89 + compatible = "gpio-leds"; 90 + 91 + fan0 { 92 + gpios = <&gpio0 ASPEED_GPIO(G, 0) GPIO_ACTIVE_LOW>; 93 + }; 94 + 95 + fan1 { 96 + gpios = <&gpio0 ASPEED_GPIO(G, 1) GPIO_ACTIVE_LOW>; 97 + }; 98 + 99 + rear-enc-id0 { 100 + gpios = <&gpio0 ASPEED_GPIO(H, 2) GPIO_ACTIVE_LOW>; 101 + }; 102 + 103 + rear-enc-fault0 { 104 + gpios = <&gpio0 ASPEED_GPIO(H, 3) GPIO_ACTIVE_LOW>; 105 + }; 106 + }; 107 + 108 + gpio-keys-polled { 109 + compatible = "gpio-keys-polled"; 110 + #address-cells = <1>; 111 + #size-cells = <0>; 112 + poll-interval = <1000>; 113 + 114 + fan0-presence { 115 + label = "fan0-presence"; 116 + gpios = <&gpio0 ASPEED_GPIO(F, 4) GPIO_ACTIVE_LOW>; 117 + linux,code = <6>; 118 + }; 119 + 120 + fan1-presence { 121 + label = "fan1-presence"; 122 + gpios = <&gpio0 ASPEED_GPIO(F, 5) GPIO_ACTIVE_LOW>; 123 + linux,code = <7>; 124 + }; 125 + }; 126 + 127 + iio-hwmon-battery { 128 + compatible = "iio-hwmon"; 129 + io-channels = <&adc1 7>; 130 + }; 131 + }; 132 + 133 + &adc1 { 134 + status = "okay"; 135 + aspeed,int-vref-microvolt = <2500000>; 136 + pinctrl-names = "default"; 137 + pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default 138 + &pinctrl_adc10_default &pinctrl_adc11_default 139 + &pinctrl_adc12_default &pinctrl_adc13_default 140 + &pinctrl_adc14_default &pinctrl_adc15_default>; 141 + }; 142 + 143 + &ehci1 { 144 + status = "okay"; 145 + }; 146 + 147 + &uhci { 148 + status = "okay"; 149 + }; 150 + 151 + &gpio0 { 152 + gpio-line-names = 153 + /*A0-A7*/ "","","","","","","","", 154 + /*B0-B7*/ "","","","","","","checkstop","", 155 + /*C0-C7*/ "","","","","","","","", 156 + /*D0-D7*/ "","","","","","","","", 157 + /*E0-E7*/ "","","","","","","","", 158 + /*F0-F7*/ "","","rtc-battery-voltage-read-enable","reset-cause-pinhole","","","","", 159 + /*G0-G7*/ "fan0","fan1","","","","","","", 160 + /*H0-H7*/ "","","rear-enc-id0","rear-enc-fault0","","","","", 161 + /*I0-I7*/ "","","","","","","bmc-secure-boot","", 162 + /*J0-J7*/ "","","","","","","","", 163 + /*K0-K7*/ "","","","","","","","", 164 + /*L0-L7*/ "","","","","","","","", 165 + /*M0-M7*/ "","","","","","","","", 166 + /*N0-N7*/ "","","","","","","","", 167 + /*O0-O7*/ "","","","usb-power","","","","", 168 + /*P0-P7*/ "","","","","","","","", 169 + /*Q0-Q7*/ "cfam-reset","","regulator-standby-faulted","","","","","", 170 + /*R0-R7*/ "bmc-tpm-reset","power-chassis-control","power-chassis-good","","","","","", 171 + /*S0-S7*/ "presence-ps0","presence-ps1","","","power-ffs-sync-history","","","", 172 + /*T0-T7*/ "","","","","","","","", 173 + /*U0-U7*/ "","","","","","","","", 174 + /*V0-V7*/ "","","","","","","","", 175 + /*W0-W7*/ "","","","","","","","", 176 + /*X0-X7*/ "","","","","","","","", 177 + /*Y0-Y7*/ "","","","","","","","", 178 + /*Z0-Z7*/ "","","","","","","",""; 179 + 180 + usb_power { 181 + gpio-hog; 182 + gpios = <ASPEED_GPIO(O, 3) GPIO_ACTIVE_LOW>; 183 + output-high; 184 + }; 185 + }; 186 + 187 + &emmc_controller { 188 + status = "okay"; 189 + }; 190 + 191 + &pinctrl_emmc_default { 192 + bias-disable; 193 + }; 194 + 195 + &emmc { 196 + status = "okay"; 197 + clk-phase-mmc-hs200 = <180>, <180>; 198 + }; 199 + 200 + &fsim0 { 201 + status = "okay"; 202 + 203 + #address-cells = <2>; 204 + #size-cells = <0>; 205 + 206 + cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_HIGH>; 207 + 208 + cfam@0,0 { 209 + reg = <0 0>; 210 + #address-cells = <1>; 211 + #size-cells = <1>; 212 + chip-id = <0>; 213 + 214 + scom@1000 { 215 + compatible = "ibm,fsi2pib"; 216 + reg = <0x1000 0x400>; 217 + }; 218 + 219 + i2c@1800 { 220 + compatible = "ibm,fsi-i2c-master"; 221 + reg = <0x1800 0x400>; 222 + #address-cells = <1>; 223 + #size-cells = <0>; 224 + 225 + cfam0_i2c0: i2c-bus@0 { 226 + reg = <0>; /* OMI01 */ 227 + }; 228 + 229 + cfam0_i2c1: i2c-bus@1 { 230 + reg = <1>; /* OMI23 */ 231 + }; 232 + 233 + cfam0_i2c10: i2c-bus@a { 234 + reg = <10>; /* OP3A */ 235 + }; 236 + 237 + cfam0_i2c11: i2c-bus@b { 238 + reg = <11>; /* OP3B */ 239 + }; 240 + 241 + cfam0_i2c12: i2c-bus@c { 242 + reg = <12>; /* OP4A */ 243 + }; 244 + 245 + cfam0_i2c13: i2c-bus@d { 246 + reg = <13>; /* OP4B */ 247 + }; 248 + 249 + cfam0_i2c14: i2c-bus@e { 250 + reg = <14>; /* OP5A */ 251 + }; 252 + 253 + cfam0_i2c15: i2c-bus@f { 254 + reg = <15>; /* OP5B */ 255 + }; 256 + }; 257 + 258 + fsi2spi@1c00 { 259 + compatible = "ibm,fsi2spi"; 260 + reg = <0x1c00 0x400>; 261 + #address-cells = <1>; 262 + #size-cells = <0>; 263 + 264 + cfam0_spi0: spi@0 { 265 + reg = <0x0>; 266 + #address-cells = <1>; 267 + #size-cells = <0>; 268 + 269 + eeprom@0 { 270 + at25,byte-len = <0x80000>; 271 + at25,addr-mode = <4>; 272 + at25,page-size = <256>; 273 + 274 + compatible = "atmel,at25"; 275 + reg = <0>; 276 + spi-max-frequency = <1000000>; 277 + }; 278 + }; 279 + 280 + cfam0_spi1: spi@20 { 281 + reg = <0x20>; 282 + #address-cells = <1>; 283 + #size-cells = <0>; 284 + 285 + eeprom@0 { 286 + at25,byte-len = <0x80000>; 287 + at25,addr-mode = <4>; 288 + at25,page-size = <256>; 289 + 290 + compatible = "atmel,at25"; 291 + reg = <0>; 292 + spi-max-frequency = <1000000>; 293 + }; 294 + }; 295 + 296 + cfam0_spi2: spi@40 { 297 + reg = <0x40>; 298 + compatible = "ibm,fsi2spi-restricted"; 299 + #address-cells = <1>; 300 + #size-cells = <0>; 301 + 302 + eeprom@0 { 303 + at25,byte-len = <0x80000>; 304 + at25,addr-mode = <4>; 305 + at25,page-size = <256>; 306 + 307 + compatible = "atmel,at25"; 308 + reg = <0>; 309 + spi-max-frequency = <1000000>; 310 + }; 311 + }; 312 + 313 + cfam0_spi3: spi@60 { 314 + reg = <0x60>; 315 + compatible = "ibm,fsi2spi-restricted"; 316 + #address-cells = <1>; 317 + #size-cells = <0>; 318 + 319 + eeprom@0 { 320 + at25,byte-len = <0x80000>; 321 + at25,addr-mode = <4>; 322 + at25,page-size = <256>; 323 + 324 + compatible = "atmel,at25"; 325 + reg = <0>; 326 + spi-max-frequency = <1000000>; 327 + }; 328 + }; 329 + }; 330 + 331 + sbefifo@2400 { 332 + compatible = "ibm,p9-sbefifo"; 333 + reg = <0x2400 0x400>; 334 + #address-cells = <1>; 335 + #size-cells = <0>; 336 + 337 + fsi_occ0: occ { 338 + compatible = "ibm,p10-occ"; 339 + 340 + occ-hwmon { 341 + compatible = "ibm,p10-occ-hwmon"; 342 + ibm,no-poll-on-init; 343 + }; 344 + }; 345 + }; 346 + 347 + fsi_hub0: hub@3400 { 348 + compatible = "fsi-master-hub"; 349 + reg = <0x3400 0x400>; 350 + #address-cells = <2>; 351 + #size-cells = <0>; 352 + }; 353 + }; 354 + }; 355 + 356 + &fsi_hub0 { 357 + cfam@1,0 { 358 + reg = <1 0>; 359 + #address-cells = <1>; 360 + #size-cells = <1>; 361 + chip-id = <1>; 362 + 363 + scom@1000 { 364 + compatible = "ibm,fsi2pib"; 365 + reg = <0x1000 0x400>; 366 + }; 367 + 368 + i2c@1800 { 369 + compatible = "ibm,fsi-i2c-master"; 370 + reg = <0x1800 0x400>; 371 + #address-cells = <1>; 372 + #size-cells = <0>; 373 + 374 + cfam1_i2c2: i2c-bus@2 { 375 + reg = <2>; /* OMI45 */ 376 + }; 377 + 378 + cfam1_i2c3: i2c-bus@3 { 379 + reg = <3>; /* OMI67 */ 380 + }; 381 + 382 + cfam1_i2c10: i2c-bus@a { 383 + reg = <10>; /* OP3A */ 384 + }; 385 + 386 + cfam1_i2c11: i2c-bus@b { 387 + reg = <11>; /* OP3B */ 388 + }; 389 + 390 + cfam1_i2c14: i2c-bus@e { 391 + reg = <14>; /* OP5A */ 392 + }; 393 + 394 + cfam1_i2c15: i2c-bus@f { 395 + reg = <15>; /* OP5B */ 396 + }; 397 + 398 + cfam1_i2c16: i2c-bus@10 { 399 + reg = <16>; /* OP6A */ 400 + }; 401 + 402 + cfam1_i2c17: i2c-bus@11 { 403 + reg = <17>; /* OP6B */ 404 + }; 405 + }; 406 + 407 + fsi2spi@1c00 { 408 + compatible = "ibm,fsi2spi"; 409 + reg = <0x1c00 0x400>; 410 + #address-cells = <1>; 411 + #size-cells = <0>; 412 + 413 + cfam1_spi0: spi@0 { 414 + reg = <0x0>; 415 + #address-cells = <1>; 416 + #size-cells = <0>; 417 + 418 + eeprom@0 { 419 + at25,byte-len = <0x80000>; 420 + at25,addr-mode = <4>; 421 + at25,page-size = <256>; 422 + 423 + compatible = "atmel,at25"; 424 + reg = <0>; 425 + spi-max-frequency = <1000000>; 426 + }; 427 + }; 428 + 429 + cfam1_spi1: spi@20 { 430 + reg = <0x20>; 431 + #address-cells = <1>; 432 + #size-cells = <0>; 433 + 434 + eeprom@0 { 435 + at25,byte-len = <0x80000>; 436 + at25,addr-mode = <4>; 437 + at25,page-size = <256>; 438 + 439 + compatible = "atmel,at25"; 440 + reg = <0>; 441 + spi-max-frequency = <1000000>; 442 + }; 443 + }; 444 + 445 + cfam1_spi2: spi@40 { 446 + reg = <0x40>; 447 + compatible = "ibm,fsi2spi-restricted"; 448 + #address-cells = <1>; 449 + #size-cells = <0>; 450 + 451 + eeprom@0 { 452 + at25,byte-len = <0x80000>; 453 + at25,addr-mode = <4>; 454 + at25,page-size = <256>; 455 + 456 + compatible = "atmel,at25"; 457 + reg = <0>; 458 + spi-max-frequency = <1000000>; 459 + }; 460 + }; 461 + 462 + cfam1_spi3: spi@60 { 463 + reg = <0x60>; 464 + compatible = "ibm,fsi2spi-restricted"; 465 + #address-cells = <1>; 466 + #size-cells = <0>; 467 + 468 + eeprom@0 { 469 + at25,byte-len = <0x80000>; 470 + at25,addr-mode = <4>; 471 + at25,page-size = <256>; 472 + 473 + compatible = "atmel,at25"; 474 + reg = <0>; 475 + spi-max-frequency = <1000000>; 476 + }; 477 + }; 478 + }; 479 + 480 + sbefifo@2400 { 481 + compatible = "ibm,p9-sbefifo"; 482 + reg = <0x2400 0x400>; 483 + #address-cells = <1>; 484 + #size-cells = <0>; 485 + 486 + fsi_occ1: occ { 487 + compatible = "ibm,p10-occ"; 488 + 489 + occ-hwmon { 490 + compatible = "ibm,p10-occ-hwmon"; 491 + ibm,no-poll-on-init; 492 + }; 493 + }; 494 + }; 495 + 496 + fsi_hub1: hub@3400 { 497 + compatible = "fsi-master-hub"; 498 + reg = <0x3400 0x400>; 499 + #address-cells = <2>; 500 + #size-cells = <0>; 501 + 502 + no-scan-on-init; 503 + }; 504 + }; 505 + }; 506 + 507 + &ibt { 508 + status = "okay"; 509 + }; 510 + 511 + &i2c0 { 512 + status = "okay"; 513 + 514 + eeprom@51 { 515 + compatible = "atmel,24c64"; 516 + reg = <0x51>; 517 + }; 518 + 519 + tca9554@20 { 520 + compatible = "ti,tca9554"; 521 + reg = <0x20>; 522 + #address-cells = <1>; 523 + #size-cells = <0>; 524 + 525 + gpio-controller; 526 + #gpio-cells = <2>; 527 + 528 + gpio-line-names = "", 529 + "RUSSEL_FW_I2C_ENABLE_N", 530 + "RUSSEL_OPPANEL_PRESENCE_N", 531 + "BLYTH_OPPANEL_PRESENCE_N", 532 + "CPU_TPM_CARD_PRESENT_N", 533 + "", 534 + "", 535 + "DASD_BP_PRESENT_N"; 536 + }; 537 + }; 538 + 539 + &i2c1 { 540 + status = "okay"; 541 + }; 542 + 543 + &i2c2 { 544 + status = "okay"; 545 + 546 + ucd90160@64 { 547 + compatible = "ti,ucd90160"; 548 + reg = <0x64>; 549 + }; 550 + }; 551 + 552 + &i2c3 { 553 + status = "okay"; 554 + 555 + power-supply@58 { 556 + compatible = "ibm,cffps"; 557 + reg = <0x58>; 558 + }; 559 + 560 + power-supply@59 { 561 + compatible = "ibm,cffps"; 562 + reg = <0x59>; 563 + }; 564 + }; 565 + 566 + &i2c4 { 567 + status = "okay"; 568 + }; 569 + 570 + &i2c5 { 571 + status = "okay"; 572 + }; 573 + 574 + &i2c6 { 575 + status = "okay"; 576 + }; 577 + 578 + &i2c7 { 579 + multi-master; 580 + status = "okay"; 581 + 582 + si7021-a20@40 { 583 + compatible = "silabs,si7020"; 584 + reg = <0x40>; 585 + }; 586 + 587 + tmp275@48 { 588 + compatible = "ti,tmp275"; 589 + reg = <0x48>; 590 + }; 591 + 592 + eeprom@50 { 593 + compatible = "atmel,24c64"; 594 + reg = <0x50>; 595 + }; 596 + 597 + eeprom@51 { 598 + compatible = "atmel,24c64"; 599 + reg = <0x51>; 600 + }; 601 + 602 + max31785@52 { 603 + compatible = "maxim,max31785a"; 604 + reg = <0x52>; 605 + #address-cells = <1>; 606 + #size-cells = <0>; 607 + 608 + fan0: fan@0 { 609 + compatible = "pmbus-fan"; 610 + reg = <0>; 611 + tach-pulses = <2>; 612 + }; 613 + 614 + fan1: fan@1 { 615 + compatible = "pmbus-fan"; 616 + reg = <1>; 617 + tach-pulses = <2>; 618 + }; 619 + }; 620 + 621 + pca9551@60 { 622 + compatible = "nxp,pca9551"; 623 + reg = <0x60>; 624 + #address-cells = <1>; 625 + #size-cells = <0>; 626 + 627 + gpio-controller; 628 + #gpio-cells = <2>; 629 + 630 + led@0 { 631 + label = "front-sys-id0"; 632 + reg = <0>; 633 + retain-state-shutdown; 634 + default-state = "keep"; 635 + type = <PCA955X_TYPE_LED>; 636 + }; 637 + 638 + led@1 { 639 + label = "front-check-log0"; 640 + reg = <1>; 641 + retain-state-shutdown; 642 + default-state = "keep"; 643 + type = <PCA955X_TYPE_LED>; 644 + }; 645 + 646 + led@2 { 647 + label = "front-enc-fault1"; 648 + reg = <2>; 649 + retain-state-shutdown; 650 + default-state = "keep"; 651 + type = <PCA955X_TYPE_LED>; 652 + }; 653 + 654 + led@3 { 655 + label = "front-sys-pwron0"; 656 + reg = <3>; 657 + retain-state-shutdown; 658 + default-state = "keep"; 659 + type = <PCA955X_TYPE_LED>; 660 + }; 661 + }; 662 + 663 + ibm-panel@62 { 664 + compatible = "ibm,op-panel"; 665 + reg = <(0x62 | I2C_OWN_SLAVE_ADDRESS)>; 666 + }; 667 + 668 + dps: dps310@76 { 669 + compatible = "infineon,dps310"; 670 + reg = <0x76>; 671 + #io-channel-cells = <0>; 672 + }; 673 + }; 674 + 675 + &i2c8 { 676 + status = "okay"; 677 + 678 + rtc@32 { 679 + compatible = "epson,rx8900"; 680 + reg = <0x32>; 681 + }; 682 + 683 + tmp275@48 { 684 + compatible = "ti,tmp275"; 685 + reg = <0x48>; 686 + }; 687 + 688 + eeprom@50 { 689 + compatible = "atmel,24c64"; 690 + reg = <0x50>; 691 + }; 692 + 693 + pca9551@60 { 694 + compatible = "nxp,pca9551"; 695 + reg = <0x60>; 696 + #address-cells = <1>; 697 + #size-cells = <0>; 698 + 699 + gpio-controller; 700 + #gpio-cells = <2>; 701 + 702 + gpio-line-names = "", 703 + "APSS_RESET_N", 704 + "", 705 + "N_MODE_CPU_N", 706 + "", 707 + "", 708 + "P10_DCM_PRESENT", 709 + ""; 710 + }; 711 + }; 712 + 713 + &i2c9 { 714 + status = "okay"; 715 + 716 + tmp423a@4c { 717 + compatible = "ti,tmp423"; 718 + reg = <0x4c>; 719 + }; 720 + }; 721 + 722 + &i2c10 { 723 + status = "okay"; 724 + }; 725 + 726 + &i2c11 { 727 + status = "okay"; 728 + 729 + tca9554@20 { 730 + compatible = "ti,tca9554"; 731 + reg = <0x20>; 732 + #address-cells = <1>; 733 + #size-cells = <0>; 734 + 735 + gpio-controller; 736 + #gpio-cells = <2>; 737 + 738 + gpio-line-names = "BOOT_RCVRY_TWI", 739 + "BOOT_RCVRY_UART", 740 + "", 741 + "", 742 + "", 743 + "", 744 + "", 745 + "PE_SWITCH_RSTB_N"; 746 + }; 747 + 748 + tmp435@4c { 749 + compatible = "ti,tmp435"; 750 + reg = <0x4c>; 751 + }; 752 + 753 + pca9849@75 { 754 + compatible = "nxp,pca849"; 755 + reg = <0x75>; 756 + #address-cells = <1>; 757 + #size-cells = <0>; 758 + status = "okay"; 759 + i2c-mux-idle-disconnect; 760 + 761 + i2c11mux0chn0: i2c@0 { 762 + #address-cells = <1>; 763 + #size-cells = <0>; 764 + reg = <0>; 765 + }; 766 + 767 + i2c11mux0chn1: i2c@1 { 768 + #address-cells = <1>; 769 + #size-cells = <0>; 770 + reg = <1>; 771 + }; 772 + 773 + i2c11mux0chn2: i2c@2 { 774 + #address-cells = <1>; 775 + #size-cells = <0>; 776 + reg = <2>; 777 + }; 778 + 779 + i2c11mux0chn3: i2c@3 { 780 + #address-cells = <1>; 781 + #size-cells = <0>; 782 + reg = <3>; 783 + }; 784 + }; 785 + }; 786 + 787 + &i2c12 { 788 + status = "okay"; 789 + 790 + tpm@2e { 791 + compatible = "nuvoton,npct75x"; 792 + reg = <0x2e>; 793 + }; 794 + 795 + eeprom@50 { 796 + compatible = "atmel,24c64"; 797 + reg = <0x50>; 798 + }; 799 + }; 800 + 801 + &i2c13 { 802 + status = "okay"; 803 + 804 + eeprom@50 { 805 + compatible = "atmel,24c64"; 806 + reg = <0x50>; 807 + }; 808 + 809 + pca9551@60 { 810 + compatible = "nxp,pca9551"; 811 + reg = <0x60>; 812 + #address-cells = <1>; 813 + #size-cells = <0>; 814 + 815 + gpio-controller; 816 + #gpio-cells = <2>; 817 + 818 + led@0 { 819 + label = "nvme0"; 820 + reg = <0>; 821 + retain-state-shutdown; 822 + default-state = "keep"; 823 + type = <PCA955X_TYPE_LED>; 824 + }; 825 + 826 + led@1 { 827 + label = "nvme1"; 828 + reg = <1>; 829 + retain-state-shutdown; 830 + default-state = "keep"; 831 + type = <PCA955X_TYPE_LED>; 832 + }; 833 + 834 + led@2 { 835 + label = "nvme2"; 836 + reg = <2>; 837 + retain-state-shutdown; 838 + default-state = "keep"; 839 + type = <PCA955X_TYPE_LED>; 840 + }; 841 + 842 + led@3 { 843 + label = "nvme3"; 844 + reg = <3>; 845 + retain-state-shutdown; 846 + default-state = "keep"; 847 + type = <PCA955X_TYPE_LED>; 848 + }; 849 + }; 850 + }; 851 + 852 + &i2c14 { 853 + status = "okay"; 854 + }; 855 + 856 + &i2c15 { 857 + status = "okay"; 858 + }; 859 + 860 + &vuart1 { 861 + status = "okay"; 862 + }; 863 + 864 + &vuart2 { 865 + status = "okay"; 866 + }; 867 + 868 + &lpc_ctrl { 869 + status = "okay"; 870 + memory-region = <&flash_memory>; 871 + }; 872 + 873 + &mac2 { 874 + status = "okay"; 875 + pinctrl-names = "default"; 876 + pinctrl-0 = <&pinctrl_rmii3_default>; 877 + clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>, 878 + <&syscon ASPEED_CLK_MAC3RCLK>; 879 + clock-names = "MACCLK", "RCLK"; 880 + use-ncsi; 881 + }; 882 + 883 + &mac3 { 884 + status = "okay"; 885 + pinctrl-names = "default"; 886 + pinctrl-0 = <&pinctrl_rmii4_default>; 887 + clocks = <&syscon ASPEED_CLK_GATE_MAC4CLK>, 888 + <&syscon ASPEED_CLK_MAC4RCLK>; 889 + clock-names = "MACCLK", "RCLK"; 890 + use-ncsi; 891 + }; 892 + 893 + &wdt1 { 894 + aspeed,reset-type = "none"; 895 + aspeed,external-signal; 896 + aspeed,ext-push-pull; 897 + aspeed,ext-active-high; 898 + 899 + pinctrl-names = "default"; 900 + pinctrl-0 = <&pinctrl_wdtrst1_default>; 901 + }; 902 + 903 + &wdt2 { 904 + status = "okay"; 905 + }; 906 + 907 + &xdma { 908 + status = "okay"; 909 + memory-region = <&vga_memory>; 910 + }; 911 + 912 + &kcs2 { 913 + status = "okay"; 914 + aspeed,lpc-io-reg = <0xca8 0xcac>; 915 + }; 916 + 917 + &kcs3 { 918 + status = "okay"; 919 + aspeed,lpc-io-reg = <0xca2>; 920 + aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>; 921 + };
+48 -9
arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
··· 162 162 #size-cells = <1>; 163 163 ranges; 164 164 165 - /* LPC FW cycle bridge region requires natural alignment */ 166 - flash_memory: region@b8000000 { 167 - no-map; 168 - reg = <0xb8000000 0x04000000>; /* 64M */ 169 - }; 170 - 171 - /* 48MB region from the end of flash to start of vga memory */ 172 - ramoops@bc000000 { 165 + ramoops@b3e00000 { 173 166 compatible = "ramoops"; 174 - reg = <0xbc000000 0x200000>; /* 16 * (4 * 0x8000) */ 167 + reg = <0xb3e00000 0x200000>; /* 16 * (4 * 0x8000) */ 175 168 record-size = <0x8000>; 176 169 console-size = <0x8000>; 177 170 ftrace-size = <0x8000>; 178 171 pmsg-size = <0x8000>; 179 172 max-reason = <3>; /* KMSG_DUMP_EMERG */ 173 + }; 174 + 175 + /* LPC FW cycle bridge region requires natural alignment */ 176 + flash_memory: region@b4000000 { 177 + no-map; 178 + reg = <0xb4000000 0x04000000>; /* 64M */ 180 179 }; 181 180 182 181 /* VGA region is dictated by hardware strapping */ ··· 2550 2551 2551 2552 fsi_occ0: occ { 2552 2553 compatible = "ibm,p10-occ"; 2554 + 2555 + occ-hwmon { 2556 + compatible = "ibm,p10-occ-hwmon"; 2557 + ibm,no-poll-on-init; 2558 + }; 2553 2559 }; 2554 2560 }; 2555 2561 ··· 2699 2695 2700 2696 fsi_occ1: occ { 2701 2697 compatible = "ibm,p10-occ"; 2698 + 2699 + occ-hwmon { 2700 + compatible = "ibm,p10-occ-hwmon"; 2701 + ibm,no-poll-on-init; 2702 + }; 2702 2703 }; 2703 2704 }; 2704 2705 ··· 2848 2839 2849 2840 fsi_occ2: occ { 2850 2841 compatible = "ibm,p10-occ"; 2842 + 2843 + occ-hwmon { 2844 + compatible = "ibm,p10-occ-hwmon"; 2845 + ibm,no-poll-on-init; 2846 + }; 2851 2847 }; 2852 2848 }; 2853 2849 ··· 2997 2983 2998 2984 fsi_occ3: occ { 2999 2985 compatible = "ibm,p10-occ"; 2986 + 2987 + occ-hwmon { 2988 + compatible = "ibm,p10-occ-hwmon"; 2989 + ibm,no-poll-on-init; 2990 + }; 3000 2991 }; 3001 2992 }; 3002 2993 ··· 3146 3127 3147 3128 fsi_occ4: occ { 3148 3129 compatible = "ibm,p10-occ"; 3130 + 3131 + occ-hwmon { 3132 + compatible = "ibm,p10-occ-hwmon"; 3133 + ibm,no-poll-on-init; 3134 + }; 3149 3135 }; 3150 3136 }; 3151 3137 ··· 3295 3271 3296 3272 fsi_occ5: occ { 3297 3273 compatible = "ibm,p10-occ"; 3274 + 3275 + occ-hwmon { 3276 + compatible = "ibm,p10-occ-hwmon"; 3277 + ibm,no-poll-on-init; 3278 + }; 3298 3279 }; 3299 3280 }; 3300 3281 ··· 3444 3415 3445 3416 fsi_occ6: occ { 3446 3417 compatible = "ibm,p10-occ"; 3418 + 3419 + occ-hwmon { 3420 + compatible = "ibm,p10-occ-hwmon"; 3421 + ibm,no-poll-on-init; 3422 + }; 3447 3423 }; 3448 3424 }; 3449 3425 ··· 3593 3559 3594 3560 fsi_occ7: occ { 3595 3561 compatible = "ibm,p10-occ"; 3562 + 3563 + occ-hwmon { 3564 + compatible = "ibm,p10-occ-hwmon"; 3565 + ibm,no-poll-on-init; 3566 + }; 3596 3567 }; 3597 3568 }; 3598 3569
+133 -111
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
··· 95 95 #size-cells = <1>; 96 96 ranges; 97 97 98 - flash_memory: region@b8000000 { 99 - no-map; 100 - reg = <0xb8000000 0x04000000>; /* 64M */ 101 - }; 102 - 103 - ramoops@bc000000 { 98 + ramoops@b3e00000 { 104 99 compatible = "ramoops"; 105 - reg = <0xbc000000 0x200000>; /* 16 * (4 * 0x8000) */ 100 + reg = <0xb3e00000 0x200000>; /* 16 * (4 * 0x8000) */ 106 101 record-size = <0x8000>; 107 102 console-size = <0x8000>; 108 103 ftrace-size = <0x8000>; ··· 105 110 max-reason = <3>; /* KMSG_DUMP_EMERG */ 106 111 }; 107 112 113 + /* LPC FW cycle bridge region requires natural alignment */ 114 + flash_memory: region@b4000000 { 115 + no-map; 116 + reg = <0xb4000000 0x04000000>; /* 64M */ 117 + }; 118 + 119 + /* VGA region is dictated by hardware strapping */ 108 120 vga_memory: region@bf000000 { 109 121 no-map; 110 122 compatible = "shared-dma-pool"; ··· 444 442 445 443 fsi_occ0: occ { 446 444 compatible = "ibm,p10-occ"; 445 + 446 + occ-hwmon { 447 + compatible = "ibm,p10-occ-hwmon"; 448 + ibm,no-poll-on-init; 449 + }; 447 450 }; 448 451 }; 449 452 ··· 593 586 594 587 fsi_occ1: occ { 595 588 compatible = "ibm,p10-occ"; 589 + 590 + occ-hwmon { 591 + compatible = "ibm,p10-occ-hwmon"; 592 + ibm,no-poll-on-init; 593 + }; 596 594 }; 597 595 }; 598 596 ··· 742 730 743 731 fsi_occ2: occ { 744 732 compatible = "ibm,p10-occ"; 733 + 734 + occ-hwmon { 735 + compatible = "ibm,p10-occ-hwmon"; 736 + ibm,no-poll-on-init; 737 + }; 745 738 }; 746 739 }; 747 740 ··· 891 874 892 875 fsi_occ3: occ { 893 876 compatible = "ibm,p10-occ"; 877 + 878 + occ-hwmon { 879 + compatible = "ibm,p10-occ-hwmon"; 880 + ibm,no-poll-on-init; 881 + }; 894 882 }; 895 883 }; 896 884 ··· 1017 995 reg = <0x4a>; 1018 996 }; 1019 997 1020 - pca9551@60 { 1021 - compatible = "nxp,pca9551"; 1022 - reg = <0x60>; 1023 - #address-cells = <1>; 1024 - #size-cells = <0>; 1025 - 1026 - gpio-controller; 1027 - #gpio-cells = <2>; 1028 - 1029 - led@0 { 1030 - label = "cablecard0-cxp-top"; 1031 - reg = <0>; 1032 - retain-state-shutdown; 1033 - default-state = "keep"; 1034 - type = <PCA955X_TYPE_LED>; 1035 - }; 1036 - 1037 - led@1 { 1038 - label = "cablecard0-cxp-bot"; 1039 - reg = <1>; 1040 - retain-state-shutdown; 1041 - default-state = "keep"; 1042 - type = <PCA955X_TYPE_LED>; 1043 - }; 1044 - }; 1045 - 1046 998 pca9546@70 { 1047 999 compatible = "nxp,pca9546"; 1048 1000 reg = <0x70>; ··· 1033 1037 eeprom@50 { 1034 1038 compatible = "atmel,24c64"; 1035 1039 reg = <0x50>; 1040 + }; 1041 + 1042 + pca9551@60 { 1043 + compatible = "nxp,pca9551"; 1044 + reg = <0x60>; 1045 + #address-cells = <1>; 1046 + #size-cells = <0>; 1047 + 1048 + gpio-controller; 1049 + #gpio-cells = <2>; 1050 + 1051 + led@0 { 1052 + label = "cablecard0-cxp-top"; 1053 + reg = <0>; 1054 + retain-state-shutdown; 1055 + default-state = "keep"; 1056 + type = <PCA955X_TYPE_LED>; 1057 + }; 1058 + 1059 + led@1 { 1060 + label = "cablecard0-cxp-bot"; 1061 + reg = <1>; 1062 + retain-state-shutdown; 1063 + default-state = "keep"; 1064 + type = <PCA955X_TYPE_LED>; 1065 + }; 1036 1066 }; 1037 1067 }; 1038 1068 ··· 1099 1077 reg = <0x49>; 1100 1078 }; 1101 1079 1102 - pca9551@60 { 1103 - compatible = "nxp,pca9551"; 1104 - reg = <0x60>; 1105 - #address-cells = <1>; 1106 - #size-cells = <0>; 1107 - 1108 - gpio-controller; 1109 - #gpio-cells = <2>; 1110 - 1111 - led@0 { 1112 - label = "cablecard3-cxp-top"; 1113 - reg = <0>; 1114 - retain-state-shutdown; 1115 - default-state = "keep"; 1116 - type = <PCA955X_TYPE_LED>; 1117 - }; 1118 - 1119 - led@1 { 1120 - label = "cablecard3-cxp-bot"; 1121 - reg = <1>; 1122 - retain-state-shutdown; 1123 - default-state = "keep"; 1124 - type = <PCA955X_TYPE_LED>; 1125 - }; 1126 - }; 1127 - 1128 - pca9551@61 { 1129 - compatible = "nxp,pca9551"; 1130 - reg = <0x61>; 1131 - #address-cells = <1>; 1132 - #size-cells = <0>; 1133 - 1134 - gpio-controller; 1135 - #gpio-cells = <2>; 1136 - 1137 - led@0 { 1138 - label = "cablecard4-cxp-top"; 1139 - reg = <0>; 1140 - retain-state-shutdown; 1141 - default-state = "keep"; 1142 - type = <PCA955X_TYPE_LED>; 1143 - }; 1144 - 1145 - led@1 { 1146 - label = "cablecard4-cxp-bot"; 1147 - reg = <1>; 1148 - retain-state-shutdown; 1149 - default-state = "keep"; 1150 - type = <PCA955X_TYPE_LED>; 1151 - }; 1152 - }; 1153 - 1154 1080 pca9546@70 { 1155 1081 compatible = "nxp,pca9546"; 1156 1082 reg = <0x70>; ··· 1116 1146 compatible = "atmel,24c64"; 1117 1147 reg = <0x50>; 1118 1148 }; 1149 + 1150 + pca9551@60 { 1151 + compatible = "nxp,pca9551"; 1152 + reg = <0x60>; 1153 + #address-cells = <1>; 1154 + #size-cells = <0>; 1155 + 1156 + gpio-controller; 1157 + #gpio-cells = <2>; 1158 + 1159 + led@0 { 1160 + label = "cablecard3-cxp-top"; 1161 + reg = <0>; 1162 + retain-state-shutdown; 1163 + default-state = "keep"; 1164 + type = <PCA955X_TYPE_LED>; 1165 + }; 1166 + 1167 + led@1 { 1168 + label = "cablecard3-cxp-bot"; 1169 + reg = <1>; 1170 + retain-state-shutdown; 1171 + default-state = "keep"; 1172 + type = <PCA955X_TYPE_LED>; 1173 + }; 1174 + }; 1119 1175 }; 1120 1176 1121 1177 i2c5mux0chn1: i2c@1 { ··· 1152 1156 eeprom@51 { 1153 1157 compatible = "atmel,24c64"; 1154 1158 reg = <0x51>; 1159 + }; 1160 + 1161 + pca9551@61 { 1162 + compatible = "nxp,pca9551"; 1163 + reg = <0x61>; 1164 + #address-cells = <1>; 1165 + #size-cells = <0>; 1166 + 1167 + gpio-controller; 1168 + #gpio-cells = <2>; 1169 + 1170 + led@0 { 1171 + label = "cablecard4-cxp-top"; 1172 + reg = <0>; 1173 + retain-state-shutdown; 1174 + default-state = "keep"; 1175 + type = <PCA955X_TYPE_LED>; 1176 + }; 1177 + 1178 + led@1 { 1179 + label = "cablecard4-cxp-bot"; 1180 + reg = <1>; 1181 + retain-state-shutdown; 1182 + default-state = "keep"; 1183 + type = <PCA955X_TYPE_LED>; 1184 + }; 1155 1185 }; 1156 1186 }; 1157 1187 }; ··· 2031 2009 reg = <0x49>; 2032 2010 }; 2033 2011 2034 - pca9551@60 { 2035 - compatible = "nxp,pca9551"; 2036 - reg = <0x60>; 2037 - #address-cells = <1>; 2038 - #size-cells = <0>; 2039 - 2040 - gpio-controller; 2041 - #gpio-cells = <2>; 2042 - 2043 - led@0 { 2044 - label = "cablecard10-cxp-top"; 2045 - reg = <0>; 2046 - retain-state-shutdown; 2047 - default-state = "keep"; 2048 - type = <PCA955X_TYPE_LED>; 2049 - }; 2050 - 2051 - led@1 { 2052 - label = "cablecard10-cxp-bot"; 2053 - reg = <1>; 2054 - retain-state-shutdown; 2055 - default-state = "keep"; 2056 - type = <PCA955X_TYPE_LED>; 2057 - }; 2058 - }; 2059 - 2060 2012 pca9546@70 { 2061 2013 compatible = "nxp,pca9546"; 2062 2014 reg = <0x70>; ··· 2047 2051 eeprom@50 { 2048 2052 compatible = "atmel,24c64"; 2049 2053 reg = <0x50>; 2054 + }; 2055 + 2056 + pca9551@60 { 2057 + compatible = "nxp,pca9551"; 2058 + reg = <0x60>; 2059 + #address-cells = <1>; 2060 + #size-cells = <0>; 2061 + 2062 + gpio-controller; 2063 + #gpio-cells = <2>; 2064 + 2065 + led@0 { 2066 + label = "cablecard10-cxp-top"; 2067 + reg = <0>; 2068 + retain-state-shutdown; 2069 + default-state = "keep"; 2070 + type = <PCA955X_TYPE_LED>; 2071 + }; 2072 + 2073 + led@1 { 2074 + label = "cablecard10-cxp-bot"; 2075 + reg = <1>; 2076 + retain-state-shutdown; 2077 + default-state = "keep"; 2078 + type = <PCA955X_TYPE_LED>; 2079 + }; 2050 2080 }; 2051 2081 }; 2052 2082
-1381
arch/arm/boot/dts/aspeed-bmc-opp-mihawk.dts
··· 1 - // SPDX-License-Identifier: GPL-2.0+ 2 - /dts-v1/; 3 - #include "aspeed-g5.dtsi" 4 - #include <dt-bindings/gpio/aspeed-gpio.h> 5 - #include <dt-bindings/leds/leds-pca955x.h> 6 - 7 - / { 8 - model = "Mihawk BMC"; 9 - compatible = "ibm,mihawk-bmc", "aspeed,ast2500"; 10 - 11 - aliases { 12 - i2c215 = &bus6_mux215; 13 - i2c216 = &bus6_mux216; 14 - i2c217 = &bus6_mux217; 15 - i2c218 = &bus6_mux218; 16 - i2c219 = &bus6_mux219; 17 - i2c220 = &bus6_mux220; 18 - i2c221 = &bus6_mux221; 19 - i2c222 = &bus6_mux222; 20 - i2c223 = &bus7_mux223; 21 - i2c224 = &bus7_mux224; 22 - i2c225 = &bus7_mux225; 23 - i2c226 = &bus7_mux226; 24 - i2c227 = &bus7_mux227; 25 - i2c228 = &bus7_mux228; 26 - i2c229 = &bus7_mux229; 27 - i2c230 = &bus7_mux230; 28 - i2c231 = &bus9_mux231; 29 - i2c232 = &bus9_mux232; 30 - i2c233 = &bus9_mux233; 31 - i2c234 = &bus9_mux234; 32 - i2c235 = &bus9_mux235; 33 - i2c236 = &bus9_mux236; 34 - i2c237 = &bus9_mux237; 35 - i2c238 = &bus9_mux238; 36 - i2c239 = &bus10_mux239; 37 - i2c240 = &bus10_mux240; 38 - i2c241 = &bus10_mux241; 39 - i2c242 = &bus10_mux242; 40 - i2c243 = &bus10_mux243; 41 - i2c244 = &bus10_mux244; 42 - i2c245 = &bus10_mux245; 43 - i2c246 = &bus10_mux246; 44 - i2c247 = &bus12_mux247; 45 - i2c248 = &bus12_mux248; 46 - i2c249 = &bus12_mux249; 47 - i2c250 = &bus12_mux250; 48 - i2c251 = &bus13_mux251; 49 - i2c252 = &bus13_mux252; 50 - i2c253 = &bus13_mux253; 51 - i2c254 = &bus13_mux254; 52 - i2c255 = &bus13_mux255; 53 - i2c256 = &bus13_mux256; 54 - i2c257 = &bus13_mux257; 55 - i2c258 = &bus13_mux258; 56 - }; 57 - 58 - chosen { 59 - stdout-path = &uart5; 60 - bootargs = "console=ttyS4,115200 earlycon"; 61 - }; 62 - 63 - memory@80000000 { 64 - reg = <0x80000000 0x20000000>; 65 - }; 66 - 67 - reserved-memory { 68 - #address-cells = <1>; 69 - #size-cells = <1>; 70 - ranges; 71 - 72 - flash_memory: region@98000000 { 73 - no-map; 74 - reg = <0x98000000 0x04000000>; /* 64M */ 75 - }; 76 - 77 - gfx_memory: framebuffer { 78 - size = <0x01000000>; 79 - alignment = <0x01000000>; 80 - compatible = "shared-dma-pool"; 81 - reusable; 82 - }; 83 - 84 - video_engine_memory: jpegbuffer { 85 - size = <0x02000000>; 86 - alignment = <0x01000000>; 87 - compatible = "shared-dma-pool"; 88 - reusable; 89 - }; 90 - }; 91 - 92 - gpio-keys { 93 - compatible = "gpio-keys"; 94 - 95 - event-air-water { 96 - label = "air-water"; 97 - gpios = <&gpio ASPEED_GPIO(F, 6) GPIO_ACTIVE_LOW>; 98 - linux,code = <ASPEED_GPIO(F, 6)>; 99 - }; 100 - 101 - event-checkstop { 102 - label = "checkstop"; 103 - gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; 104 - linux,code = <ASPEED_GPIO(J, 2)>; 105 - }; 106 - 107 - event-ps0-presence { 108 - label = "ps0-presence"; 109 - gpios = <&gpio ASPEED_GPIO(Z, 2) GPIO_ACTIVE_LOW>; 110 - linux,code = <ASPEED_GPIO(Z, 2)>; 111 - }; 112 - 113 - event-ps1-presence { 114 - label = "ps1-presence"; 115 - gpios = <&gpio ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>; 116 - linux,code = <ASPEED_GPIO(Z, 0)>; 117 - }; 118 - 119 - button-id { 120 - label = "id-button"; 121 - gpios = <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>; 122 - linux,code = <ASPEED_GPIO(F, 1)>; 123 - }; 124 - }; 125 - 126 - gpio-keys-polled { 127 - compatible = "gpio-keys-polled"; 128 - poll-interval = <1000>; 129 - 130 - event-fan0-presence { 131 - label = "fan0-presence"; 132 - gpios = <&pca9552 9 GPIO_ACTIVE_LOW>; 133 - linux,code = <9>; 134 - }; 135 - 136 - event-fan1-presence { 137 - label = "fan1-presence"; 138 - gpios = <&pca9552 10 GPIO_ACTIVE_LOW>; 139 - linux,code = <10>; 140 - }; 141 - 142 - event-fan2-presence { 143 - label = "fan2-presence"; 144 - gpios = <&pca9552 11 GPIO_ACTIVE_LOW>; 145 - linux,code = <11>; 146 - }; 147 - 148 - event-fan3-presence { 149 - label = "fan3-presence"; 150 - gpios = <&pca9552 12 GPIO_ACTIVE_LOW>; 151 - linux,code = <12>; 152 - }; 153 - 154 - event-fan4-presence { 155 - label = "fan4-presence"; 156 - gpios = <&pca9552 13 GPIO_ACTIVE_LOW>; 157 - linux,code = <13>; 158 - }; 159 - 160 - event-fan5-presence { 161 - label = "fan5-presence"; 162 - gpios = <&pca9552 14 GPIO_ACTIVE_LOW>; 163 - linux,code = <14>; 164 - }; 165 - }; 166 - 167 - leds { 168 - compatible = "gpio-leds"; 169 - 170 - front-fault { 171 - retain-state-shutdown; 172 - default-state = "keep"; 173 - gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_LOW>; 174 - }; 175 - 176 - power-button { 177 - retain-state-shutdown; 178 - default-state = "keep"; 179 - gpios = <&gpio ASPEED_GPIO(AA, 1) GPIO_ACTIVE_LOW>; 180 - }; 181 - 182 - front-id { 183 - retain-state-shutdown; 184 - default-state = "keep"; 185 - gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_LOW>; 186 - }; 187 - 188 - 189 - fan0 { 190 - retain-state-shutdown; 191 - default-state = "keep"; 192 - gpios = <&pca9552 0 GPIO_ACTIVE_LOW>; 193 - }; 194 - 195 - fan1 { 196 - retain-state-shutdown; 197 - default-state = "keep"; 198 - gpios = <&pca9552 1 GPIO_ACTIVE_LOW>; 199 - }; 200 - 201 - fan2 { 202 - retain-state-shutdown; 203 - default-state = "keep"; 204 - gpios = <&pca9552 2 GPIO_ACTIVE_LOW>; 205 - }; 206 - 207 - fan3 { 208 - retain-state-shutdown; 209 - default-state = "keep"; 210 - gpios = <&pca9552 3 GPIO_ACTIVE_LOW>; 211 - }; 212 - 213 - fan4 { 214 - retain-state-shutdown; 215 - default-state = "keep"; 216 - gpios = <&pca9552 4 GPIO_ACTIVE_LOW>; 217 - }; 218 - 219 - fan5 { 220 - retain-state-shutdown; 221 - default-state = "keep"; 222 - gpios = <&pca9552 5 GPIO_ACTIVE_LOW>; 223 - }; 224 - }; 225 - 226 - fsi: gpio-fsi { 227 - compatible = "fsi-master-gpio", "fsi-master"; 228 - #address-cells = <2>; 229 - #size-cells = <0>; 230 - no-gpio-delays; 231 - 232 - clock-gpios = <&gpio ASPEED_GPIO(E, 6) GPIO_ACTIVE_HIGH>; 233 - data-gpios = <&gpio ASPEED_GPIO(E, 7) GPIO_ACTIVE_HIGH>; 234 - mux-gpios = <&gpio ASPEED_GPIO(E, 5) GPIO_ACTIVE_HIGH>; 235 - enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>; 236 - trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>; 237 - }; 238 - iio-hwmon-12v { 239 - compatible = "iio-hwmon"; 240 - io-channels = <&adc 0>; 241 - }; 242 - 243 - iio-hwmon-5v { 244 - compatible = "iio-hwmon"; 245 - io-channels = <&adc 1>; 246 - }; 247 - 248 - iio-hwmon-3v { 249 - compatible = "iio-hwmon"; 250 - io-channels = <&adc 2>; 251 - }; 252 - 253 - iio-hwmon-vdd0 { 254 - compatible = "iio-hwmon"; 255 - io-channels = <&adc 3>; 256 - }; 257 - 258 - iio-hwmon-vdd1 { 259 - compatible = "iio-hwmon"; 260 - io-channels = <&adc 4>; 261 - }; 262 - 263 - iio-hwmon-vcs0 { 264 - compatible = "iio-hwmon"; 265 - io-channels = <&adc 5>; 266 - }; 267 - 268 - iio-hwmon-vcs1 { 269 - compatible = "iio-hwmon"; 270 - io-channels = <&adc 6>; 271 - }; 272 - 273 - iio-hwmon-vdn0 { 274 - compatible = "iio-hwmon"; 275 - io-channels = <&adc 7>; 276 - }; 277 - 278 - iio-hwmon-vdn1 { 279 - compatible = "iio-hwmon"; 280 - io-channels = <&adc 8>; 281 - }; 282 - 283 - iio-hwmon-vio0 { 284 - compatible = "iio-hwmon"; 285 - io-channels = <&adc 9>; 286 - }; 287 - 288 - iio-hwmon-vio1 { 289 - compatible = "iio-hwmon"; 290 - io-channels = <&adc 10>; 291 - }; 292 - 293 - iio-hwmon-vddra { 294 - compatible = "iio-hwmon"; 295 - io-channels = <&adc 11>; 296 - }; 297 - 298 - iio-hwmon-battery { 299 - compatible = "iio-hwmon"; 300 - io-channels = <&adc 12>; 301 - }; 302 - 303 - iio-hwmon-vddrb { 304 - compatible = "iio-hwmon"; 305 - io-channels = <&adc 13>; 306 - }; 307 - 308 - iio-hwmon-vddrc { 309 - compatible = "iio-hwmon"; 310 - io-channels = <&adc 14>; 311 - }; 312 - 313 - iio-hwmon-vddrd { 314 - compatible = "iio-hwmon"; 315 - io-channels = <&adc 15>; 316 - }; 317 - }; 318 - 319 - &pwm_tacho { 320 - status = "okay"; 321 - pinctrl-names = "default"; 322 - pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default 323 - &pinctrl_pwm2_default &pinctrl_pwm3_default 324 - &pinctrl_pwm4_default &pinctrl_pwm5_default>; 325 - 326 - fan@0 { 327 - reg = <0x00>; 328 - aspeed,fan-tach-ch = /bits/ 8 <0x00>; 329 - }; 330 - 331 - fan@1 { 332 - reg = <0x01>; 333 - aspeed,fan-tach-ch = /bits/ 8 <0x01>; 334 - }; 335 - 336 - fan@2 { 337 - reg = <0x02>; 338 - aspeed,fan-tach-ch = /bits/ 8 <0x02>; 339 - }; 340 - 341 - fan@3 { 342 - reg = <0x03>; 343 - aspeed,fan-tach-ch = /bits/ 8 <0x03>; 344 - }; 345 - 346 - fan@4 { 347 - reg = <0x04>; 348 - aspeed,fan-tach-ch = /bits/ 8 <0x04>; 349 - }; 350 - 351 - fan@5 { 352 - reg = <0x05>; 353 - aspeed,fan-tach-ch = /bits/ 8 <0x05>; 354 - }; 355 - 356 - fan@6 { 357 - reg = <0x00>; 358 - aspeed,fan-tach-ch = /bits/ 8 <0x06>; 359 - }; 360 - 361 - fan@7 { 362 - reg = <0x01>; 363 - aspeed,fan-tach-ch = /bits/ 8 <0x07>; 364 - }; 365 - 366 - fan@8 { 367 - reg = <0x02>; 368 - aspeed,fan-tach-ch = /bits/ 8 <0x08>; 369 - }; 370 - 371 - fan@9 { 372 - reg = <0x03>; 373 - aspeed,fan-tach-ch = /bits/ 8 <0x09>; 374 - }; 375 - 376 - fan@10 { 377 - reg = <0x04>; 378 - aspeed,fan-tach-ch = /bits/ 8 <0x0a>; 379 - }; 380 - 381 - fan@11 { 382 - reg = <0x05>; 383 - aspeed,fan-tach-ch = /bits/ 8 <0x0b>; 384 - }; 385 - }; 386 - 387 - &gpio { 388 - gpio-line-names = 389 - /*A0-A7*/ "","cfam-reset","","","","","","", 390 - /*B0-B7*/ "","","","","","","","", 391 - /*C0-C7*/ "","","","","","","","", 392 - /*D0-D7*/ "fsi-enable","","","","","","","", 393 - /*E0-E7*/ "","","","","","fsi-mux","fsi-clock","fsi-data", 394 - /*F0-F7*/ "","id-button","","","","","air-water","", 395 - /*G0-G7*/ "","","","","","","","", 396 - /*H0-H7*/ "","","","","","","","", 397 - /*I0-I7*/ "","","","","","","","", 398 - /*J0-J7*/ "","","checkstop","","","","","", 399 - /*K0-K7*/ "","","","","","","","", 400 - /*L0-L7*/ "","","","","","","","", 401 - /*M0-M7*/ "","","","","","","","", 402 - /*N0-N7*/ "","","","","","","","", 403 - /*O0-O7*/ "","","","","","","","", 404 - /*P0-P7*/ "","","","","","","","", 405 - /*Q0-Q7*/ "","","","","","","","", 406 - /*R0-R7*/ "","","fsi-trans","","","","","", 407 - /*S0-S7*/ "","","","","","","","", 408 - /*T0-T7*/ "","","","","","","","", 409 - /*U0-U7*/ "","","","","","","","", 410 - /*V0-V7*/ "","","","","","","","", 411 - /*W0-W7*/ "","","","","","","","", 412 - /*X0-X7*/ "","","","","","","","", 413 - /*Y0-Y7*/ "","","","","","","","", 414 - /*Z0-Z7*/ "presence-ps1","","presence-ps0","","","","","", 415 - /*AA0-AA7*/ "led-front-fault","power-button","led-front-id","","","","","", 416 - /*AB0-AB7*/ "","","","","","","","", 417 - /*AC0-AC7*/ "","","","","","","",""; 418 - }; 419 - 420 - &fmc { 421 - status = "okay"; 422 - flash@0 { 423 - status = "okay"; 424 - label = "bmc"; 425 - m25p,fast-read; 426 - spi-max-frequency = <50000000>; 427 - partitions { 428 - #address-cells = < 1 >; 429 - #size-cells = < 1 >; 430 - compatible = "fixed-partitions"; 431 - u-boot@0 { 432 - reg = < 0 0x60000 >; 433 - label = "u-boot"; 434 - }; 435 - u-boot-env@60000 { 436 - reg = < 0x60000 0x20000 >; 437 - label = "u-boot-env"; 438 - }; 439 - obmc-ubi@80000 { 440 - reg = < 0x80000 0x1F80000 >; 441 - label = "obmc-ubi"; 442 - }; 443 - }; 444 - }; 445 - flash@1 { 446 - status = "okay"; 447 - label = "alt-bmc"; 448 - m25p,fast-read; 449 - spi-max-frequency = <50000000>; 450 - partitions { 451 - #address-cells = < 1 >; 452 - #size-cells = < 1 >; 453 - compatible = "fixed-partitions"; 454 - u-boot@0 { 455 - reg = < 0 0x60000 >; 456 - label = "alt-u-boot"; 457 - }; 458 - u-boot-env@60000 { 459 - reg = < 0x60000 0x20000 >; 460 - label = "alt-u-boot-env"; 461 - }; 462 - obmc-ubi@80000 { 463 - reg = < 0x80000 0x1F80000 >; 464 - label = "alt-obmc-ubi"; 465 - }; 466 - }; 467 - }; 468 - }; 469 - 470 - &spi1 { 471 - status = "okay"; 472 - pinctrl-names = "default"; 473 - pinctrl-0 = <&pinctrl_spi1_default>; 474 - 475 - flash@0 { 476 - status = "okay"; 477 - label = "pnor"; 478 - m25p,fast-read; 479 - spi-max-frequency = <100000000>; 480 - }; 481 - }; 482 - 483 - &lpc_ctrl { 484 - status = "okay"; 485 - memory-region = <&flash_memory>; 486 - flash = <&spi1>; 487 - }; 488 - 489 - &uart1 { 490 - /* Rear RS-232 connector */ 491 - status = "okay"; 492 - 493 - pinctrl-names = "default"; 494 - pinctrl-0 = <&pinctrl_txd1_default 495 - &pinctrl_rxd1_default 496 - &pinctrl_nrts1_default 497 - &pinctrl_ndtr1_default 498 - &pinctrl_ndsr1_default 499 - &pinctrl_ncts1_default 500 - &pinctrl_ndcd1_default 501 - &pinctrl_nri1_default>; 502 - }; 503 - 504 - &uart2 { 505 - /* APSS */ 506 - status = "okay"; 507 - 508 - pinctrl-names = "default"; 509 - pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>; 510 - }; 511 - 512 - &uart5 { 513 - status = "okay"; 514 - }; 515 - 516 - &mac0 { 517 - status = "okay"; 518 - 519 - pinctrl-names = "default"; 520 - pinctrl-0 = <&pinctrl_rmii1_default>; 521 - clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>, 522 - <&syscon ASPEED_CLK_MAC1RCLK>; 523 - clock-names = "MACCLK", "RCLK"; 524 - use-ncsi; 525 - }; 526 - 527 - &mac1 { 528 - status = "okay"; 529 - 530 - pinctrl-names = "default"; 531 - pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>; 532 - }; 533 - 534 - &i2c0 { 535 - status = "disabled"; 536 - }; 537 - 538 - &i2c1 { 539 - status = "disabled"; 540 - }; 541 - 542 - &i2c2 { 543 - status = "okay"; 544 - 545 - /* SAMTEC P0 */ 546 - /* SAMTEC P1 */ 547 - 548 - }; 549 - 550 - &i2c3 { 551 - status = "okay"; 552 - 553 - /* APSS */ 554 - /* CPLD */ 555 - 556 - /* PCA9516 (repeater) -> 557 - * CLK Buffer 9FGS9092 558 - * CLK Buffer 9DBL0651BKILFT 559 - * CLK Buffer 9DBL0651BKILFT 560 - * Power Supply 0 561 - * Power Supply 1 562 - * PCA 9552 LED 563 - */ 564 - 565 - power-supply@58 { 566 - compatible = "ibm,cffps1"; 567 - reg = <0x58>; 568 - }; 569 - 570 - power-supply@5b { 571 - compatible = "ibm,cffps1"; 572 - reg = <0x5b>; 573 - }; 574 - 575 - pca9552: pca9552@60 { 576 - compatible = "nxp,pca9552"; 577 - reg = <0x60>; 578 - #address-cells = <1>; 579 - #size-cells = <0>; 580 - gpio-controller; 581 - #gpio-cells = <2>; 582 - 583 - gpio@0 { 584 - reg = <0>; 585 - type = <PCA955X_TYPE_GPIO>; 586 - }; 587 - gpio@1 { 588 - reg = <1>; 589 - type = <PCA955X_TYPE_GPIO>; 590 - }; 591 - gpio@2 { 592 - reg = <2>; 593 - type = <PCA955X_TYPE_GPIO>; 594 - }; 595 - gpio@3 { 596 - reg = <3>; 597 - type = <PCA955X_TYPE_GPIO>; 598 - }; 599 - gpio@4 { 600 - reg = <4>; 601 - type = <PCA955X_TYPE_GPIO>; 602 - }; 603 - gpio@5 { 604 - reg = <5>; 605 - type = <PCA955X_TYPE_GPIO>; 606 - }; 607 - gpio@6 { 608 - reg = <6>; 609 - type = <PCA955X_TYPE_GPIO>; 610 - }; 611 - gpio@7 { 612 - reg = <7>; 613 - type = <PCA955X_TYPE_GPIO>; 614 - }; 615 - gpio@8 { 616 - reg = <8>; 617 - type = <PCA955X_TYPE_GPIO>; 618 - }; 619 - gpio@9 { 620 - reg = <9>; 621 - type = <PCA955X_TYPE_GPIO>; 622 - }; 623 - gpio@10 { 624 - reg = <10>; 625 - type = <PCA955X_TYPE_GPIO>; 626 - }; 627 - gpio@11 { 628 - reg = <11>; 629 - type = <PCA955X_TYPE_GPIO>; 630 - }; 631 - gpio@12 { 632 - reg = <12>; 633 - type = <PCA955X_TYPE_GPIO>; 634 - }; 635 - gpio@13 { 636 - reg = <13>; 637 - type = <PCA955X_TYPE_GPIO>; 638 - }; 639 - gpio@14 { 640 - reg = <14>; 641 - type = <PCA955X_TYPE_GPIO>; 642 - }; 643 - gpio@15 { 644 - reg = <15>; 645 - type = <PCA955X_TYPE_GPIO>; 646 - }; 647 - 648 - }; 649 - 650 - }; 651 - 652 - &i2c4 { 653 - status = "okay"; 654 - 655 - /* CP0 VDD & VCS : IR35221 */ 656 - /* CP0 VDN : IR35221 */ 657 - /* CP0 VIO : IR38064 */ 658 - /* CP0 VDDR : PXM1330 */ 659 - 660 - ir35221@70 { 661 - compatible = "infineon,ir35221"; 662 - reg = <0x70>; 663 - }; 664 - 665 - ir35221@72 { 666 - compatible = "infineon,ir35221"; 667 - reg = <0x72>; 668 - }; 669 - 670 - }; 671 - 672 - &i2c5 { 673 - status = "okay"; 674 - 675 - /* CP0 VDD & VCS : IR35221 */ 676 - /* CP0 VDN : IR35221 */ 677 - /* CP0 VIO : IR38064 */ 678 - /* CP0 VDDR : PXM1330 */ 679 - 680 - ir35221@70 { 681 - compatible = "infineon,ir35221"; 682 - reg = <0x70>; 683 - }; 684 - 685 - ir35221@72 { 686 - compatible = "infineon,ir35221"; 687 - reg = <0x72>; 688 - }; 689 - 690 - }; 691 - 692 - &i2c6 { 693 - status = "okay"; 694 - 695 - /* pca9548 -> NVMe1 to 8 */ 696 - 697 - pca9548@70 { 698 - compatible = "nxp,pca9548"; 699 - #address-cells = <1>; 700 - #size-cells = <0>; 701 - reg = <0x70>; 702 - 703 - bus7_mux223: i2c@0 { 704 - #address-cells = <1>; 705 - #size-cells = <0>; 706 - reg = <0>; 707 - }; 708 - 709 - bus7_mux224: i2c@1 { 710 - #address-cells = <1>; 711 - #size-cells = <0>; 712 - reg = <1>; 713 - }; 714 - 715 - bus7_mux225: i2c@2 { 716 - #address-cells = <1>; 717 - #size-cells = <0>; 718 - reg = <2>; 719 - }; 720 - 721 - bus7_mux226: i2c@3 { 722 - #address-cells = <1>; 723 - #size-cells = <0>; 724 - reg = <3>; 725 - }; 726 - 727 - bus7_mux227: i2c@4 { 728 - #address-cells = <1>; 729 - #size-cells = <0>; 730 - reg = <4>; 731 - }; 732 - 733 - bus7_mux228: i2c@5 { 734 - #address-cells = <1>; 735 - #size-cells = <0>; 736 - reg = <5>; 737 - }; 738 - 739 - bus7_mux229: i2c@6 { 740 - #address-cells = <1>; 741 - #size-cells = <0>; 742 - reg = <6>; 743 - }; 744 - 745 - bus7_mux230: i2c@7 { 746 - #address-cells = <1>; 747 - #size-cells = <0>; 748 - reg = <7>; 749 - }; 750 - }; 751 - 752 - }; 753 - 754 - &i2c7 { 755 - status = "okay"; 756 - 757 - /* pca9548 -> NVMe9 to 16 */ 758 - 759 - pca9548@70 { 760 - compatible = "nxp,pca9548"; 761 - #address-cells = <1>; 762 - #size-cells = <0>; 763 - reg = <0x70>; 764 - 765 - bus6_mux215: i2c@0 { 766 - #address-cells = <1>; 767 - #size-cells = <0>; 768 - reg = <0>; 769 - }; 770 - 771 - bus6_mux216: i2c@1 { 772 - #address-cells = <1>; 773 - #size-cells = <0>; 774 - reg = <1>; 775 - }; 776 - 777 - bus6_mux217: i2c@2 { 778 - #address-cells = <1>; 779 - #size-cells = <0>; 780 - reg = <2>; 781 - }; 782 - 783 - bus6_mux218: i2c@3 { 784 - #address-cells = <1>; 785 - #size-cells = <0>; 786 - reg = <3>; 787 - }; 788 - 789 - bus6_mux219: i2c@4 { 790 - #address-cells = <1>; 791 - #size-cells = <0>; 792 - reg = <4>; 793 - }; 794 - 795 - bus6_mux220: i2c@5 { 796 - #address-cells = <1>; 797 - #size-cells = <0>; 798 - reg = <5>; 799 - }; 800 - 801 - bus6_mux221: i2c@6 { 802 - #address-cells = <1>; 803 - #size-cells = <0>; 804 - reg = <6>; 805 - }; 806 - 807 - bus6_mux222: i2c@7 { 808 - #address-cells = <1>; 809 - #size-cells = <0>; 810 - reg = <7>; 811 - }; 812 - }; 813 - 814 - }; 815 - 816 - &i2c8 { 817 - status = "okay"; 818 - 819 - eeprom@50 { 820 - compatible = "atmel,24c64"; 821 - reg = <0x50>; 822 - }; 823 - }; 824 - 825 - &i2c9 { 826 - status = "okay"; 827 - 828 - /* pca9545 Riser -> 829 - * PCIe x8 Slot3 830 - * PCIe x16 slot4 831 - * PCIe x8 slot5 832 - * I2C BMC RISER PCA9554 833 - * BMC SCL/SDA PCA9554 834 - * PCA9554 835 - */ 836 - 837 - /* pca9545 -> 838 - * PCIe x16 Slot1 839 - * PCIe x8 slot2 840 - * PEX8748 841 - */ 842 - 843 - pca9545riser@70 { 844 - compatible = "nxp,pca9545"; 845 - #address-cells = <1>; 846 - #size-cells = <0>; 847 - reg = <0x70>; 848 - 849 - i2c-mux-idle-disconnect; 850 - interrupt-controller; 851 - #interrupt-cells = <2>; 852 - 853 - bus9_mux231: i2c@0 { 854 - #address-cells = <1>; 855 - #size-cells = <0>; 856 - reg = <0>; 857 - 858 - tca9554@39 { 859 - compatible = "ti,tca9554"; 860 - reg = <0x39>; 861 - gpio-controller; 862 - #gpio-cells = <2>; 863 - 864 - smbus0-hog { 865 - gpio-hog; 866 - gpios = <4 GPIO_ACTIVE_HIGH>; 867 - output-high; 868 - line-name = "smbus0"; 869 - }; 870 - }; 871 - 872 - tmp431@4c { 873 - compatible = "ti,tmp401"; 874 - reg = <0x4c>; 875 - }; 876 - }; 877 - 878 - bus9_mux232: i2c@1 { 879 - #address-cells = <1>; 880 - #size-cells = <0>; 881 - reg = <1>; 882 - 883 - tca9554@39 { 884 - compatible = "ti,tca9554"; 885 - reg = <0x39>; 886 - gpio-controller; 887 - #gpio-cells = <2>; 888 - 889 - smbus1-hog { 890 - gpio-hog; 891 - gpios = <4 GPIO_ACTIVE_HIGH>; 892 - output-high; 893 - line-name = "smbus1"; 894 - }; 895 - }; 896 - 897 - tmp431@4c { 898 - compatible = "ti,tmp401"; 899 - reg = <0x4c>; 900 - }; 901 - }; 902 - 903 - bus9_mux233: i2c@2 { 904 - #address-cells = <1>; 905 - #size-cells = <0>; 906 - reg = <2>; 907 - }; 908 - 909 - bus9_mux234: i2c@3 { 910 - #address-cells = <1>; 911 - #size-cells = <0>; 912 - reg = <3>; 913 - }; 914 - }; 915 - 916 - pca9545@71 { 917 - compatible = "nxp,pca9545"; 918 - #address-cells = <1>; 919 - #size-cells = <0>; 920 - reg = <0x71>; 921 - 922 - i2c-mux-idle-disconnect; 923 - interrupt-controller; 924 - #interrupt-cells = <2>; 925 - 926 - bus9_mux235: i2c@0 { 927 - #address-cells = <1>; 928 - #size-cells = <0>; 929 - reg = <0>; 930 - 931 - tca9554@39 { 932 - compatible = "ti,tca9554"; 933 - reg = <0x39>; 934 - gpio-controller; 935 - #gpio-cells = <2>; 936 - 937 - smbus2-hog { 938 - gpio-hog; 939 - gpios = <4 GPIO_ACTIVE_HIGH>; 940 - output-high; 941 - line-name = "smbus2"; 942 - }; 943 - }; 944 - 945 - tmp431@4c { 946 - compatible = "ti,tmp401"; 947 - reg = <0x4c>; 948 - }; 949 - }; 950 - 951 - bus9_mux236: i2c@1 { 952 - #address-cells = <1>; 953 - #size-cells = <0>; 954 - reg = <1>; 955 - 956 - tca9554@39 { 957 - compatible = "ti,tca9554"; 958 - reg = <0x39>; 959 - gpio-controller; 960 - #gpio-cells = <2>; 961 - 962 - smbus3-hog { 963 - gpio-hog; 964 - gpios = <4 GPIO_ACTIVE_HIGH>; 965 - output-high; 966 - line-name = "smbus3"; 967 - }; 968 - }; 969 - 970 - tmp431@4c { 971 - compatible = "ti,tmp401"; 972 - reg = <0x4c>; 973 - }; 974 - }; 975 - 976 - bus9_mux237: i2c@2 { 977 - #address-cells = <1>; 978 - #size-cells = <0>; 979 - reg = <2>; 980 - }; 981 - 982 - bus9_mux238: i2c@3 { 983 - #address-cells = <1>; 984 - #size-cells = <0>; 985 - reg = <3>; 986 - }; 987 - }; 988 - }; 989 - 990 - &i2c10 { 991 - status = "okay"; 992 - 993 - /* pca9545 Riser -> 994 - * PCIe x8 Slot8 995 - * PCIe x16 slot9 996 - * PCIe x8 slot10 997 - * I2C BMC RISER PCA9554 998 - * BMC SCL/SDA PCA9554 999 - * PCA9554 1000 - */ 1001 - 1002 - /* pca9545 -> 1003 - * PCIe x16 Slot1 1004 - * PCIe x8 slot2 1005 - * PEX8748 1006 - */ 1007 - 1008 - pca9545riser@70 { 1009 - compatible = "nxp,pca9545"; 1010 - #address-cells = <1>; 1011 - #size-cells = <0>; 1012 - reg = <0x70>; 1013 - 1014 - i2c-mux-idle-disconnect; 1015 - interrupt-controller; 1016 - #interrupt-cells = <2>; 1017 - 1018 - bus10_mux239: i2c@0 { 1019 - #address-cells = <1>; 1020 - #size-cells = <0>; 1021 - reg = <0>; 1022 - 1023 - tca9554@39 { 1024 - compatible = "ti,tca9554"; 1025 - reg = <0x39>; 1026 - gpio-controller; 1027 - #gpio-cells = <2>; 1028 - 1029 - smbus4-hog { 1030 - gpio-hog; 1031 - gpios = <4 GPIO_ACTIVE_HIGH>; 1032 - output-high; 1033 - line-name = "smbus4"; 1034 - }; 1035 - }; 1036 - 1037 - tmp431@4c { 1038 - compatible = "ti,tmp401"; 1039 - reg = <0x4c>; 1040 - }; 1041 - }; 1042 - 1043 - bus10_mux240: i2c@1 { 1044 - #address-cells = <1>; 1045 - #size-cells = <0>; 1046 - reg = <1>; 1047 - 1048 - tca9554@39 { 1049 - compatible = "ti,tca9554"; 1050 - reg = <0x39>; 1051 - gpio-controller; 1052 - #gpio-cells = <2>; 1053 - 1054 - smbus5-hog { 1055 - gpio-hog; 1056 - gpios = <4 GPIO_ACTIVE_HIGH>; 1057 - output-high; 1058 - line-name = "smbus5"; 1059 - }; 1060 - }; 1061 - 1062 - tmp431@4c { 1063 - compatible = "ti,tmp401"; 1064 - reg = <0x4c>; 1065 - }; 1066 - }; 1067 - 1068 - bus10_mux241: i2c@2 { 1069 - #address-cells = <1>; 1070 - #size-cells = <0>; 1071 - reg = <2>; 1072 - }; 1073 - 1074 - bus10_mux242: i2c@3 { 1075 - #address-cells = <1>; 1076 - #size-cells = <0>; 1077 - reg = <3>; 1078 - }; 1079 - }; 1080 - 1081 - pca9545@71 { 1082 - compatible = "nxp,pca9545"; 1083 - #address-cells = <1>; 1084 - #size-cells = <0>; 1085 - reg = <0x71>; 1086 - 1087 - i2c-mux-idle-disconnect; 1088 - interrupt-controller; 1089 - #interrupt-cells = <2>; 1090 - 1091 - bus10_mux243: i2c@0 { 1092 - #address-cells = <1>; 1093 - #size-cells = <0>; 1094 - reg = <0>; 1095 - 1096 - tca9554@39 { 1097 - compatible = "ti,tca9554"; 1098 - reg = <0x39>; 1099 - gpio-controller; 1100 - #gpio-cells = <2>; 1101 - 1102 - smbus6-hog { 1103 - gpio-hog; 1104 - gpios = <4 GPIO_ACTIVE_HIGH>; 1105 - output-high; 1106 - line-name = "smbus6"; 1107 - }; 1108 - }; 1109 - 1110 - tmp431@4c { 1111 - compatible = "ti,tmp401"; 1112 - reg = <0x4c>; 1113 - }; 1114 - }; 1115 - 1116 - bus10_mux244: i2c@1 { 1117 - #address-cells = <1>; 1118 - #size-cells = <0>; 1119 - reg = <1>; 1120 - 1121 - tca9554@39 { 1122 - compatible = "ti,tca9554"; 1123 - reg = <0x39>; 1124 - gpio-controller; 1125 - #gpio-cells = <2>; 1126 - 1127 - smbus7-hog { 1128 - gpio-hog; 1129 - gpios = <4 GPIO_ACTIVE_HIGH>; 1130 - output-high; 1131 - line-name = "smbus7"; 1132 - }; 1133 - }; 1134 - 1135 - tmp431@4c { 1136 - compatible = "ti,tmp401"; 1137 - reg = <0x4c>; 1138 - }; 1139 - }; 1140 - 1141 - bus10_mux245: i2c@2 { 1142 - #address-cells = <1>; 1143 - #size-cells = <0>; 1144 - reg = <2>; 1145 - }; 1146 - 1147 - bus10_mux246: i2c@3 { 1148 - #address-cells = <1>; 1149 - #size-cells = <0>; 1150 - reg = <3>; 1151 - }; 1152 - }; 1153 - }; 1154 - 1155 - &i2c11 { 1156 - status = "okay"; 1157 - 1158 - /* TPM */ 1159 - /* RTC RX8900CE */ 1160 - /* FPGA for power sequence */ 1161 - /* TMP275A */ 1162 - /* TMP275A */ 1163 - /* EMC1462 */ 1164 - 1165 - tpm@57 { 1166 - compatible = "infineon,slb9645tt"; 1167 - reg = <0x57>; 1168 - }; 1169 - 1170 - rtc@32 { 1171 - compatible = "epson,rx8900"; 1172 - reg = <0x32>; 1173 - }; 1174 - 1175 - tmp275@48 { 1176 - compatible = "ti,tmp275"; 1177 - reg = <0x48>; 1178 - }; 1179 - 1180 - tmp275@49 { 1181 - compatible = "ti,tmp275"; 1182 - reg = <0x49>; 1183 - }; 1184 - 1185 - /* chip emc1462 use emc1403 driver */ 1186 - emc1403@4c { 1187 - compatible = "smsc,emc1403"; 1188 - reg = <0x4c>; 1189 - }; 1190 - 1191 - }; 1192 - 1193 - &i2c12 { 1194 - status = "okay"; 1195 - 1196 - /* pca9545 -> 1197 - * SAS BP1 1198 - * SAS BP2 1199 - * NVMe BP 1200 - * M.2 riser 1201 - */ 1202 - 1203 - pca9545@70 { 1204 - compatible = "nxp,pca9545"; 1205 - #address-cells = <1>; 1206 - #size-cells = <0>; 1207 - reg = <0x70>; 1208 - 1209 - interrupt-controller; 1210 - #interrupt-cells = <2>; 1211 - 1212 - bus12_mux247: i2c@0 { 1213 - #address-cells = <1>; 1214 - #size-cells = <0>; 1215 - reg = <0>; 1216 - 1217 - eeprom@50 { 1218 - compatible = "atmel,24c64"; 1219 - reg = <0x50>; 1220 - }; 1221 - }; 1222 - 1223 - bus12_mux248: i2c@1 { 1224 - #address-cells = <1>; 1225 - #size-cells = <0>; 1226 - reg = <1>; 1227 - 1228 - eeprom@50 { 1229 - compatible = "atmel,24c64"; 1230 - reg = <0x50>; 1231 - }; 1232 - }; 1233 - 1234 - bus12_mux249: i2c@2 { 1235 - #address-cells = <1>; 1236 - #size-cells = <0>; 1237 - reg = <2>; 1238 - 1239 - eeprom@50 { 1240 - compatible = "atmel,24c64"; 1241 - reg = <0x50>; 1242 - }; 1243 - }; 1244 - 1245 - bus12_mux250: i2c@3 { 1246 - #address-cells = <1>; 1247 - #size-cells = <0>; 1248 - reg = <3>; 1249 - 1250 - tmp275@48 { 1251 - compatible = "ti,tmp275"; 1252 - reg = <0x48>; 1253 - }; 1254 - }; 1255 - 1256 - }; 1257 - 1258 - }; 1259 - 1260 - &i2c13 { 1261 - status = "okay"; 1262 - 1263 - /* pca9548 -> 1264 - * NVMe BP 1265 - * NVMe HDD17 to 24 1266 - */ 1267 - 1268 - pca9548@70 { 1269 - compatible = "nxp,pca9548"; 1270 - #address-cells = <1>; 1271 - #size-cells = <0>; 1272 - reg = <0x70>; 1273 - bus13_mux251: i2c@0 { 1274 - #address-cells = <1>; 1275 - #size-cells = <0>; 1276 - reg = <0>; 1277 - }; 1278 - 1279 - bus13_mux252: i2c@1 { 1280 - #address-cells = <1>; 1281 - #size-cells = <0>; 1282 - reg = <1>; 1283 - }; 1284 - 1285 - bus13_mux253: i2c@2 { 1286 - #address-cells = <1>; 1287 - #size-cells = <0>; 1288 - reg = <2>; 1289 - }; 1290 - 1291 - bus13_mux254: i2c@3 { 1292 - #address-cells = <1>; 1293 - #size-cells = <0>; 1294 - reg = <3>; 1295 - }; 1296 - 1297 - bus13_mux255: i2c@4 { 1298 - #address-cells = <1>; 1299 - #size-cells = <0>; 1300 - reg = <4>; 1301 - }; 1302 - 1303 - bus13_mux256: i2c@5 { 1304 - #address-cells = <1>; 1305 - #size-cells = <0>; 1306 - reg = <5>; 1307 - }; 1308 - 1309 - bus13_mux257: i2c@6 { 1310 - #address-cells = <1>; 1311 - #size-cells = <0>; 1312 - reg = <6>; 1313 - }; 1314 - 1315 - bus13_mux258: i2c@7 { 1316 - #address-cells = <1>; 1317 - #size-cells = <0>; 1318 - reg = <7>; 1319 - }; 1320 - }; 1321 - }; 1322 - 1323 - &vuart { 1324 - status = "okay"; 1325 - }; 1326 - 1327 - &gfx { 1328 - status = "okay"; 1329 - memory-region = <&gfx_memory>; 1330 - }; 1331 - 1332 - &adc { 1333 - status = "okay"; 1334 - pinctrl-names = "default"; 1335 - pinctrl-0 = <&pinctrl_adc0_default 1336 - &pinctrl_adc1_default 1337 - &pinctrl_adc2_default 1338 - &pinctrl_adc3_default 1339 - &pinctrl_adc4_default 1340 - &pinctrl_adc5_default 1341 - &pinctrl_adc6_default 1342 - &pinctrl_adc7_default 1343 - &pinctrl_adc8_default 1344 - &pinctrl_adc9_default 1345 - &pinctrl_adc10_default 1346 - &pinctrl_adc11_default 1347 - &pinctrl_adc12_default 1348 - &pinctrl_adc13_default 1349 - &pinctrl_adc14_default 1350 - &pinctrl_adc15_default>; 1351 - }; 1352 - 1353 - &wdt1 { 1354 - aspeed,reset-type = "none"; 1355 - aspeed,external-signal; 1356 - aspeed,ext-push-pull; 1357 - aspeed,ext-active-high; 1358 - 1359 - pinctrl-names = "default"; 1360 - pinctrl-0 = <&pinctrl_wdtrst1_default>; 1361 - }; 1362 - 1363 - &wdt2 { 1364 - aspeed,alt-boot; 1365 - }; 1366 - 1367 - &ibt { 1368 - status = "okay"; 1369 - }; 1370 - 1371 - &vhub { 1372 - status = "okay"; 1373 - }; 1374 - 1375 - &video { 1376 - status = "okay"; 1377 - memory-region = <&video_engine_memory>; 1378 - }; 1379 - 1380 - #include "ibm-power9-dual.dtsi" 1381 -
+4
arch/arm/boot/dts/aspeed-g6.dtsi
··· 36 36 serial4 = &uart5; 37 37 serial5 = &vuart1; 38 38 serial6 = &vuart2; 39 + mdio0 = &mdio0; 40 + mdio1 = &mdio1; 41 + mdio2 = &mdio2; 42 + mdio3 = &mdio3; 39 43 }; 40 44 41 45