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 #include <dt-bindings/interrupt-controller/irq 6 #include <dt-bindings/interrupt-controller/irq.h> 7 7 8 / { 8 / { 9 model = "FP5280G2 BMC"; 9 model = "FP5280G2 BMC"; 10 compatible = "inspur,fp5280g2-bmc", "a 10 compatible = "inspur,fp5280g2-bmc", "aspeed,ast2500"; 11 11 12 chosen { 12 chosen { 13 stdout-path = &uart5; 13 stdout-path = &uart5; 14 bootargs = "console=ttyS4,1152 14 bootargs = "console=ttyS4,115200 earlycon"; 15 }; 15 }; 16 16 17 memory@80000000 { 17 memory@80000000 { 18 reg = <0x80000000 0x20000000>; 18 reg = <0x80000000 0x20000000>; 19 }; 19 }; 20 20 21 reserved-memory { 21 reserved-memory { 22 #address-cells = <1>; 22 #address-cells = <1>; 23 #size-cells = <1>; 23 #size-cells = <1>; 24 ranges; 24 ranges; 25 25 26 vga_memory: framebuffer@9f0000 26 vga_memory: framebuffer@9f000000 { 27 no-map; 27 no-map; 28 reg = <0x9f000000 0x01 28 reg = <0x9f000000 0x01000000>; /* 16M */ 29 }; 29 }; 30 30 31 flash_memory: region@98000000 31 flash_memory: region@98000000 { 32 no-map; 32 no-map; 33 reg = <0x98000000 0x04 33 reg = <0x98000000 0x04000000>; /* 64M */ 34 }; 34 }; 35 35 36 coldfire_memory: codefire_memo 36 coldfire_memory: codefire_memory@9ef00000 { 37 reg = <0x9ef00000 0x00 37 reg = <0x9ef00000 0x00100000>; 38 no-map; 38 no-map; 39 }; 39 }; 40 40 41 gfx_memory: framebuffer { 41 gfx_memory: framebuffer { 42 size = <0x01000000>; 42 size = <0x01000000>; 43 alignment = <0x0100000 43 alignment = <0x01000000>; 44 compatible = "shared-d 44 compatible = "shared-dma-pool"; 45 reusable; 45 reusable; 46 }; 46 }; 47 47 48 video_engine_memory: jpegbuffe 48 video_engine_memory: jpegbuffer { 49 size = <0x02000000>; 49 size = <0x02000000>; /* 32M */ 50 alignment = <0x0100000 50 alignment = <0x01000000>; 51 compatible = "shared-d 51 compatible = "shared-dma-pool"; 52 reusable; 52 reusable; 53 }; 53 }; 54 }; 54 }; 55 55 56 fsi: gpio-fsi { 56 fsi: gpio-fsi { 57 compatible = "aspeed,ast2500-c 57 compatible = "aspeed,ast2500-cf-fsi-master", "fsi-master"; 58 #address-cells = <2>; 58 #address-cells = <2>; 59 #size-cells = <0>; 59 #size-cells = <0>; 60 no-gpio-delays; 60 no-gpio-delays; 61 61 62 memory-region = <&coldfire_mem 62 memory-region = <&coldfire_memory>; 63 aspeed,sram = <&sram>; 63 aspeed,sram = <&sram>; 64 aspeed,cvic = <&cvic>; 64 aspeed,cvic = <&cvic>; 65 65 66 clock-gpios = <&gpio ASPEED_GP 66 clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>; 67 data-gpios = <&gpio ASPEED_GPI 67 data-gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_HIGH>; 68 mux-gpios = <&gpio ASPEED_GPIO 68 mux-gpios = <&gpio ASPEED_GPIO(I, 2) GPIO_ACTIVE_HIGH>; 69 enable-gpios = <&gpio ASPEED_G 69 enable-gpios = <&gpio ASPEED_GPIO(I, 3) GPIO_ACTIVE_HIGH>; 70 trans-gpios = <&gpio ASPEED_GP 70 trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>; 71 }; 71 }; 72 72 73 gpio-keys { 73 gpio-keys { 74 compatible = "gpio-keys"; 74 compatible = "gpio-keys"; 75 75 76 event-checkstop { 76 event-checkstop { 77 label = "checkstop"; 77 label = "checkstop"; 78 gpios = <&gpio ASPEED_ 78 gpios = <&gpio ASPEED_GPIO(B, 3) GPIO_ACTIVE_LOW>; 79 linux,code = <ASPEED_G 79 linux,code = <ASPEED_GPIO(B, 3)>; 80 }; 80 }; 81 81 82 event-ps0-presence { 82 event-ps0-presence { 83 label = "ps0-presence" 83 label = "ps0-presence"; 84 gpios = <&gpio ASPEED_ 84 gpios = <&gpio ASPEED_GPIO(F, 0) GPIO_ACTIVE_LOW>; 85 linux,code = <ASPEED_G 85 linux,code = <ASPEED_GPIO(F, 0)>; 86 }; 86 }; 87 87 88 event-ps1-presence { 88 event-ps1-presence { 89 label = "ps1-presence" 89 label = "ps1-presence"; 90 gpios = <&gpio ASPEED_ 90 gpios = <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>; 91 linux,code = <ASPEED_G 91 linux,code = <ASPEED_GPIO(F, 1)>; 92 }; 92 }; 93 93 94 }; 94 }; 95 95 96 gpio-keys-polled { 96 gpio-keys-polled { 97 compatible = "gpio-keys-polled 97 compatible = "gpio-keys-polled"; 98 poll-interval = <1000>; 98 poll-interval = <1000>; 99 99 100 event-fan0-presence { 100 event-fan0-presence { 101 label = "fan0-presence 101 label = "fan0-presence"; 102 gpios = <&pca1 0 GPIO_ 102 gpios = <&pca1 0 GPIO_ACTIVE_LOW>; 103 linux,code = <1>; 103 linux,code = <1>; 104 }; 104 }; 105 105 106 event-fan1-presence { 106 event-fan1-presence { 107 label = "fan1-presence 107 label = "fan1-presence"; 108 gpios = <&pca1 1 GPIO_ 108 gpios = <&pca1 1 GPIO_ACTIVE_LOW>; 109 linux,code = <2>; 109 linux,code = <2>; 110 }; 110 }; 111 111 112 event-fan2-presence { 112 event-fan2-presence { 113 label = "fan2-presence 113 label = "fan2-presence"; 114 gpios = <&pca1 2 GPIO_ 114 gpios = <&pca1 2 GPIO_ACTIVE_LOW>; 115 linux,code = <3>; 115 linux,code = <3>; 116 }; 116 }; 117 117 118 event-fan3-presence { 118 event-fan3-presence { 119 label = "fan3-presence 119 label = "fan3-presence"; 120 gpios = <&pca1 3 GPIO_ 120 gpios = <&pca1 3 GPIO_ACTIVE_LOW>; 121 linux,code = <4>; 121 linux,code = <4>; 122 }; 122 }; 123 123 124 event-fan4-presence { 124 event-fan4-presence { 125 label = "fan4-presence 125 label = "fan4-presence"; 126 gpios = <&pca1 4 GPIO_ 126 gpios = <&pca1 4 GPIO_ACTIVE_LOW>; 127 linux,code = <5>; 127 linux,code = <5>; 128 }; 128 }; 129 129 130 event-fan5-presence { 130 event-fan5-presence { 131 label = "fan5-presence 131 label = "fan5-presence"; 132 gpios = <&pca1 5 GPIO_ 132 gpios = <&pca1 5 GPIO_ACTIVE_LOW>; 133 linux,code = <6>; 133 linux,code = <6>; 134 }; 134 }; 135 135 136 event-fan6-presence { 136 event-fan6-presence { 137 label = "fan6-presence 137 label = "fan6-presence"; 138 gpios = <&pca1 6 GPIO_ 138 gpios = <&pca1 6 GPIO_ACTIVE_LOW>; 139 linux,code = <7>; 139 linux,code = <7>; 140 }; 140 }; 141 141 142 event-fan7-presence { 142 event-fan7-presence { 143 label = "fan7-presence 143 label = "fan7-presence"; 144 gpios = <&pca1 7 GPIO_ 144 gpios = <&pca1 7 GPIO_ACTIVE_LOW>; 145 linux,code = <8>; 145 linux,code = <8>; 146 }; 146 }; 147 }; 147 }; 148 148 149 leds { 149 leds { 150 compatible = "gpio-leds"; 150 compatible = "gpio-leds"; 151 151 152 power { 152 power { 153 label = "power"; 153 label = "power"; 154 /* TODO: dummy gpio */ 154 /* TODO: dummy gpio */ 155 gpios = <&gpio ASPEED_ 155 gpios = <&gpio ASPEED_GPIO(R, 1) GPIO_ACTIVE_LOW>; 156 }; 156 }; 157 157 158 init-ok { 158 init-ok { 159 label = "init-ok"; 159 label = "init-ok"; 160 gpios = <&gpio ASPEED_ 160 gpios = <&gpio ASPEED_GPIO(B, 7) GPIO_ACTIVE_LOW>; 161 }; 161 }; 162 162 163 front-memory { 163 front-memory { 164 label = "front-memory" 164 label = "front-memory"; 165 gpios = <&gpio ASPEED_ 165 gpios = <&gpio ASPEED_GPIO(F, 4) GPIO_ACTIVE_LOW>; 166 }; 166 }; 167 167 168 front-syshot { 168 front-syshot { 169 label = "front-syshot" 169 label = "front-syshot"; 170 gpios = <&gpio ASPEED_ 170 gpios = <&gpio ASPEED_GPIO(I, 1) GPIO_ACTIVE_LOW>; 171 }; 171 }; 172 172 173 front-syshealth { 173 front-syshealth { 174 label = "front-sysheal 174 label = "front-syshealth"; 175 gpios = <&gpio ASPEED_ 175 gpios = <&gpio ASPEED_GPIO(I, 0) GPIO_ACTIVE_LOW>; 176 }; 176 }; 177 177 178 front-fan { 178 front-fan { 179 label = "front-fan"; 179 label = "front-fan"; 180 gpios = <&gpio ASPEED_ 180 gpios = <&gpio ASPEED_GPIO(H, 4) GPIO_ACTIVE_LOW>; 181 }; 181 }; 182 182 183 front-psu { 183 front-psu { 184 label = "front-psu"; 184 label = "front-psu"; 185 gpios = <&gpio ASPEED_ 185 gpios = <&gpio ASPEED_GPIO(B, 2) GPIO_ACTIVE_LOW>; 186 }; 186 }; 187 187 188 identify { 188 identify { 189 label = "identify"; 189 label = "identify"; 190 gpios = <&gpio ASPEED_ 190 gpios = <&gpio ASPEED_GPIO(Z, 7) GPIO_ACTIVE_LOW>; 191 }; 191 }; 192 }; 192 }; 193 193 194 iio-hwmon-battery { 194 iio-hwmon-battery { 195 compatible = "iio-hwmon"; 195 compatible = "iio-hwmon"; 196 io-channels = <&adc 15>; 196 io-channels = <&adc 15>; 197 }; 197 }; 198 198 199 iio-hwmon { 199 iio-hwmon { 200 compatible = "iio-hwmon"; 200 compatible = "iio-hwmon"; 201 io-channels = <&adc 0>, <&adc 201 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>, 202 <&adc 5>, <&adc 6>, <& 202 <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>, 203 <&adc 10>, <&adc 11>, 203 <&adc 10>, <&adc 11>, <&adc 12>, <&adc 13>, <&adc 14>; 204 }; 204 }; 205 205 206 }; 206 }; 207 207 208 &gpio { 208 &gpio { 209 gpio-line-names = 209 gpio-line-names = 210 /*A0-A7*/ "","","","","","",""," 210 /*A0-A7*/ "","","","","","","","", 211 /*B0-B7*/ "","","front-psu","che 211 /*B0-B7*/ "","","front-psu","checkstop","cfam-reset","","","init-ok", 212 /*C0-C7*/ "","","","","","",""," 212 /*C0-C7*/ "","","","","","","","", 213 /*D0-D7*/ "","","","","","",""," 213 /*D0-D7*/ "","","","","","","","", 214 /*E0-E7*/ "","","","","","",""," 214 /*E0-E7*/ "","","","","","","","", 215 /*F0-F7*/ "ps0-presence","ps1-pr 215 /*F0-F7*/ "ps0-presence","ps1-presence","","","front-memory","","","", 216 /*G0-G7*/ "","","","","","",""," 216 /*G0-G7*/ "","","","","","","","", 217 /*H0-H7*/ "","","","","front-fan 217 /*H0-H7*/ "","","","","front-fan","","","", 218 /*I0-I7*/ "front-syshealth","fro 218 /*I0-I7*/ "front-syshealth","front-syshot","mux-gpios","enable-gpios","","","","", 219 /*J0-J7*/ "","","","","","",""," 219 /*J0-J7*/ "","","","","","","","", 220 /*K0-K7*/ "","","","","","",""," 220 /*K0-K7*/ "","","","","","","","", 221 /*L0-L7*/ "","","","","","",""," 221 /*L0-L7*/ "","","","","","","","", 222 /*M0-M7*/ "","","","","","",""," 222 /*M0-M7*/ "","","","","","","","", 223 /*N0-N7*/ "","","","","","",""," 223 /*N0-N7*/ "","","","","","","","", 224 /*O0-O7*/ "","","","","","",""," 224 /*O0-O7*/ "","","","","","","","", 225 /*P0-P7*/ "","","","","","",""," 225 /*P0-P7*/ "","","","","","","","", 226 /*Q0-Q7*/ "","","","","","",""," 226 /*Q0-Q7*/ "","","","","","","","", 227 /*R0-R7*/ "","power","trans-gpio 227 /*R0-R7*/ "","power","trans-gpios","","","","","", 228 /*S0-S7*/ "","","","","","",""," 228 /*S0-S7*/ "","","","","","","","", 229 /*T0-T7*/ "","","","","","",""," 229 /*T0-T7*/ "","","","","","","","", 230 /*U0-U7*/ "","","","","","",""," 230 /*U0-U7*/ "","","","","","","","", 231 /*V0-V7*/ "","","","","","",""," 231 /*V0-V7*/ "","","","","","","","", 232 /*W0-W7*/ "","","","","","",""," 232 /*W0-W7*/ "","","","","","","","", 233 /*X0-X7*/ "","","","","","",""," 233 /*X0-X7*/ "","","","","","","","", 234 /*Y0-Y7*/ "","","","","","",""," 234 /*Y0-Y7*/ "","","","","","","","", 235 /*Z0-Z7*/ "","","","","","",""," 235 /*Z0-Z7*/ "","","","","","","","identify", 236 /*AA0-AA7*/ "clock-gpios","","data 236 /*AA0-AA7*/ "clock-gpios","","data-gpios","","","","","", 237 /*AB0-AB7*/ "","","","","","",""," 237 /*AB0-AB7*/ "","","","","","","","", 238 /*AC0-AC7*/ "","","","","","",""," 238 /*AC0-AC7*/ "","","","","","","",""; 239 }; 239 }; 240 240 241 &fmc { 241 &fmc { 242 status = "okay"; 242 status = "okay"; 243 243 244 flash@0 { 244 flash@0 { 245 status = "okay"; 245 status = "okay"; 246 label = "bmc"; 246 label = "bmc"; 247 m25p,fast-read; 247 m25p,fast-read; 248 spi-max-frequency = <50000000> 248 spi-max-frequency = <50000000>; 249 #include "openbmc-flash-layout-64.dtsi" 249 #include "openbmc-flash-layout-64.dtsi" 250 }; 250 }; 251 }; 251 }; 252 252 253 &spi1 { 253 &spi1 { 254 status = "okay"; 254 status = "okay"; 255 pinctrl-names = "default"; 255 pinctrl-names = "default"; 256 pinctrl-0 = <&pinctrl_spi1_default>; 256 pinctrl-0 = <&pinctrl_spi1_default>; 257 257 258 flash@0 { 258 flash@0 { 259 status = "okay"; 259 status = "okay"; 260 label = "pnor"; 260 label = "pnor"; 261 m25p,fast-read; 261 m25p,fast-read; 262 spi-max-frequency = <100000000 262 spi-max-frequency = <100000000>; 263 }; 263 }; 264 }; 264 }; 265 265 266 &uart1 { 266 &uart1 { 267 /* Rear RS-232 connector */ 267 /* Rear RS-232 connector */ 268 status = "okay"; 268 status = "okay"; 269 pinctrl-names = "default"; 269 pinctrl-names = "default"; 270 pinctrl-0 = <&pinctrl_txd1_default 270 pinctrl-0 = <&pinctrl_txd1_default 271 &pinctrl_rxd1_default 271 &pinctrl_rxd1_default 272 &pinctrl_nrts1_default 272 &pinctrl_nrts1_default 273 &pinctrl_ndtr1_default 273 &pinctrl_ndtr1_default 274 &pinctrl_ndsr1_default 274 &pinctrl_ndsr1_default 275 &pinctrl_ncts1_default 275 &pinctrl_ncts1_default 276 &pinctrl_ndcd1_default 276 &pinctrl_ndcd1_default 277 &pinctrl_nri1_default> 277 &pinctrl_nri1_default>; 278 }; 278 }; 279 279 280 &uart2 { 280 &uart2 { 281 /* Test Point */ 281 /* Test Point */ 282 status = "okay"; 282 status = "okay"; 283 pinctrl-names = "default"; 283 pinctrl-names = "default"; 284 pinctrl-0 = <&pinctrl_txd2_default &pi 284 pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>; 285 }; 285 }; 286 286 287 &uart3 { 287 &uart3 { 288 /* APSS */ 288 /* APSS */ 289 status = "okay"; 289 status = "okay"; 290 pinctrl-names = "default"; 290 pinctrl-names = "default"; 291 pinctrl-0 = <&pinctrl_txd3_default &pi 291 pinctrl-0 = <&pinctrl_txd3_default &pinctrl_rxd3_default>; 292 }; 292 }; 293 293 294 &uart5 { 294 &uart5 { 295 status = "okay"; 295 status = "okay"; 296 }; 296 }; 297 297 298 &lpc_ctrl { 298 &lpc_ctrl { 299 status = "okay"; 299 status = "okay"; 300 memory-region = <&flash_memory>; 300 memory-region = <&flash_memory>; 301 flash = <&spi1>; 301 flash = <&spi1>; 302 }; 302 }; 303 303 304 &mac0 { 304 &mac0 { 305 status = "okay"; 305 status = "okay"; 306 pinctrl-names = "default"; 306 pinctrl-names = "default"; 307 pinctrl-0 = <&pinctrl_rmii1_default>; 307 pinctrl-0 = <&pinctrl_rmii1_default>; 308 clocks = <&syscon ASPEED_CLK_GATE_MAC1 308 clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>, 309 <&syscon ASPEED_CLK_MAC1RCLK> 309 <&syscon ASPEED_CLK_MAC1RCLK>; 310 clock-names = "MACCLK", "RCLK"; 310 clock-names = "MACCLK", "RCLK"; 311 use-ncsi; 311 use-ncsi; 312 }; 312 }; 313 313 314 &mac1 { 314 &mac1 { 315 status = "okay"; 315 status = "okay"; 316 pinctrl-names = "default"; 316 pinctrl-names = "default"; 317 pinctrl-0 = <&pinctrl_rgmii2_default & 317 pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>; 318 }; 318 }; 319 319 320 &i2c0 { 320 &i2c0 { 321 /* LCD */ 321 /* LCD */ 322 status = "okay"; 322 status = "okay"; 323 }; 323 }; 324 324 325 &i2c1 { 325 &i2c1 { 326 status = "okay"; 326 status = "okay"; 327 327 328 eeprom@50 { 328 eeprom@50 { 329 compatible = "atmel,24c256"; 329 compatible = "atmel,24c256"; 330 reg = <0x50>; 330 reg = <0x50>; 331 label = "fru"; 331 label = "fru"; 332 }; 332 }; 333 333 334 }; 334 }; 335 335 336 &i2c2 { 336 &i2c2 { 337 status = "okay"; 337 status = "okay"; 338 338 339 tmp112@48 { 339 tmp112@48 { 340 compatible = "ti,tmp112"; 340 compatible = "ti,tmp112"; 341 reg = <0x48>; 341 reg = <0x48>; 342 label = "inlet"; 342 label = "inlet"; 343 }; 343 }; 344 344 345 tmp112@49 { 345 tmp112@49 { 346 compatible = "ti,tmp112"; 346 compatible = "ti,tmp112"; 347 reg = <0x49>; 347 reg = <0x49>; 348 label = "outlet"; 348 label = "outlet"; 349 }; 349 }; 350 350 351 i2c-mux@70 { 351 i2c-mux@70 { 352 compatible = "nxp,pca9546"; 352 compatible = "nxp,pca9546"; 353 reg = <0x70>; 353 reg = <0x70>; 354 #address-cells = <1>; 354 #address-cells = <1>; 355 #size-cells = <0>; 355 #size-cells = <0>; 356 356 357 i2c@0 { 357 i2c@0 { 358 #address-cells = <1>; 358 #address-cells = <1>; 359 #size-cells = <0>; 359 #size-cells = <0>; 360 reg = <0>; 360 reg = <0>; 361 361 362 tmp112@4a { 362 tmp112@4a { 363 compatible = " 363 compatible = "ti,tmp112"; 364 reg = <0x4a>; 364 reg = <0x4a>; 365 label = "psu_i 365 label = "psu_inlet"; 366 }; 366 }; 367 367 368 }; 368 }; 369 369 370 i2c@1 { 370 i2c@1 { 371 #address-cells = <1>; 371 #address-cells = <1>; 372 #size-cells = <0>; 372 #size-cells = <0>; 373 reg = <1>; 373 reg = <1>; 374 374 375 tmp112@4a { 375 tmp112@4a { 376 compatible = " 376 compatible = "ti,tmp112"; 377 reg = <0x4a>; 377 reg = <0x4a>; 378 label = "ocp_z 378 label = "ocp_zone"; 379 }; 379 }; 380 }; 380 }; 381 381 382 i2c@2 { 382 i2c@2 { 383 #address-cells = <1>; 383 #address-cells = <1>; 384 #size-cells = <0>; 384 #size-cells = <0>; 385 reg = <2>; 385 reg = <2>; 386 386 387 tmp112@4a { 387 tmp112@4a { 388 compatible = " 388 compatible = "ti,tmp112"; 389 reg = <0x4a>; 389 reg = <0x4a>; 390 label = "bmc_z 390 label = "bmc_zone"; 391 }; 391 }; 392 }; 392 }; 393 393 394 i2c@3 { 394 i2c@3 { 395 #address-cells = <1>; 395 #address-cells = <1>; 396 #size-cells = <0>; 396 #size-cells = <0>; 397 reg = <3>; 397 reg = <3>; 398 398 399 tmp112@7c { 399 tmp112@7c { 400 compatible = " 400 compatible = "microchip,emc1413"; 401 reg = <0x7c>; 401 reg = <0x7c>; 402 }; 402 }; 403 }; 403 }; 404 404 405 }; 405 }; 406 }; 406 }; 407 407 408 &i2c3 { 408 &i2c3 { 409 /* Riser Card */ 409 /* Riser Card */ 410 status = "okay"; 410 status = "okay"; 411 }; 411 }; 412 412 413 &i2c4 { 413 &i2c4 { 414 status = "okay"; 414 status = "okay"; 415 415 416 rtc@68 { 416 rtc@68 { 417 compatible = "dallas,ds3232"; 417 compatible = "dallas,ds3232"; 418 reg = <0x68>; 418 reg = <0x68>; 419 }; 419 }; 420 }; 420 }; 421 421 422 &i2c5 { 422 &i2c5 { 423 /* vr */ 423 /* vr */ 424 status = "okay"; 424 status = "okay"; 425 }; 425 }; 426 426 427 &i2c6 { 427 &i2c6 { 428 /* bp card */ 428 /* bp card */ 429 status = "okay"; 429 status = "okay"; 430 }; 430 }; 431 431 432 &i2c7 { 432 &i2c7 { 433 status = "okay"; 433 status = "okay"; 434 434 435 i2c-mux@70 { 435 i2c-mux@70 { 436 compatible = "nxp,pca9546"; 436 compatible = "nxp,pca9546"; 437 reg = <0x70>; 437 reg = <0x70>; 438 #address-cells = <1>; 438 #address-cells = <1>; 439 #size-cells = <0>; 439 #size-cells = <0>; 440 440 441 i2c@0 { 441 i2c@0 { 442 #address-cells = <1>; 442 #address-cells = <1>; 443 #size-cells = <0>; 443 #size-cells = <0>; 444 reg = <0>; 444 reg = <0>; 445 445 446 adm1278@10 { 446 adm1278@10 { 447 compatible = " 447 compatible = "adi,adm1278"; 448 reg = <0x10>; 448 reg = <0x10>; 449 }; 449 }; 450 450 451 adm1278@13 { 451 adm1278@13 { 452 compatible = " 452 compatible = "adi,adm1278"; 453 reg = <0x13>; 453 reg = <0x13>; 454 }; 454 }; 455 455 456 adm1278@50 { 456 adm1278@50 { 457 compatible = " 457 compatible = "adi,adm1278"; 458 reg = <0x50>; 458 reg = <0x50>; 459 }; 459 }; 460 460 461 adm1278@53 { 461 adm1278@53 { 462 compatible = " 462 compatible = "adi,adm1278"; 463 reg = <0x53>; 463 reg = <0x53>; 464 }; 464 }; 465 465 466 }; 466 }; 467 467 468 /*pcie riser*/ 468 /*pcie riser*/ 469 469 470 }; 470 }; 471 }; 471 }; 472 472 473 &i2c8 { 473 &i2c8 { 474 status = "okay"; 474 status = "okay"; 475 475 476 pca0: pca9555@20 { 476 pca0: pca9555@20 { 477 compatible = "nxp,pca9555"; 477 compatible = "nxp,pca9555"; 478 reg = <0x20>; 478 reg = <0x20>; 479 #address-cells = <1>; 479 #address-cells = <1>; 480 #size-cells = <0>; 480 #size-cells = <0>; 481 481 482 gpio-controller; 482 gpio-controller; 483 #gpio-cells = <2>; 483 #gpio-cells = <2>; 484 484 485 gpio@0 { 485 gpio@0 { 486 reg = <0>; 486 reg = <0>; 487 type = <PCA955X_TYPE_G 487 type = <PCA955X_TYPE_GPIO>; 488 }; 488 }; 489 489 490 gpio@1 { 490 gpio@1 { 491 reg = <1>; 491 reg = <1>; 492 type = <PCA955X_TYPE_G 492 type = <PCA955X_TYPE_GPIO>; 493 }; 493 }; 494 494 495 gpio@2 { 495 gpio@2 { 496 reg = <2>; 496 reg = <2>; 497 type = <PCA955X_TYPE_G 497 type = <PCA955X_TYPE_GPIO>; 498 }; 498 }; 499 499 500 gpio@3 { 500 gpio@3 { 501 reg = <3>; 501 reg = <3>; 502 type = <PCA955X_TYPE_G 502 type = <PCA955X_TYPE_GPIO>; 503 }; 503 }; 504 504 505 gpio@4 { 505 gpio@4 { 506 reg = <4>; 506 reg = <4>; 507 type = <PCA955X_TYPE_G 507 type = <PCA955X_TYPE_GPIO>; 508 }; 508 }; 509 509 510 gpio@5 { 510 gpio@5 { 511 reg = <5>; 511 reg = <5>; 512 type = <PCA955X_TYPE_G 512 type = <PCA955X_TYPE_GPIO>; 513 }; 513 }; 514 514 515 gpio@6 { 515 gpio@6 { 516 reg = <6>; 516 reg = <6>; 517 type = <PCA955X_TYPE_G 517 type = <PCA955X_TYPE_GPIO>; 518 }; 518 }; 519 519 520 gpio@7 { 520 gpio@7 { 521 reg = <7>; 521 reg = <7>; 522 type = <PCA955X_TYPE_G 522 type = <PCA955X_TYPE_GPIO>; 523 }; 523 }; 524 524 525 }; 525 }; 526 526 527 pca1: pca9555@21 { 527 pca1: pca9555@21 { 528 compatible = "nxp,pca9555"; 528 compatible = "nxp,pca9555"; 529 reg = <0x21>; 529 reg = <0x21>; 530 #address-cells = <1>; 530 #address-cells = <1>; 531 #size-cells = <0>; 531 #size-cells = <0>; 532 532 533 gpio-controller; 533 gpio-controller; 534 #gpio-cells = <2>; 534 #gpio-cells = <2>; 535 535 536 gpio@0 { 536 gpio@0 { 537 reg = <0>; 537 reg = <0>; 538 type = <PCA955X_TYPE_G 538 type = <PCA955X_TYPE_GPIO>; 539 }; 539 }; 540 540 541 gpio@1 { 541 gpio@1 { 542 reg = <1>; 542 reg = <1>; 543 type = <PCA955X_TYPE_G 543 type = <PCA955X_TYPE_GPIO>; 544 }; 544 }; 545 545 546 gpio@2 { 546 gpio@2 { 547 reg = <2>; 547 reg = <2>; 548 type = <PCA955X_TYPE_G 548 type = <PCA955X_TYPE_GPIO>; 549 }; 549 }; 550 550 551 gpio@3 { 551 gpio@3 { 552 reg = <3>; 552 reg = <3>; 553 type = <PCA955X_TYPE_G 553 type = <PCA955X_TYPE_GPIO>; 554 }; 554 }; 555 555 556 gpio@4 { 556 gpio@4 { 557 reg = <4>; 557 reg = <4>; 558 type = <PCA955X_TYPE_G 558 type = <PCA955X_TYPE_GPIO>; 559 }; 559 }; 560 560 561 gpio@5 { 561 gpio@5 { 562 reg = <5>; 562 reg = <5>; 563 type = <PCA955X_TYPE_G 563 type = <PCA955X_TYPE_GPIO>; 564 }; 564 }; 565 565 566 gpio@6 { 566 gpio@6 { 567 reg = <6>; 567 reg = <6>; 568 type = <PCA955X_TYPE_G 568 type = <PCA955X_TYPE_GPIO>; 569 }; 569 }; 570 570 571 gpio@7 { 571 gpio@7 { 572 reg = <7>; 572 reg = <7>; 573 type = <PCA955X_TYPE_G 573 type = <PCA955X_TYPE_GPIO>; 574 }; 574 }; 575 }; 575 }; 576 576 577 pca2: pca9555@22 { 577 pca2: pca9555@22 { 578 compatible = "nxp,pca9555"; 578 compatible = "nxp,pca9555"; 579 reg = <0x22>; 579 reg = <0x22>; 580 #address-cells = <1>; 580 #address-cells = <1>; 581 #size-cells = <0>; 581 #size-cells = <0>; 582 582 583 gpio-controller; 583 gpio-controller; 584 #gpio-cells = <2>; 584 #gpio-cells = <2>; 585 585 586 gpio@0 { 586 gpio@0 { 587 reg = <0>; 587 reg = <0>; 588 type = <PCA955X_TYPE_G 588 type = <PCA955X_TYPE_GPIO>; 589 }; 589 }; 590 590 591 gpio@1 { 591 gpio@1 { 592 reg = <1>; 592 reg = <1>; 593 type = <PCA955X_TYPE_G 593 type = <PCA955X_TYPE_GPIO>; 594 }; 594 }; 595 595 596 gpio@2 { 596 gpio@2 { 597 reg = <2>; 597 reg = <2>; 598 type = <PCA955X_TYPE_G 598 type = <PCA955X_TYPE_GPIO>; 599 }; 599 }; 600 600 601 gpio@3 { 601 gpio@3 { 602 reg = <3>; 602 reg = <3>; 603 type = <PCA955X_TYPE_G 603 type = <PCA955X_TYPE_GPIO>; 604 }; 604 }; 605 605 606 gpio@4 { 606 gpio@4 { 607 reg = <4>; 607 reg = <4>; 608 type = <PCA955X_TYPE_G 608 type = <PCA955X_TYPE_GPIO>; 609 }; 609 }; 610 610 611 gpio@5 { 611 gpio@5 { 612 reg = <5>; 612 reg = <5>; 613 type = <PCA955X_TYPE_G 613 type = <PCA955X_TYPE_GPIO>; 614 }; 614 }; 615 615 616 gpio@6 { 616 gpio@6 { 617 reg = <6>; 617 reg = <6>; 618 type = <PCA955X_TYPE_G 618 type = <PCA955X_TYPE_GPIO>; 619 }; 619 }; 620 620 621 gpio@7 { 621 gpio@7 { 622 reg = <7>; 622 reg = <7>; 623 type = <PCA955X_TYPE_G 623 type = <PCA955X_TYPE_GPIO>; 624 }; 624 }; 625 }; 625 }; 626 626 627 pca3: pca9555@23 { 627 pca3: pca9555@23 { 628 compatible = "nxp,pca9555"; 628 compatible = "nxp,pca9555"; 629 reg = <0x23>; 629 reg = <0x23>; 630 #address-cells = <1>; 630 #address-cells = <1>; 631 #size-cells = <0>; 631 #size-cells = <0>; 632 632 633 gpio-controller; 633 gpio-controller; 634 #gpio-cells = <2>; 634 #gpio-cells = <2>; 635 635 636 gpio@0 { 636 gpio@0 { 637 reg = <0>; 637 reg = <0>; 638 type = <PCA955X_TYPE_G 638 type = <PCA955X_TYPE_GPIO>; 639 }; 639 }; 640 640 641 gpio@1 { 641 gpio@1 { 642 reg = <1>; 642 reg = <1>; 643 type = <PCA955X_TYPE_G 643 type = <PCA955X_TYPE_GPIO>; 644 }; 644 }; 645 645 646 gpio@2 { 646 gpio@2 { 647 reg = <2>; 647 reg = <2>; 648 type = <PCA955X_TYPE_G 648 type = <PCA955X_TYPE_GPIO>; 649 }; 649 }; 650 650 651 gpio@3 { 651 gpio@3 { 652 reg = <3>; 652 reg = <3>; 653 type = <PCA955X_TYPE_G 653 type = <PCA955X_TYPE_GPIO>; 654 }; 654 }; 655 655 656 gpio@4 { 656 gpio@4 { 657 reg = <4>; 657 reg = <4>; 658 type = <PCA955X_TYPE_G 658 type = <PCA955X_TYPE_GPIO>; 659 }; 659 }; 660 660 661 gpio@5 { 661 gpio@5 { 662 reg = <5>; 662 reg = <5>; 663 type = <PCA955X_TYPE_G 663 type = <PCA955X_TYPE_GPIO>; 664 }; 664 }; 665 665 666 gpio@6 { 666 gpio@6 { 667 reg = <6>; 667 reg = <6>; 668 type = <PCA955X_TYPE_G 668 type = <PCA955X_TYPE_GPIO>; 669 }; 669 }; 670 670 671 gpio@7 { 671 gpio@7 { 672 reg = <7>; 672 reg = <7>; 673 type = <PCA955X_TYPE_G 673 type = <PCA955X_TYPE_GPIO>; 674 }; 674 }; 675 }; 675 }; 676 676 677 pca4: pca9555@24 { 677 pca4: pca9555@24 { 678 compatible = "nxp,pca9555"; 678 compatible = "nxp,pca9555"; 679 reg = <0x24>; 679 reg = <0x24>; 680 #address-cells = <1>; 680 #address-cells = <1>; 681 #size-cells = <0>; 681 #size-cells = <0>; 682 682 683 gpio-controller; 683 gpio-controller; 684 #gpio-cells = <2>; 684 #gpio-cells = <2>; 685 685 686 gpio@0 { 686 gpio@0 { 687 reg = <0>; 687 reg = <0>; 688 type = <PCA955X_TYPE_G 688 type = <PCA955X_TYPE_GPIO>; 689 }; 689 }; 690 690 691 gpio@1 { 691 gpio@1 { 692 reg = <1>; 692 reg = <1>; 693 type = <PCA955X_TYPE_G 693 type = <PCA955X_TYPE_GPIO>; 694 }; 694 }; 695 695 696 gpio@2 { 696 gpio@2 { 697 reg = <2>; 697 reg = <2>; 698 type = <PCA955X_TYPE_G 698 type = <PCA955X_TYPE_GPIO>; 699 }; 699 }; 700 700 701 gpio@3 { 701 gpio@3 { 702 reg = <3>; 702 reg = <3>; 703 type = <PCA955X_TYPE_G 703 type = <PCA955X_TYPE_GPIO>; 704 }; 704 }; 705 705 706 gpio@4 { 706 gpio@4 { 707 reg = <4>; 707 reg = <4>; 708 type = <PCA955X_TYPE_G 708 type = <PCA955X_TYPE_GPIO>; 709 }; 709 }; 710 710 711 gpio@5 { 711 gpio@5 { 712 reg = <5>; 712 reg = <5>; 713 type = <PCA955X_TYPE_G 713 type = <PCA955X_TYPE_GPIO>; 714 }; 714 }; 715 715 716 gpio@6 { 716 gpio@6 { 717 reg = <6>; 717 reg = <6>; 718 type = <PCA955X_TYPE_G 718 type = <PCA955X_TYPE_GPIO>; 719 }; 719 }; 720 720 721 gpio@7 { 721 gpio@7 { 722 reg = <7>; 722 reg = <7>; 723 type = <PCA955X_TYPE_G 723 type = <PCA955X_TYPE_GPIO>; 724 }; 724 }; 725 }; 725 }; 726 726 727 pca5: pca9555@25 { 727 pca5: pca9555@25 { 728 compatible = "nxp,pca9555"; 728 compatible = "nxp,pca9555"; 729 reg = <0x25>; 729 reg = <0x25>; 730 #address-cells = <1>; 730 #address-cells = <1>; 731 #size-cells = <0>; 731 #size-cells = <0>; 732 732 733 gpio-controller; 733 gpio-controller; 734 #gpio-cells = <2>; 734 #gpio-cells = <2>; 735 735 736 gpio@0 { 736 gpio@0 { 737 reg = <0>; 737 reg = <0>; 738 type = <PCA955X_TYPE_G 738 type = <PCA955X_TYPE_GPIO>; 739 }; 739 }; 740 740 741 gpio@1 { 741 gpio@1 { 742 reg = <1>; 742 reg = <1>; 743 type = <PCA955X_TYPE_G 743 type = <PCA955X_TYPE_GPIO>; 744 }; 744 }; 745 745 746 gpio@2 { 746 gpio@2 { 747 reg = <2>; 747 reg = <2>; 748 type = <PCA955X_TYPE_G 748 type = <PCA955X_TYPE_GPIO>; 749 }; 749 }; 750 750 751 gpio@3 { 751 gpio@3 { 752 reg = <3>; 752 reg = <3>; 753 type = <PCA955X_TYPE_G 753 type = <PCA955X_TYPE_GPIO>; 754 }; 754 }; 755 755 756 gpio@4 { 756 gpio@4 { 757 reg = <4>; 757 reg = <4>; 758 type = <PCA955X_TYPE_G 758 type = <PCA955X_TYPE_GPIO>; 759 }; 759 }; 760 760 761 gpio@5 { 761 gpio@5 { 762 reg = <5>; 762 reg = <5>; 763 type = <PCA955X_TYPE_G 763 type = <PCA955X_TYPE_GPIO>; 764 }; 764 }; 765 765 766 gpio@6 { 766 gpio@6 { 767 reg = <6>; 767 reg = <6>; 768 type = <PCA955X_TYPE_G 768 type = <PCA955X_TYPE_GPIO>; 769 }; 769 }; 770 770 771 gpio@7 { 771 gpio@7 { 772 reg = <7>; 772 reg = <7>; 773 type = <PCA955X_TYPE_G 773 type = <PCA955X_TYPE_GPIO>; 774 }; 774 }; 775 }; 775 }; 776 776 777 }; 777 }; 778 778 779 &i2c9 { 779 &i2c9 { 780 /* cpld */ 780 /* cpld */ 781 status = "okay"; 781 status = "okay"; 782 }; 782 }; 783 783 784 &i2c10 { 784 &i2c10 { 785 /* hdd bp */ 785 /* hdd bp */ 786 status = "okay"; 786 status = "okay"; 787 }; 787 }; 788 788 789 &i2c11 { 789 &i2c11 { 790 status = "okay"; 790 status = "okay"; 791 791 792 power-supply@58 { 792 power-supply@58 { 793 compatible = "inspur,ipsps1"; 793 compatible = "inspur,ipsps1"; 794 reg = <0x58>; 794 reg = <0x58>; 795 }; 795 }; 796 796 797 power-supply@59 { 797 power-supply@59 { 798 compatible = "inspur,ipsps1"; 798 compatible = "inspur,ipsps1"; 799 reg = <0x59>; 799 reg = <0x59>; 800 }; 800 }; 801 }; 801 }; 802 802 803 &i2c12 { 803 &i2c12 { 804 /* odcc */ 804 /* odcc */ 805 status = "okay"; 805 status = "okay"; 806 }; 806 }; 807 807 808 &vuart { 808 &vuart { 809 status = "okay"; 809 status = "okay"; 810 }; 810 }; 811 811 812 &gfx { 812 &gfx { 813 status = "okay"; 813 status = "okay"; 814 memory-region = <&gfx_memory>; 814 memory-region = <&gfx_memory>; 815 }; 815 }; 816 816 >> 817 &pinctrl { >> 818 aspeed,external-nodes = <&gfx &lhc>; >> 819 }; >> 820 817 &wdt1 { 821 &wdt1 { 818 aspeed,reset-type = "none"; 822 aspeed,reset-type = "none"; 819 aspeed,external-signal; 823 aspeed,external-signal; 820 aspeed,ext-push-pull; 824 aspeed,ext-push-pull; 821 aspeed,ext-active-high; 825 aspeed,ext-active-high; 822 826 823 pinctrl-names = "default"; 827 pinctrl-names = "default"; 824 pinctrl-0 = <&pinctrl_wdtrst1_default> 828 pinctrl-0 = <&pinctrl_wdtrst1_default>; 825 }; 829 }; 826 830 827 &ibt { 831 &ibt { 828 status = "okay"; 832 status = "okay"; 829 833 830 }; 834 }; 831 835 832 &adc { 836 &adc { 833 status = "okay"; 837 status = "okay"; 834 pinctrl-names = "default"; 838 pinctrl-names = "default"; 835 pinctrl-0 = <&pinctrl_adc0_default &pi 839 pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default 836 &pinctrl_adc2_default &pinctrl_adc3_d 840 &pinctrl_adc2_default &pinctrl_adc3_default &pinctrl_adc4_default 837 &pinctrl_adc5_default &pinctrl_adc6_d 841 &pinctrl_adc5_default &pinctrl_adc6_default &pinctrl_adc7_default 838 &pinctrl_adc8_default &pinctrl_adc9_d 842 &pinctrl_adc8_default &pinctrl_adc9_default &pinctrl_adc10_default 839 &pinctrl_adc11_default &pinctrl_adc12 843 &pinctrl_adc11_default &pinctrl_adc12_default &pinctrl_adc13_default 840 &pinctrl_adc14_default &pinctrl_adc15 844 &pinctrl_adc14_default &pinctrl_adc15_default>; 841 }; 845 }; 842 846 843 &vhub { 847 &vhub { 844 status = "okay"; 848 status = "okay"; 845 }; 849 }; 846 850 847 &video { 851 &video { 848 status = "okay"; 852 status = "okay"; 849 memory-region = <&video_engine_memory> 853 memory-region = <&video_engine_memory>; 850 }; 854 }; 851 855 852 &pwm_tacho { 856 &pwm_tacho { 853 status = "okay"; 857 status = "okay"; 854 pinctrl-names = "default"; 858 pinctrl-names = "default"; 855 pinctrl-0 = <&pinctrl_pwm0_default &pi 859 pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default 856 &pinctrl_pwm2_default &pinctrl 860 &pinctrl_pwm2_default &pinctrl_pwm3_default 857 &pinctrl_pwm4_default &pinctrl 861 &pinctrl_pwm4_default &pinctrl_pwm5_default 858 &pinctrl_pwm6_default &pinctrl 862 &pinctrl_pwm6_default &pinctrl_pwm7_default>; 859 863 860 fan@0 { 864 fan@0 { 861 reg = <0x00>; 865 reg = <0x00>; 862 aspeed,fan-tach-ch = /bits/ 8 866 aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>; 863 }; 867 }; 864 868 865 fan@1 { 869 fan@1 { 866 reg = <0x01>; 870 reg = <0x01>; 867 aspeed,fan-tach-ch = /bits/ 8 871 aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>; 868 }; 872 }; 869 873 870 fan@2 { 874 fan@2 { 871 reg = <0x02>; 875 reg = <0x02>; 872 aspeed,fan-tach-ch = /bits/ 8 876 aspeed,fan-tach-ch = /bits/ 8 <0x04 0x05>; 873 }; 877 }; 874 878 875 fan@3 { 879 fan@3 { 876 reg = <0x03>; 880 reg = <0x03>; 877 aspeed,fan-tach-ch = /bits/ 8 881 aspeed,fan-tach-ch = /bits/ 8 <0x06 0x07>; 878 }; 882 }; 879 883 880 fan@4 { 884 fan@4 { 881 reg = <0x04>; 885 reg = <0x04>; 882 aspeed,fan-tach-ch = /bits/ 8 886 aspeed,fan-tach-ch = /bits/ 8 <0x08 0x09>; 883 }; 887 }; 884 888 885 fan@5 { 889 fan@5 { 886 reg = <0x05>; 890 reg = <0x05>; 887 aspeed,fan-tach-ch = /bits/ 8 891 aspeed,fan-tach-ch = /bits/ 8 <0x0a 0x0b>; 888 }; 892 }; 889 893 890 fan@6 { 894 fan@6 { 891 reg = <0x06>; 895 reg = <0x06>; 892 aspeed,fan-tach-ch = /bits/ 8 896 aspeed,fan-tach-ch = /bits/ 8 <0x0c 0x0d>; 893 }; 897 }; 894 898 895 fan@7 { 899 fan@7 { 896 reg = <0x07>; 900 reg = <0x07>; 897 aspeed,fan-tach-ch = /bits/ 8 901 aspeed,fan-tach-ch = /bits/ 8 <0x0e 0x0f>; 898 }; 902 }; 899 903 900 }; 904 }; 901 905 902 &kcs3 { 906 &kcs3 { 903 status = "okay"; 907 status = "okay"; 904 aspeed,lpc-io-reg = <0xca2>; 908 aspeed,lpc-io-reg = <0xca2>; 905 aspeed,lpc-interrupts = <11 IRQ_TYPE_L 909 aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>; 906 }; 910 }; 907 911 908 #include "ibm-power9-dual.dtsi" 912 #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.