1 // SPDX-License-Identifier: GPL-2.0+ 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 2 /dts-v1/; 3 #include "aspeed-g5.dtsi" 3 #include "aspeed-g5.dtsi" 4 #include <dt-bindings/gpio/aspeed-gpio.h> 4 #include <dt-bindings/gpio/aspeed-gpio.h> 5 #include <dt-bindings/leds/leds-pca955x.h> 5 #include <dt-bindings/leds/leds-pca955x.h> 6 6 7 / { 7 / { 8 model = "Swift BMC"; 8 model = "Swift BMC"; 9 compatible = "ibm,swift-bmc", "aspeed, 9 compatible = "ibm,swift-bmc", "aspeed,ast2500"; 10 10 11 chosen { 11 chosen { 12 stdout-path = &uart5; 12 stdout-path = &uart5; 13 bootargs = "console=ttyS4,1152 13 bootargs = "console=ttyS4,115200 earlycon"; 14 }; 14 }; 15 15 16 memory@80000000 { 16 memory@80000000 { 17 reg = <0x80000000 0x20000000>; 17 reg = <0x80000000 0x20000000>; 18 }; 18 }; 19 19 20 reserved-memory { 20 reserved-memory { 21 #address-cells = <1>; 21 #address-cells = <1>; 22 #size-cells = <1>; 22 #size-cells = <1>; 23 ranges; 23 ranges; 24 24 25 flash_memory: region@98000000 25 flash_memory: region@98000000 { 26 no-map; 26 no-map; 27 reg = <0x98000000 0x04 27 reg = <0x98000000 0x04000000>; /* 64M */ 28 }; 28 }; 29 29 30 gfx_memory: framebuffer { 30 gfx_memory: framebuffer { 31 size = <0x01000000>; 31 size = <0x01000000>; 32 alignment = <0x0100000 32 alignment = <0x01000000>; 33 compatible = "shared-d 33 compatible = "shared-dma-pool"; 34 reusable; 34 reusable; 35 }; 35 }; 36 }; 36 }; 37 37 38 gpio-keys { 38 gpio-keys { 39 compatible = "gpio-keys"; 39 compatible = "gpio-keys"; 40 40 41 event-air-water { 41 event-air-water { 42 label = "air-water"; 42 label = "air-water"; 43 gpios = <&gpio ASPEED_ 43 gpios = <&gpio ASPEED_GPIO(B, 5) GPIO_ACTIVE_LOW>; 44 linux,code = <ASPEED_G 44 linux,code = <ASPEED_GPIO(B, 5)>; 45 }; 45 }; 46 46 47 event-checkstop { 47 event-checkstop { 48 label = "checkstop"; 48 label = "checkstop"; 49 gpios = <&gpio ASPEED_ 49 gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; 50 linux,code = <ASPEED_G 50 linux,code = <ASPEED_GPIO(J, 2)>; 51 }; 51 }; 52 52 53 event-ps0-presence { 53 event-ps0-presence { 54 label = "ps0-presence" 54 label = "ps0-presence"; 55 gpios = <&gpio ASPEED_ 55 gpios = <&gpio ASPEED_GPIO(R, 7) GPIO_ACTIVE_LOW>; 56 linux,code = <ASPEED_G 56 linux,code = <ASPEED_GPIO(R, 7)>; 57 }; 57 }; 58 58 59 event-ps1-presence { 59 event-ps1-presence { 60 label = "ps1-presence" 60 label = "ps1-presence"; 61 gpios = <&gpio ASPEED_ 61 gpios = <&gpio ASPEED_GPIO(N, 0) GPIO_ACTIVE_LOW>; 62 linux,code = <ASPEED_G 62 linux,code = <ASPEED_GPIO(N, 0)>; 63 }; 63 }; 64 64 65 event-oppanel-presence { 65 event-oppanel-presence { 66 label = "oppanel-prese 66 label = "oppanel-presence"; 67 gpios = <&gpio ASPEED_ 67 gpios = <&gpio ASPEED_GPIO(A, 7) GPIO_ACTIVE_LOW>; 68 linux,code = <ASPEED_G 68 linux,code = <ASPEED_GPIO(A, 7)>; 69 }; 69 }; 70 70 71 event-opencapi-riser-presence 71 event-opencapi-riser-presence { 72 label = "opencapi-rise 72 label = "opencapi-riser-presence"; 73 gpios = <&gpio ASPEED_ 73 gpios = <&gpio ASPEED_GPIO(I, 0) GPIO_ACTIVE_LOW>; 74 linux,code = <ASPEED_G 74 linux,code = <ASPEED_GPIO(I, 0)>; 75 }; 75 }; 76 }; 76 }; 77 77 78 iio-hwmon-battery { 78 iio-hwmon-battery { 79 compatible = "iio-hwmon"; 79 compatible = "iio-hwmon"; 80 io-channels = <&adc 12>; 80 io-channels = <&adc 12>; 81 }; 81 }; 82 82 83 gpio-keys-polled { 83 gpio-keys-polled { 84 compatible = "gpio-keys-polled 84 compatible = "gpio-keys-polled"; 85 poll-interval = <1000>; 85 poll-interval = <1000>; 86 86 87 event-scm0-presence { 87 event-scm0-presence { 88 label = "scm0-presence 88 label = "scm0-presence"; 89 gpios = <&pca9552 6 GP 89 gpios = <&pca9552 6 GPIO_ACTIVE_LOW>; 90 linux,code = <6>; 90 linux,code = <6>; 91 }; 91 }; 92 92 93 event-scm1-presence { 93 event-scm1-presence { 94 label = "scm1-presence 94 label = "scm1-presence"; 95 gpios = <&pca9552 7 GP 95 gpios = <&pca9552 7 GPIO_ACTIVE_LOW>; 96 linux,code = <7>; 96 linux,code = <7>; 97 }; 97 }; 98 98 99 event-cpu0vrm-presence { 99 event-cpu0vrm-presence { 100 label = "cpu0vrm-prese 100 label = "cpu0vrm-presence"; 101 gpios = <&pca9552 12 G 101 gpios = <&pca9552 12 GPIO_ACTIVE_LOW>; 102 linux,code = <12>; 102 linux,code = <12>; 103 }; 103 }; 104 104 105 event-cpu1vrm-presence { 105 event-cpu1vrm-presence { 106 label = "cpu1vrm-prese 106 label = "cpu1vrm-presence"; 107 gpios = <&pca9552 13 G 107 gpios = <&pca9552 13 GPIO_ACTIVE_LOW>; 108 linux,code = <13>; 108 linux,code = <13>; 109 }; 109 }; 110 110 111 event-fan0-presence { 111 event-fan0-presence { 112 label = "fan0-presence 112 label = "fan0-presence"; 113 gpios = <&pca0 5 GPIO_ 113 gpios = <&pca0 5 GPIO_ACTIVE_LOW>; 114 linux,code = <5>; 114 linux,code = <5>; 115 }; 115 }; 116 116 117 event-fan1-presence { 117 event-fan1-presence { 118 label = "fan1-presence 118 label = "fan1-presence"; 119 gpios = <&pca0 6 GPIO_ 119 gpios = <&pca0 6 GPIO_ACTIVE_LOW>; 120 linux,code = <6>; 120 linux,code = <6>; 121 }; 121 }; 122 122 123 event-fan2-presence { 123 event-fan2-presence { 124 label = "fan2-presence 124 label = "fan2-presence"; 125 gpios = <&pca0 7 GPIO_ 125 gpios = <&pca0 7 GPIO_ACTIVE_LOW>; 126 linux,code = <7>; 126 linux,code = <7>; 127 }; 127 }; 128 128 129 event-fan3-presence { 129 event-fan3-presence { 130 label = "fan3-presence 130 label = "fan3-presence"; 131 gpios = <&pca0 8 GPIO_ 131 gpios = <&pca0 8 GPIO_ACTIVE_LOW>; 132 linux,code = <8>; 132 linux,code = <8>; 133 }; 133 }; 134 134 135 event-fanboost-presence { 135 event-fanboost-presence { 136 label = "fanboost-pres 136 label = "fanboost-presence"; 137 gpios = <&pca0 9 GPIO_ 137 gpios = <&pca0 9 GPIO_ACTIVE_LOW>; 138 linux,code = <9>; 138 linux,code = <9>; 139 }; 139 }; 140 }; 140 }; 141 141 142 leds { 142 leds { 143 compatible = "gpio-leds"; 143 compatible = "gpio-leds"; 144 144 145 fan0 { 145 fan0 { 146 retain-state-shutdown; 146 retain-state-shutdown; 147 default-state = "keep" 147 default-state = "keep"; 148 gpios = <&pca0 0 GPIO_ 148 gpios = <&pca0 0 GPIO_ACTIVE_LOW>; 149 }; 149 }; 150 150 151 fan1 { 151 fan1 { 152 retain-state-shutdown; 152 retain-state-shutdown; 153 default-state = "keep" 153 default-state = "keep"; 154 gpios = <&pca0 1 GPIO_ 154 gpios = <&pca0 1 GPIO_ACTIVE_LOW>; 155 }; 155 }; 156 156 157 fan2 { 157 fan2 { 158 retain-state-shutdown; 158 retain-state-shutdown; 159 default-state = "keep" 159 default-state = "keep"; 160 gpios = <&pca0 2 GPIO_ 160 gpios = <&pca0 2 GPIO_ACTIVE_LOW>; 161 }; 161 }; 162 162 163 fan3 { 163 fan3 { 164 retain-state-shutdown; 164 retain-state-shutdown; 165 default-state = "keep" 165 default-state = "keep"; 166 gpios = <&pca0 3 GPIO_ 166 gpios = <&pca0 3 GPIO_ACTIVE_LOW>; 167 }; 167 }; 168 168 169 fanboost { 169 fanboost { 170 retain-state-shutdown; 170 retain-state-shutdown; 171 default-state = "keep" 171 default-state = "keep"; 172 gpios = <&pca0 4 GPIO_ 172 gpios = <&pca0 4 GPIO_ACTIVE_LOW>; 173 }; 173 }; 174 174 175 front-fault { 175 front-fault { 176 retain-state-shutdown; 176 retain-state-shutdown; 177 default-state = "keep" 177 default-state = "keep"; 178 gpios = <&pca1 2 GPIO_ 178 gpios = <&pca1 2 GPIO_ACTIVE_LOW>; 179 }; 179 }; 180 180 181 front-power { 181 front-power { 182 retain-state-shutdown; 182 retain-state-shutdown; 183 default-state = "keep" 183 default-state = "keep"; 184 gpios = <&pca1 3 GPIO_ 184 gpios = <&pca1 3 GPIO_ACTIVE_LOW>; 185 }; 185 }; 186 186 187 front-id { 187 front-id { 188 retain-state-shutdown; 188 retain-state-shutdown; 189 default-state = "keep" 189 default-state = "keep"; 190 gpios = <&pca1 0 GPIO_ 190 gpios = <&pca1 0 GPIO_ACTIVE_LOW>; 191 }; 191 }; 192 192 193 rear-fault { 193 rear-fault { 194 gpios = <&gpio ASPEED_ 194 gpios = <&gpio ASPEED_GPIO(N, 2) GPIO_ACTIVE_LOW>; 195 }; 195 }; 196 196 197 rear-id { 197 rear-id { 198 gpios = <&gpio ASPEED_ 198 gpios = <&gpio ASPEED_GPIO(N, 4) GPIO_ACTIVE_LOW>; 199 }; 199 }; 200 }; 200 }; 201 201 202 fsi: gpio-fsi { 202 fsi: gpio-fsi { 203 compatible = "fsi-master-gpio" 203 compatible = "fsi-master-gpio", "fsi-master"; 204 #address-cells = <2>; 204 #address-cells = <2>; 205 #size-cells = <0>; 205 #size-cells = <0>; 206 no-gpio-delays; 206 no-gpio-delays; 207 207 208 clock-gpios = <&gpio ASPEED_GP 208 clock-gpios = <&gpio ASPEED_GPIO(P, 1) GPIO_ACTIVE_HIGH>; 209 data-gpios = <&gpio ASPEED_GPI 209 data-gpios = <&gpio ASPEED_GPIO(P, 2) GPIO_ACTIVE_HIGH>; 210 mux-gpios = <&gpio ASPEED_GPIO 210 mux-gpios = <&gpio ASPEED_GPIO(P, 4) GPIO_ACTIVE_HIGH>; 211 enable-gpios = <&gpio ASPEED_G 211 enable-gpios = <&gpio ASPEED_GPIO(P, 0) GPIO_ACTIVE_HIGH>; 212 trans-gpios = <&gpio ASPEED_GP 212 trans-gpios = <&gpio ASPEED_GPIO(P, 3) GPIO_ACTIVE_HIGH>; 213 }; 213 }; 214 214 215 iio-hwmon-dps310 { 215 iio-hwmon-dps310 { 216 compatible = "iio-hwmon"; 216 compatible = "iio-hwmon"; 217 io-channels = <&dps 0>; 217 io-channels = <&dps 0>; 218 }; 218 }; 219 219 220 }; 220 }; 221 221 222 &fmc { 222 &fmc { 223 status = "okay"; 223 status = "okay"; 224 224 225 flash@0 { 225 flash@0 { 226 status = "okay"; 226 status = "okay"; 227 label = "bmc"; 227 label = "bmc"; 228 m25p,fast-read; 228 m25p,fast-read; 229 spi-max-frequency = <100000000 229 spi-max-frequency = <100000000>; 230 partitions { 230 partitions { 231 #address-cells = < 1 > 231 #address-cells = < 1 >; 232 #size-cells = < 1 >; 232 #size-cells = < 1 >; 233 compatible = "fixed-pa 233 compatible = "fixed-partitions"; 234 u-boot@0 { 234 u-boot@0 { 235 reg = < 0 0x60 235 reg = < 0 0x60000 >; 236 label = "u-boo 236 label = "u-boot"; 237 }; 237 }; 238 u-boot-env@60000 { 238 u-boot-env@60000 { 239 reg = < 0x6000 239 reg = < 0x60000 0x20000 >; 240 label = "u-boo 240 label = "u-boot-env"; 241 }; 241 }; 242 obmc-ubi@80000 { 242 obmc-ubi@80000 { 243 reg = < 0x8000 243 reg = < 0x80000 0x7F80000>; 244 label = "obmc- 244 label = "obmc-ubi"; 245 }; 245 }; 246 }; 246 }; 247 }; 247 }; 248 248 249 flash@1 { 249 flash@1 { 250 status = "okay"; 250 status = "okay"; 251 label = "alt-bmc"; 251 label = "alt-bmc"; 252 m25p,fast-read; 252 m25p,fast-read; 253 spi-max-frequency = <100000000 253 spi-max-frequency = <100000000>; 254 partitions { 254 partitions { 255 #address-cells = < 1 > 255 #address-cells = < 1 >; 256 #size-cells = < 1 >; 256 #size-cells = < 1 >; 257 compatible = "fixed-pa 257 compatible = "fixed-partitions"; 258 u-boot@0 { 258 u-boot@0 { 259 reg = < 0 0x60 259 reg = < 0 0x60000 >; 260 label = "alt-u 260 label = "alt-u-boot"; 261 }; 261 }; 262 u-boot-env@60000 { 262 u-boot-env@60000 { 263 reg = < 0x6000 263 reg = < 0x60000 0x20000 >; 264 label = "alt-u 264 label = "alt-u-boot-env"; 265 }; 265 }; 266 obmc-ubi@80000 { 266 obmc-ubi@80000 { 267 reg = < 0x8000 267 reg = < 0x80000 0x7F80000>; 268 label = "alt-o 268 label = "alt-obmc-ubi"; 269 }; 269 }; 270 }; 270 }; 271 }; 271 }; 272 }; 272 }; 273 273 274 &spi1 { 274 &spi1 { 275 status = "okay"; 275 status = "okay"; 276 pinctrl-names = "default"; 276 pinctrl-names = "default"; 277 pinctrl-0 = <&pinctrl_spi1_default>; 277 pinctrl-0 = <&pinctrl_spi1_default>; 278 278 279 flash@0 { 279 flash@0 { 280 status = "okay"; 280 status = "okay"; 281 label = "pnor"; 281 label = "pnor"; 282 m25p,fast-read; 282 m25p,fast-read; 283 spi-max-frequency = <100000000 283 spi-max-frequency = <100000000>; 284 }; 284 }; 285 }; 285 }; 286 286 287 &uart1 { 287 &uart1 { 288 /* Rear RS-232 connector */ 288 /* Rear RS-232 connector */ 289 status = "okay"; 289 status = "okay"; 290 pinctrl-names = "default"; 290 pinctrl-names = "default"; 291 pinctrl-0 = <&pinctrl_txd1_default 291 pinctrl-0 = <&pinctrl_txd1_default 292 &pinctrl_rxd1_default 292 &pinctrl_rxd1_default 293 &pinctrl_nrts1_default 293 &pinctrl_nrts1_default 294 &pinctrl_ndtr1_default 294 &pinctrl_ndtr1_default 295 &pinctrl_ndsr1_default 295 &pinctrl_ndsr1_default 296 &pinctrl_ncts1_default 296 &pinctrl_ncts1_default 297 &pinctrl_ndcd1_default 297 &pinctrl_ndcd1_default 298 &pinctrl_nri1_default> 298 &pinctrl_nri1_default>; 299 }; 299 }; 300 300 301 &uart2 { 301 &uart2 { 302 /* APSS */ 302 /* APSS */ 303 status = "okay"; 303 status = "okay"; 304 pinctrl-names = "default"; 304 pinctrl-names = "default"; 305 pinctrl-0 = <&pinctrl_txd2_default &pi 305 pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>; 306 }; 306 }; 307 307 308 &uart5 { 308 &uart5 { 309 status = "okay"; 309 status = "okay"; 310 }; 310 }; 311 311 312 &lpc_ctrl { 312 &lpc_ctrl { 313 status = "okay"; 313 status = "okay"; 314 memory-region = <&flash_memory>; 314 memory-region = <&flash_memory>; 315 flash = <&spi1>; 315 flash = <&spi1>; 316 }; 316 }; 317 317 318 &mac0 { 318 &mac0 { 319 status = "okay"; 319 status = "okay"; 320 pinctrl-names = "default"; 320 pinctrl-names = "default"; 321 pinctrl-0 = <&pinctrl_rmii1_default>; 321 pinctrl-0 = <&pinctrl_rmii1_default>; 322 use-ncsi; 322 use-ncsi; 323 clocks = <&syscon ASPEED_CLK_GATE_MAC1 323 clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>, 324 <&syscon ASPEED_CLK_MAC1RCLK> 324 <&syscon ASPEED_CLK_MAC1RCLK>; 325 clock-names = "MACCLK", "RCLK"; 325 clock-names = "MACCLK", "RCLK"; 326 }; 326 }; 327 327 328 &i2c2 { 328 &i2c2 { 329 status = "okay"; 329 status = "okay"; 330 330 331 /* MUX -> 331 /* MUX -> 332 * Samtec 1 332 * Samtec 1 333 * Samtec 2 333 * Samtec 2 334 */ 334 */ 335 }; 335 }; 336 336 337 &i2c3 { 337 &i2c3 { 338 status = "okay"; 338 status = "okay"; 339 339 340 max31785@52 { 340 max31785@52 { 341 compatible = "maxim,max31785a" 341 compatible = "maxim,max31785a"; 342 reg = <0x52>; 342 reg = <0x52>; 343 #address-cells = <1>; 343 #address-cells = <1>; 344 #size-cells = <0>; 344 #size-cells = <0>; 345 345 346 fan@0 { 346 fan@0 { 347 compatible = "pmbus-fa 347 compatible = "pmbus-fan"; 348 reg = <0>; 348 reg = <0>; 349 tach-pulses = <2>; 349 tach-pulses = <2>; 350 maxim,fan-rotor-input 350 maxim,fan-rotor-input = "tach"; 351 maxim,fan-pwm-freq = < 351 maxim,fan-pwm-freq = <25000>; 352 maxim,fan-no-watchdog; 352 maxim,fan-no-watchdog; 353 maxim,fan-no-fault-ram 353 maxim,fan-no-fault-ramp; 354 maxim,fan-ramp = <2>; 354 maxim,fan-ramp = <2>; 355 maxim,fan-fault-pin-mo 355 maxim,fan-fault-pin-mon; 356 }; 356 }; 357 357 358 fan@1 { 358 fan@1 { 359 compatible = "pmbus-fa 359 compatible = "pmbus-fan"; 360 reg = <1>; 360 reg = <1>; 361 tach-pulses = <2>; 361 tach-pulses = <2>; 362 maxim,fan-rotor-input 362 maxim,fan-rotor-input = "tach"; 363 maxim,fan-pwm-freq = < 363 maxim,fan-pwm-freq = <25000>; 364 maxim,fan-no-watchdog; 364 maxim,fan-no-watchdog; 365 maxim,fan-no-fault-ram 365 maxim,fan-no-fault-ramp; 366 maxim,fan-ramp = <2>; 366 maxim,fan-ramp = <2>; 367 maxim,fan-fault-pin-mo 367 maxim,fan-fault-pin-mon; 368 }; 368 }; 369 369 370 fan@2 { 370 fan@2 { 371 compatible = "pmbus-fa 371 compatible = "pmbus-fan"; 372 reg = <2>; 372 reg = <2>; 373 tach-pulses = <2>; 373 tach-pulses = <2>; 374 maxim,fan-rotor-input 374 maxim,fan-rotor-input = "tach"; 375 maxim,fan-pwm-freq = < 375 maxim,fan-pwm-freq = <25000>; 376 maxim,fan-no-watchdog; 376 maxim,fan-no-watchdog; 377 maxim,fan-no-fault-ram 377 maxim,fan-no-fault-ramp; 378 maxim,fan-ramp = <2>; 378 maxim,fan-ramp = <2>; 379 maxim,fan-fault-pin-mo 379 maxim,fan-fault-pin-mon; 380 }; 380 }; 381 381 382 fan@3 { 382 fan@3 { 383 compatible = "pmbus-fa 383 compatible = "pmbus-fan"; 384 reg = <3>; 384 reg = <3>; 385 tach-pulses = <2>; 385 tach-pulses = <2>; 386 maxim,fan-rotor-input 386 maxim,fan-rotor-input = "tach"; 387 maxim,fan-pwm-freq = < 387 maxim,fan-pwm-freq = <25000>; 388 maxim,fan-no-watchdog; 388 maxim,fan-no-watchdog; 389 maxim,fan-no-fault-ram 389 maxim,fan-no-fault-ramp; 390 maxim,fan-ramp = <2>; 390 maxim,fan-ramp = <2>; 391 maxim,fan-fault-pin-mo 391 maxim,fan-fault-pin-mon; 392 }; 392 }; 393 393 394 fan@4 { 394 fan@4 { 395 compatible = "pmbus-fa 395 compatible = "pmbus-fan"; 396 reg = <4>; 396 reg = <4>; 397 tach-pulses = <2>; 397 tach-pulses = <2>; 398 maxim,fan-rotor-input 398 maxim,fan-rotor-input = "tach"; 399 maxim,fan-pwm-freq = < 399 maxim,fan-pwm-freq = <25000>; 400 maxim,fan-no-watchdog; 400 maxim,fan-no-watchdog; 401 maxim,fan-no-fault-ram 401 maxim,fan-no-fault-ramp; 402 maxim,fan-ramp = <2>; 402 maxim,fan-ramp = <2>; 403 maxim,fan-fault-pin-mo 403 maxim,fan-fault-pin-mon; 404 }; 404 }; 405 }; 405 }; 406 406 407 pca0: pca9552@60 { 407 pca0: pca9552@60 { 408 compatible = "nxp,pca9552"; 408 compatible = "nxp,pca9552"; 409 reg = <0x60>; 409 reg = <0x60>; 410 #address-cells = <1>; 410 #address-cells = <1>; 411 #size-cells = <0>; 411 #size-cells = <0>; 412 412 413 gpio-controller; 413 gpio-controller; 414 #gpio-cells = <2>; 414 #gpio-cells = <2>; 415 415 416 gpio@0 { 416 gpio@0 { 417 reg = <0>; 417 reg = <0>; 418 type = <PCA955X_TYPE_G 418 type = <PCA955X_TYPE_GPIO>; 419 }; 419 }; 420 420 421 gpio@1 { 421 gpio@1 { 422 reg = <1>; 422 reg = <1>; 423 type = <PCA955X_TYPE_G 423 type = <PCA955X_TYPE_GPIO>; 424 }; 424 }; 425 425 426 gpio@2 { 426 gpio@2 { 427 reg = <2>; 427 reg = <2>; 428 type = <PCA955X_TYPE_G 428 type = <PCA955X_TYPE_GPIO>; 429 }; 429 }; 430 430 431 gpio@3 { 431 gpio@3 { 432 reg = <3>; 432 reg = <3>; 433 type = <PCA955X_TYPE_G 433 type = <PCA955X_TYPE_GPIO>; 434 }; 434 }; 435 435 436 gpio@4 { 436 gpio@4 { 437 reg = <4>; 437 reg = <4>; 438 type = <PCA955X_TYPE_G 438 type = <PCA955X_TYPE_GPIO>; 439 }; 439 }; 440 440 441 gpio@5 { 441 gpio@5 { 442 reg = <5>; 442 reg = <5>; 443 type = <PCA955X_TYPE_G 443 type = <PCA955X_TYPE_GPIO>; 444 }; 444 }; 445 445 446 gpio@6 { 446 gpio@6 { 447 reg = <6>; 447 reg = <6>; 448 type = <PCA955X_TYPE_G 448 type = <PCA955X_TYPE_GPIO>; 449 }; 449 }; 450 450 451 gpio@7 { 451 gpio@7 { 452 reg = <7>; 452 reg = <7>; 453 type = <PCA955X_TYPE_G 453 type = <PCA955X_TYPE_GPIO>; 454 }; 454 }; 455 455 456 gpio@8 { 456 gpio@8 { 457 reg = <8>; 457 reg = <8>; 458 type = <PCA955X_TYPE_G 458 type = <PCA955X_TYPE_GPIO>; 459 }; 459 }; 460 460 461 gpio@9 { 461 gpio@9 { 462 reg = <9>; 462 reg = <9>; 463 type = <PCA955X_TYPE_G 463 type = <PCA955X_TYPE_GPIO>; 464 }; 464 }; 465 465 466 gpio@10 { 466 gpio@10 { 467 reg = <10>; 467 reg = <10>; 468 type = <PCA955X_TYPE_G 468 type = <PCA955X_TYPE_GPIO>; 469 }; 469 }; 470 470 471 gpio@11 { 471 gpio@11 { 472 reg = <11>; 472 reg = <11>; 473 type = <PCA955X_TYPE_G 473 type = <PCA955X_TYPE_GPIO>; 474 }; 474 }; 475 475 476 gpio@12 { 476 gpio@12 { 477 reg = <12>; 477 reg = <12>; 478 type = <PCA955X_TYPE_G 478 type = <PCA955X_TYPE_GPIO>; 479 }; 479 }; 480 480 481 gpio@13 { 481 gpio@13 { 482 reg = <13>; 482 reg = <13>; 483 type = <PCA955X_TYPE_G 483 type = <PCA955X_TYPE_GPIO>; 484 }; 484 }; 485 485 486 gpio@14 { 486 gpio@14 { 487 reg = <14>; 487 reg = <14>; 488 type = <PCA955X_TYPE_G 488 type = <PCA955X_TYPE_GPIO>; 489 }; 489 }; 490 490 491 gpio@15 { 491 gpio@15 { 492 reg = <15>; 492 reg = <15>; 493 type = <PCA955X_TYPE_G 493 type = <PCA955X_TYPE_GPIO>; 494 }; 494 }; 495 }; 495 }; 496 496 497 power-supply@68 { 497 power-supply@68 { 498 compatible = "ibm,cffps2"; 498 compatible = "ibm,cffps2"; 499 reg = <0x68>; 499 reg = <0x68>; 500 }; 500 }; 501 501 502 eeprom@50 { 502 eeprom@50 { 503 compatible = "atmel,24c64"; 503 compatible = "atmel,24c64"; 504 reg = <0x50>; 504 reg = <0x50>; 505 }; 505 }; 506 506 507 power-supply@69 { 507 power-supply@69 { 508 compatible = "ibm,cffps2"; 508 compatible = "ibm,cffps2"; 509 reg = <0x69>; 509 reg = <0x69>; 510 }; 510 }; 511 511 512 eeprom@51 { 512 eeprom@51 { 513 compatible = "atmel,24c64"; 513 compatible = "atmel,24c64"; 514 reg = <0x51>; 514 reg = <0x51>; 515 }; 515 }; 516 }; 516 }; 517 517 518 &i2c7 { 518 &i2c7 { 519 status = "okay"; 519 status = "okay"; 520 520 521 dps: dps310@76 { 521 dps: dps310@76 { 522 compatible = "infineon,dps310" 522 compatible = "infineon,dps310"; 523 reg = <0x76>; 523 reg = <0x76>; 524 #io-channel-cells = <0>; 524 #io-channel-cells = <0>; 525 }; 525 }; 526 526 527 tmp275@48 { 527 tmp275@48 { 528 compatible = "ti,tmp275"; 528 compatible = "ti,tmp275"; 529 reg = <0x48>; 529 reg = <0x48>; 530 }; 530 }; 531 531 532 si7021a20@20 { 532 si7021a20@20 { 533 compatible = "si,si7021a20"; 533 compatible = "si,si7021a20"; 534 reg = <0x20>; 534 reg = <0x20>; 535 }; 535 }; 536 536 537 eeprom@50 { 537 eeprom@50 { 538 compatible = "atmel,24c64"; 538 compatible = "atmel,24c64"; 539 reg = <0x50>; 539 reg = <0x50>; 540 }; 540 }; 541 541 542 pca1: pca9551@60 { 542 pca1: pca9551@60 { 543 compatible = "nxp,pca9551"; 543 compatible = "nxp,pca9551"; 544 reg = <0x60>; 544 reg = <0x60>; 545 #address-cells = <1>; 545 #address-cells = <1>; 546 #size-cells = <0>; 546 #size-cells = <0>; 547 547 548 gpio-controller; 548 gpio-controller; 549 #gpio-cells = <2>; 549 #gpio-cells = <2>; 550 550 551 gpio@0 { 551 gpio@0 { 552 reg = <0>; 552 reg = <0>; 553 type = <PCA955X_TYPE_G 553 type = <PCA955X_TYPE_GPIO>; 554 }; 554 }; 555 555 556 gpio@1 { 556 gpio@1 { 557 reg = <1>; 557 reg = <1>; 558 type = <PCA955X_TYPE_G 558 type = <PCA955X_TYPE_GPIO>; 559 }; 559 }; 560 560 561 gpio@2 { 561 gpio@2 { 562 reg = <2>; 562 reg = <2>; 563 type = <PCA955X_TYPE_G 563 type = <PCA955X_TYPE_GPIO>; 564 }; 564 }; 565 565 566 gpio@3 { 566 gpio@3 { 567 reg = <3>; 567 reg = <3>; 568 type = <PCA955X_TYPE_G 568 type = <PCA955X_TYPE_GPIO>; 569 }; 569 }; 570 570 571 gpio@4 { 571 gpio@4 { 572 reg = <4>; 572 reg = <4>; 573 type = <PCA955X_TYPE_G 573 type = <PCA955X_TYPE_GPIO>; 574 }; 574 }; 575 575 576 gpio@5 { 576 gpio@5 { 577 reg = <5>; 577 reg = <5>; 578 type = <PCA955X_TYPE_G 578 type = <PCA955X_TYPE_GPIO>; 579 }; 579 }; 580 580 581 gpio@6 { 581 gpio@6 { 582 reg = <6>; 582 reg = <6>; 583 type = <PCA955X_TYPE_G 583 type = <PCA955X_TYPE_GPIO>; 584 }; 584 }; 585 585 586 gpio@7 { 586 gpio@7 { 587 reg = <7>; 587 reg = <7>; 588 type = <PCA955X_TYPE_G 588 type = <PCA955X_TYPE_GPIO>; 589 }; 589 }; 590 }; 590 }; 591 }; 591 }; 592 592 593 &i2c8 { 593 &i2c8 { 594 status = "okay"; 594 status = "okay"; 595 595 596 pca9552: pca9552@60 { 596 pca9552: pca9552@60 { 597 compatible = "nxp,pca9552"; 597 compatible = "nxp,pca9552"; 598 reg = <0x60>; 598 reg = <0x60>; 599 #address-cells = <1>; 599 #address-cells = <1>; 600 #size-cells = <0>; 600 #size-cells = <0>; 601 gpio-controller; 601 gpio-controller; 602 #gpio-cells = <2>; 602 #gpio-cells = <2>; 603 603 604 gpio-line-names = "PS_SMBUS_RE 604 gpio-line-names = "PS_SMBUS_RESET_N", "APSS_RESET_N", 605 "GPU0_TH_OVERT_N_BUFF" 605 "GPU0_TH_OVERT_N_BUFF", "GPU1_TH_OVERT_N_BUFF", 606 "GPU2_TH_OVERT_N_BUFF" 606 "GPU2_TH_OVERT_N_BUFF", "GPU3_TH_OVERT_N_BUFF", 607 "P9_SCM0_PRES", "P9_SC 607 "P9_SCM0_PRES", "P9_SCM1_PRES", 608 "GPU0_PWR_GOOD_BUFF", 608 "GPU0_PWR_GOOD_BUFF", "GPU1_PWR_GOOD_BUFF", 609 "GPU2_PWR_GOOD_BUFF", 609 "GPU2_PWR_GOOD_BUFF", "GPU3_PWR_GOOD_BUFF", 610 "PRESENT_VRM_CP0_N", " 610 "PRESENT_VRM_CP0_N", "PRESENT_VRM_CP1_N", 611 "12V_BREAKER_FLT_N", " 611 "12V_BREAKER_FLT_N", "THROTTLE_UNLATCHED_N"; 612 612 613 gpio@0 { 613 gpio@0 { 614 reg = <0>; 614 reg = <0>; 615 type = <PCA955X_TYPE_G 615 type = <PCA955X_TYPE_GPIO>; 616 }; 616 }; 617 617 618 gpio@1 { 618 gpio@1 { 619 reg = <1>; 619 reg = <1>; 620 type = <PCA955X_TYPE_G 620 type = <PCA955X_TYPE_GPIO>; 621 }; 621 }; 622 622 623 gpio@2 { 623 gpio@2 { 624 reg = <2>; 624 reg = <2>; 625 type = <PCA955X_TYPE_G 625 type = <PCA955X_TYPE_GPIO>; 626 }; 626 }; 627 627 628 gpio@3 { 628 gpio@3 { 629 reg = <3>; 629 reg = <3>; 630 type = <PCA955X_TYPE_G 630 type = <PCA955X_TYPE_GPIO>; 631 }; 631 }; 632 632 633 gpio@4 { 633 gpio@4 { 634 reg = <4>; 634 reg = <4>; 635 type = <PCA955X_TYPE_G 635 type = <PCA955X_TYPE_GPIO>; 636 }; 636 }; 637 637 638 gpio@5 { 638 gpio@5 { 639 reg = <5>; 639 reg = <5>; 640 type = <PCA955X_TYPE_G 640 type = <PCA955X_TYPE_GPIO>; 641 }; 641 }; 642 642 643 gpio@6 { 643 gpio@6 { 644 reg = <6>; 644 reg = <6>; 645 type = <PCA955X_TYPE_G 645 type = <PCA955X_TYPE_GPIO>; 646 }; 646 }; 647 647 648 gpio@7 { 648 gpio@7 { 649 reg = <7>; 649 reg = <7>; 650 type = <PCA955X_TYPE_G 650 type = <PCA955X_TYPE_GPIO>; 651 }; 651 }; 652 652 653 gpio@8 { 653 gpio@8 { 654 reg = <8>; 654 reg = <8>; 655 type = <PCA955X_TYPE_G 655 type = <PCA955X_TYPE_GPIO>; 656 }; 656 }; 657 657 658 gpio@9 { 658 gpio@9 { 659 reg = <9>; 659 reg = <9>; 660 type = <PCA955X_TYPE_G 660 type = <PCA955X_TYPE_GPIO>; 661 }; 661 }; 662 662 663 gpio@10 { 663 gpio@10 { 664 reg = <10>; 664 reg = <10>; 665 type = <PCA955X_TYPE_G 665 type = <PCA955X_TYPE_GPIO>; 666 }; 666 }; 667 667 668 gpio@11 { 668 gpio@11 { 669 reg = <11>; 669 reg = <11>; 670 type = <PCA955X_TYPE_G 670 type = <PCA955X_TYPE_GPIO>; 671 }; 671 }; 672 672 673 gpio@12 { 673 gpio@12 { 674 reg = <12>; 674 reg = <12>; 675 type = <PCA955X_TYPE_G 675 type = <PCA955X_TYPE_GPIO>; 676 }; 676 }; 677 677 678 gpio@13 { 678 gpio@13 { 679 reg = <13>; 679 reg = <13>; 680 type = <PCA955X_TYPE_G 680 type = <PCA955X_TYPE_GPIO>; 681 }; 681 }; 682 682 683 gpio@14 { 683 gpio@14 { 684 reg = <14>; 684 reg = <14>; 685 type = <PCA955X_TYPE_G 685 type = <PCA955X_TYPE_GPIO>; 686 }; 686 }; 687 687 688 gpio@15 { 688 gpio@15 { 689 reg = <15>; 689 reg = <15>; 690 type = <PCA955X_TYPE_G 690 type = <PCA955X_TYPE_GPIO>; 691 }; 691 }; 692 }; 692 }; 693 693 694 rtc@32 { 694 rtc@32 { 695 compatible = "epson,rx8900"; 695 compatible = "epson,rx8900"; 696 reg = <0x32>; 696 reg = <0x32>; 697 }; 697 }; 698 698 699 eeprom@51 { 699 eeprom@51 { 700 compatible = "atmel,24c64"; 700 compatible = "atmel,24c64"; 701 reg = <0x51>; 701 reg = <0x51>; 702 }; 702 }; 703 703 704 ucd90160@64 { 704 ucd90160@64 { 705 compatible = "ti,ucd90160"; 705 compatible = "ti,ucd90160"; 706 reg = <0x64>; 706 reg = <0x64>; 707 }; 707 }; 708 }; 708 }; 709 709 710 &i2c9 { 710 &i2c9 { 711 status = "okay"; 711 status = "okay"; 712 712 713 eeprom@50 { 713 eeprom@50 { 714 compatible = "atmel,24c64"; 714 compatible = "atmel,24c64"; 715 reg = <0x50>; 715 reg = <0x50>; 716 }; 716 }; 717 717 718 tmp423a@4c { 718 tmp423a@4c { 719 compatible = "ti,tmp423"; 719 compatible = "ti,tmp423"; 720 reg = <0x4c>; 720 reg = <0x4c>; 721 }; 721 }; 722 722 723 ir35221@71 { 723 ir35221@71 { 724 compatible = "infineon,ir35221 724 compatible = "infineon,ir35221"; 725 reg = <0x71>; 725 reg = <0x71>; 726 }; 726 }; 727 727 728 ir35221@72 { 728 ir35221@72 { 729 compatible = "infineon,ir35221 729 compatible = "infineon,ir35221"; 730 reg = <0x72>; 730 reg = <0x72>; 731 }; 731 }; 732 732 733 pca2: pca9539@74 { 733 pca2: pca9539@74 { 734 compatible = "nxp,pca9539"; 734 compatible = "nxp,pca9539"; 735 reg = <0x74>; 735 reg = <0x74>; 736 #address-cells = <1>; 736 #address-cells = <1>; 737 #size-cells = <0>; 737 #size-cells = <0>; 738 gpio-controller; 738 gpio-controller; 739 #gpio-cells = <2>; 739 #gpio-cells = <2>; 740 740 741 gpio@0 { 741 gpio@0 { 742 reg = <0>; 742 reg = <0>; 743 }; 743 }; 744 744 745 gpio@1 { 745 gpio@1 { 746 reg = <1>; 746 reg = <1>; 747 }; 747 }; 748 748 749 gpio@2 { 749 gpio@2 { 750 reg = <2>; 750 reg = <2>; 751 }; 751 }; 752 752 753 gpio@3 { 753 gpio@3 { 754 reg = <3>; 754 reg = <3>; 755 }; 755 }; 756 756 757 gpio@4 { 757 gpio@4 { 758 reg = <4>; 758 reg = <4>; 759 }; 759 }; 760 760 761 gpio@5 { 761 gpio@5 { 762 reg = <5>; 762 reg = <5>; 763 }; 763 }; 764 764 765 gpio@6 { 765 gpio@6 { 766 reg = <6>; 766 reg = <6>; 767 }; 767 }; 768 768 769 gpio@7 { 769 gpio@7 { 770 reg = <7>; 770 reg = <7>; 771 }; 771 }; 772 772 773 gpio@8 { 773 gpio@8 { 774 reg = <8>; 774 reg = <8>; 775 }; 775 }; 776 776 777 gpio@9 { 777 gpio@9 { 778 reg = <9>; 778 reg = <9>; 779 }; 779 }; 780 780 781 gpio@10 { 781 gpio@10 { 782 reg = <10>; 782 reg = <10>; 783 }; 783 }; 784 784 785 gpio@11 { 785 gpio@11 { 786 reg = <11>; 786 reg = <11>; 787 }; 787 }; 788 788 789 gpio@12 { 789 gpio@12 { 790 reg = <12>; 790 reg = <12>; 791 }; 791 }; 792 792 793 gpio@13 { 793 gpio@13 { 794 reg = <13>; 794 reg = <13>; 795 }; 795 }; 796 796 797 gpio@14 { 797 gpio@14 { 798 reg = <14>; 798 reg = <14>; 799 }; 799 }; 800 800 801 gpio@15 { 801 gpio@15 { 802 reg = <15>; 802 reg = <15>; 803 }; 803 }; 804 }; 804 }; 805 }; 805 }; 806 806 807 &i2c10 { 807 &i2c10 { 808 status = "okay"; 808 status = "okay"; 809 809 810 eeprom@50 { 810 eeprom@50 { 811 compatible = "atmel,24c64"; 811 compatible = "atmel,24c64"; 812 reg = <0x50>; 812 reg = <0x50>; 813 }; 813 }; 814 814 815 tmp423a@4c { 815 tmp423a@4c { 816 compatible = "ti,tmp423"; 816 compatible = "ti,tmp423"; 817 reg = <0x4c>; 817 reg = <0x4c>; 818 }; 818 }; 819 819 820 ir35221@71 { 820 ir35221@71 { 821 compatible = "infineon,ir35221 821 compatible = "infineon,ir35221"; 822 reg = <0x71>; 822 reg = <0x71>; 823 }; 823 }; 824 824 825 ir35221@72 { 825 ir35221@72 { 826 compatible = "infineon,ir35221 826 compatible = "infineon,ir35221"; 827 reg = <0x72>; 827 reg = <0x72>; 828 }; 828 }; 829 829 830 pca3: pca9539@74 { 830 pca3: pca9539@74 { 831 compatible = "nxp,pca9539"; 831 compatible = "nxp,pca9539"; 832 reg = <0x74>; 832 reg = <0x74>; 833 #address-cells = <1>; 833 #address-cells = <1>; 834 #size-cells = <0>; 834 #size-cells = <0>; 835 gpio-controller; 835 gpio-controller; 836 #gpio-cells = <2>; 836 #gpio-cells = <2>; 837 837 838 gpio@0 { 838 gpio@0 { 839 reg = <0>; 839 reg = <0>; 840 }; 840 }; 841 841 842 gpio@1 { 842 gpio@1 { 843 reg = <1>; 843 reg = <1>; 844 }; 844 }; 845 845 846 gpio@2 { 846 gpio@2 { 847 reg = <2>; 847 reg = <2>; 848 }; 848 }; 849 849 850 gpio@3 { 850 gpio@3 { 851 reg = <3>; 851 reg = <3>; 852 }; 852 }; 853 853 854 gpio@4 { 854 gpio@4 { 855 reg = <4>; 855 reg = <4>; 856 }; 856 }; 857 857 858 gpio@5 { 858 gpio@5 { 859 reg = <5>; 859 reg = <5>; 860 }; 860 }; 861 861 862 gpio@6 { 862 gpio@6 { 863 reg = <6>; 863 reg = <6>; 864 }; 864 }; 865 865 866 gpio@7 { 866 gpio@7 { 867 reg = <7>; 867 reg = <7>; 868 }; 868 }; 869 869 870 gpio@8 { 870 gpio@8 { 871 reg = <8>; 871 reg = <8>; 872 }; 872 }; 873 873 874 gpio@9 { 874 gpio@9 { 875 reg = <9>; 875 reg = <9>; 876 }; 876 }; 877 877 878 gpio@10 { 878 gpio@10 { 879 reg = <10>; 879 reg = <10>; 880 }; 880 }; 881 881 882 gpio@11 { 882 gpio@11 { 883 reg = <11>; 883 reg = <11>; 884 }; 884 }; 885 885 886 gpio@12 { 886 gpio@12 { 887 reg = <12>; 887 reg = <12>; 888 }; 888 }; 889 889 890 gpio@13 { 890 gpio@13 { 891 reg = <13>; 891 reg = <13>; 892 }; 892 }; 893 893 894 gpio@14 { 894 gpio@14 { 895 reg = <14>; 895 reg = <14>; 896 }; 896 }; 897 897 898 gpio@15 { 898 gpio@15 { 899 reg = <15>; 899 reg = <15>; 900 }; 900 }; 901 }; 901 }; 902 }; 902 }; 903 903 904 &i2c11 { 904 &i2c11 { 905 /* MUX 905 /* MUX 906 * -> PCIe Slot 0 906 * -> PCIe Slot 0 907 * -> PCIe Slot 1 907 * -> PCIe Slot 1 908 * -> PCIe Slot 2 908 * -> PCIe Slot 2 909 * -> PCIe Slot 3 909 * -> PCIe Slot 3 910 */ 910 */ 911 status = "okay"; 911 status = "okay"; 912 }; 912 }; 913 913 914 &i2c12 { 914 &i2c12 { 915 status = "okay"; 915 status = "okay"; 916 916 917 tmp275@48 { 917 tmp275@48 { 918 compatible = "ti,tmp275"; 918 compatible = "ti,tmp275"; 919 reg = <0x48>; 919 reg = <0x48>; 920 }; 920 }; 921 921 922 tmp275@4a { 922 tmp275@4a { 923 compatible = "ti,tmp275"; 923 compatible = "ti,tmp275"; 924 reg = <0x4a>; 924 reg = <0x4a>; 925 }; 925 }; 926 }; 926 }; 927 927 928 &i2c13 { 928 &i2c13 { 929 status = "okay"; 929 status = "okay"; 930 }; 930 }; 931 931 932 &vuart { 932 &vuart { 933 status = "okay"; 933 status = "okay"; 934 }; 934 }; 935 935 936 &gfx { 936 &gfx { 937 status = "okay"; 937 status = "okay"; 938 memory-region = <&gfx_memory>; 938 memory-region = <&gfx_memory>; 939 }; 939 }; 940 940 >> 941 &pinctrl { >> 942 aspeed,external-nodes = <&gfx &lhc>; >> 943 }; >> 944 941 &wdt1 { 945 &wdt1 { 942 aspeed,reset-type = "none"; 946 aspeed,reset-type = "none"; 943 aspeed,external-signal; 947 aspeed,external-signal; 944 aspeed,ext-push-pull; 948 aspeed,ext-push-pull; 945 aspeed,ext-active-high; 949 aspeed,ext-active-high; 946 950 947 pinctrl-names = "default"; 951 pinctrl-names = "default"; 948 pinctrl-0 = <&pinctrl_wdtrst1_default> 952 pinctrl-0 = <&pinctrl_wdtrst1_default>; 949 }; 953 }; 950 954 951 &wdt2 { 955 &wdt2 { 952 aspeed,alt-boot; 956 aspeed,alt-boot; 953 }; 957 }; 954 958 955 &ibt { 959 &ibt { 956 status = "okay"; 960 status = "okay"; 957 }; 961 }; 958 962 959 &adc { 963 &adc { 960 status = "okay"; 964 status = "okay"; 961 }; 965 }; 962 966 963 &sdmmc { 967 &sdmmc { 964 status = "okay"; 968 status = "okay"; 965 }; 969 }; 966 970 967 &sdhci1 { 971 &sdhci1 { 968 status = "okay"; 972 status = "okay"; 969 973 970 pinctrl-names = "default"; 974 pinctrl-names = "default"; 971 pinctrl-0 = <&pinctrl_sd2_default>; 975 pinctrl-0 = <&pinctrl_sd2_default>; 972 }; 976 }; 973 977 974 #include "ibm-power9-dual.dtsi" 978 #include "ibm-power9-dual.dtsi"
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.