1bb3776e5SPeter Yin// SPDX-License-Identifier: GPL-2.0-or-later 2bb3776e5SPeter Yin// Copyright 2023 Facebook Inc. 3bb3776e5SPeter Yin 4bb3776e5SPeter Yin/dts-v1/; 5bb3776e5SPeter Yin#include "aspeed-g6.dtsi" 6bb3776e5SPeter Yin#include <dt-bindings/gpio/aspeed-gpio.h> 7bb3776e5SPeter Yin#include <dt-bindings/i2c/i2c.h> 8bb3776e5SPeter Yin 9bb3776e5SPeter Yin/ { 10bb3776e5SPeter Yin model = "Facebook Harma"; 11bb3776e5SPeter Yin compatible = "facebook,harma-bmc", "aspeed,ast2600"; 12bb3776e5SPeter Yin 13bb3776e5SPeter Yin aliases { 14bb3776e5SPeter Yin serial0 = &uart1; 15d965bbe6SPeter Yin serial1 = &uart2; 16d965bbe6SPeter Yin serial2 = &uart4; 17bb3776e5SPeter Yin serial4 = &uart5; 18bb3776e5SPeter Yin 19bb3776e5SPeter Yin i2c20 = &imux20; 20bb3776e5SPeter Yin i2c21 = &imux21; 21bb3776e5SPeter Yin i2c22 = &imux22; 22bb3776e5SPeter Yin i2c23 = &imux23; 23bb3776e5SPeter Yin i2c28 = &imux28; 24bb3776e5SPeter Yin i2c29 = &imux29; 25bb3776e5SPeter Yin i2c30 = &imux30; 26bb3776e5SPeter Yin i2c31 = &imux31; 273042a7e5SPeter Yin 283042a7e5SPeter Yin spi1 = &spi_gpio; 29bb3776e5SPeter Yin }; 30bb3776e5SPeter Yin 31bb3776e5SPeter Yin chosen { 32bb3776e5SPeter Yin stdout-path = &uart5; 33bb3776e5SPeter Yin }; 34bb3776e5SPeter Yin 35bb3776e5SPeter Yin memory@80000000 { 36bb3776e5SPeter Yin device_type = "memory"; 37bb3776e5SPeter Yin reg = <0x80000000 0x80000000>; 38bb3776e5SPeter Yin }; 39bb3776e5SPeter Yin 40bb3776e5SPeter Yin iio-hwmon { 41bb3776e5SPeter Yin compatible = "iio-hwmon"; 42bb3776e5SPeter Yin io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>, 43bb3776e5SPeter Yin <&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>, 44bb3776e5SPeter Yin <&adc1 2>; 45bb3776e5SPeter Yin }; 46bb3776e5SPeter Yin 47bb3776e5SPeter Yin leds { 48bb3776e5SPeter Yin compatible = "gpio-leds"; 49bb3776e5SPeter Yin 50bb3776e5SPeter Yin led-0 { 51bb3776e5SPeter Yin label = "bmc_heartbeat_amber"; 52bb3776e5SPeter Yin gpios = <&gpio0 ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>; 53bb3776e5SPeter Yin linux,default-trigger = "heartbeat"; 54bb3776e5SPeter Yin }; 55bb3776e5SPeter Yin 56bb3776e5SPeter Yin led-1 { 57bb3776e5SPeter Yin label = "fp_id_amber"; 58bb3776e5SPeter Yin default-state = "off"; 59bb3776e5SPeter Yin gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; 60bb3776e5SPeter Yin }; 61bb3776e5SPeter Yin 62bb3776e5SPeter Yin led-2 { 63bb3776e5SPeter Yin label = "power_blue"; 64bb3776e5SPeter Yin default-state = "off"; 65bb3776e5SPeter Yin gpios = <&gpio0 124 GPIO_ACTIVE_HIGH>; 66bb3776e5SPeter Yin }; 67bb3776e5SPeter Yin }; 683042a7e5SPeter Yin 69*7fa11184SPeter Yin spi_gpio: spi { 703042a7e5SPeter Yin status = "okay"; 713042a7e5SPeter Yin compatible = "spi-gpio"; 723042a7e5SPeter Yin #address-cells = <1>; 733042a7e5SPeter Yin #size-cells = <0>; 743042a7e5SPeter Yin 75*7fa11184SPeter Yin sck-gpios = <&gpio0 ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>; 76*7fa11184SPeter Yin mosi-gpios = <&gpio0 ASPEED_GPIO(Z, 4) GPIO_ACTIVE_HIGH>; 77*7fa11184SPeter Yin miso-gpios = <&gpio0 ASPEED_GPIO(Z, 5) GPIO_ACTIVE_HIGH>; 783042a7e5SPeter Yin num-chipselects = <1>; 793042a7e5SPeter Yin cs-gpios = <&gpio0 ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>; 803042a7e5SPeter Yin 81*7fa11184SPeter Yin tpm@0 { 823042a7e5SPeter Yin compatible = "infineon,slb9670", "tcg,tpm_tis-spi"; 833042a7e5SPeter Yin spi-max-frequency = <33000000>; 843042a7e5SPeter Yin reg = <0>; 853042a7e5SPeter Yin }; 863042a7e5SPeter Yin }; 87bb3776e5SPeter Yin}; 88bb3776e5SPeter Yin 89bb3776e5SPeter Yin// HOST BIOS Debug 90bb3776e5SPeter Yin&uart1 { 91bb3776e5SPeter Yin status = "okay"; 92bb3776e5SPeter Yin}; 93bb3776e5SPeter Yin 94bb3776e5SPeter Yin// SOL Host Console 95bb3776e5SPeter Yin&uart2 { 96bb3776e5SPeter Yin status = "okay"; 97bb3776e5SPeter Yin pinctrl-0 = <>; 98bb3776e5SPeter Yin}; 99bb3776e5SPeter Yin 100bb3776e5SPeter Yin// SOL BMC Console 101bb3776e5SPeter Yin&uart4 { 102bb3776e5SPeter Yin status = "okay"; 103bb3776e5SPeter Yin pinctrl-0 = <>; 104bb3776e5SPeter Yin}; 105bb3776e5SPeter Yin 106bb3776e5SPeter Yin// BMC Debug Console 107bb3776e5SPeter Yin&uart5 { 108bb3776e5SPeter Yin status = "okay"; 109bb3776e5SPeter Yin}; 110bb3776e5SPeter Yin 111bb3776e5SPeter Yin// MTIA 112bb3776e5SPeter Yin&uart6 { 113bb3776e5SPeter Yin status = "okay"; 114bb3776e5SPeter Yin}; 115bb3776e5SPeter Yin 116bb3776e5SPeter Yin&uart_routing { 117bb3776e5SPeter Yin status = "okay"; 118bb3776e5SPeter Yin}; 119bb3776e5SPeter Yin 120bb3776e5SPeter Yin&wdt1 { 121bb3776e5SPeter Yin status = "okay"; 122bb3776e5SPeter Yin pinctrl-names = "default"; 123bb3776e5SPeter Yin pinctrl-0 = <&pinctrl_wdtrst1_default>; 124bb3776e5SPeter Yin aspeed,reset-type = "soc"; 125bb3776e5SPeter Yin aspeed,external-signal; 126bb3776e5SPeter Yin aspeed,ext-push-pull; 127bb3776e5SPeter Yin aspeed,ext-active-high; 128bb3776e5SPeter Yin aspeed,ext-pulse-duration = <256>; 129bb3776e5SPeter Yin}; 130bb3776e5SPeter Yin 131bb3776e5SPeter Yin&mac3 { 132bb3776e5SPeter Yin status = "okay"; 133bb3776e5SPeter Yin pinctrl-names = "default"; 134bb3776e5SPeter Yin pinctrl-0 = <&pinctrl_rmii4_default>; 135bb3776e5SPeter Yin use-ncsi; 136bb3776e5SPeter Yin}; 137bb3776e5SPeter Yin 138bb3776e5SPeter Yin&rtc { 139bb3776e5SPeter Yin status = "okay"; 140bb3776e5SPeter Yin}; 141bb3776e5SPeter Yin 142bb3776e5SPeter Yin&fmc { 143bb3776e5SPeter Yin status = "okay"; 144bb3776e5SPeter Yin 145bb3776e5SPeter Yin flash@0 { 146bb3776e5SPeter Yin status = "okay"; 147bb3776e5SPeter Yin m25p,fast-read; 148bb3776e5SPeter Yin label = "bmc"; 149bb3776e5SPeter Yin spi-max-frequency = <50000000>; 150bb3776e5SPeter Yin#include "openbmc-flash-layout-128.dtsi" 151bb3776e5SPeter Yin }; 152bb3776e5SPeter Yin 153bb3776e5SPeter Yin flash@1 { 154bb3776e5SPeter Yin status = "okay"; 155bb3776e5SPeter Yin m25p,fast-read; 156bb3776e5SPeter Yin label = "alt-bmc"; 157bb3776e5SPeter Yin spi-max-frequency = <50000000>; 158bb3776e5SPeter Yin }; 159bb3776e5SPeter Yin}; 160bb3776e5SPeter Yin 161bb3776e5SPeter Yin// BIOS Flash 162bb3776e5SPeter Yin&spi2 { 163bb3776e5SPeter Yin status = "okay"; 164bb3776e5SPeter Yin pinctrl-names = "default"; 165bb3776e5SPeter Yin pinctrl-0 = <&pinctrl_spi2_default>; 166bb3776e5SPeter Yin 167bb3776e5SPeter Yin flash@0 { 168bb3776e5SPeter Yin status = "okay"; 169bb3776e5SPeter Yin m25p,fast-read; 170bb3776e5SPeter Yin label = "pnor"; 171bb3776e5SPeter Yin spi-max-frequency = <12000000>; 172bb3776e5SPeter Yin spi-tx-bus-width = <2>; 173bb3776e5SPeter Yin spi-rx-bus-width = <2>; 174bb3776e5SPeter Yin }; 175bb3776e5SPeter Yin}; 176bb3776e5SPeter Yin 177bb3776e5SPeter Yin&kcs2 { 178bb3776e5SPeter Yin status = "okay"; 179bb3776e5SPeter Yin aspeed,lpc-io-reg = <0xca8>; 180bb3776e5SPeter Yin}; 181bb3776e5SPeter Yin 182bb3776e5SPeter Yin&kcs3 { 183bb3776e5SPeter Yin status = "okay"; 184bb3776e5SPeter Yin aspeed,lpc-io-reg = <0xca2>; 185bb3776e5SPeter Yin}; 186bb3776e5SPeter Yin 187bb3776e5SPeter Yin&i2c0 { 188bb3776e5SPeter Yin status = "okay"; 189bb3776e5SPeter Yin 1904187ccb5SPeter Yin pwm@5e{ 191bb3776e5SPeter Yin compatible = "max31790"; 1927b55cf23SPeter Yin reg = <0x5e>; 193bb3776e5SPeter Yin #address-cells = <1>; 194bb3776e5SPeter Yin #size-cells = <0>; 195bb3776e5SPeter Yin }; 1967d059701SPeter Yin 1977d059701SPeter Yin power-sensor@40 { 1987d059701SPeter Yin compatible = "ti,ina238"; 1997d059701SPeter Yin reg = <0x40>; 2007d059701SPeter Yin shunt-resistor = <1000>; 2017d059701SPeter Yin }; 2027d059701SPeter Yin 2037d059701SPeter Yin power-sensor@41 { 2047d059701SPeter Yin compatible = "ti,ina238"; 2057d059701SPeter Yin reg = <0x41>; 2067d059701SPeter Yin shunt-resistor = <1000>; 2077d059701SPeter Yin }; 2087d059701SPeter Yin 2097d059701SPeter Yin power-sensor@44 { 2107d059701SPeter Yin compatible = "ti,ina238"; 2117d059701SPeter Yin reg = <0x44>; 2127d059701SPeter Yin shunt-resistor = <1000>; 2137d059701SPeter Yin }; 2147d059701SPeter Yin 2157d059701SPeter Yin power-sensor@45 { 2167d059701SPeter Yin compatible = "ti,ina238"; 2177d059701SPeter Yin reg = <0x45>; 2187d059701SPeter Yin shunt-resistor = <1000>; 2197d059701SPeter Yin }; 22043a688a9SPeter Yin 22143a688a9SPeter Yin temperature-sensor@4b { 22243a688a9SPeter Yin compatible = "ti,tmp75"; 22343a688a9SPeter Yin reg = <0x4b>; 22443a688a9SPeter Yin }; 225bb3776e5SPeter Yin}; 226bb3776e5SPeter Yin 227bb3776e5SPeter Yin&i2c1 { 228bb3776e5SPeter Yin status = "okay"; 229bb3776e5SPeter Yin 230645f9eb1SPeter Yin temperature-sensor@4b { 231bb3776e5SPeter Yin compatible = "ti,tmp75"; 232bb3776e5SPeter Yin reg = <0x4b>; 233bb3776e5SPeter Yin }; 2340a6821e2SPeter Yin 2350a6821e2SPeter Yin // MB NIC FRU 2360a6821e2SPeter Yin eeprom@50 { 2370a6821e2SPeter Yin compatible = "atmel,24c64"; 2380a6821e2SPeter Yin reg = <0x50>; 2390a6821e2SPeter Yin }; 240bb3776e5SPeter Yin}; 241bb3776e5SPeter Yin 242bb3776e5SPeter Yin&i2c2 { 243bb3776e5SPeter Yin status = "okay"; 244bb3776e5SPeter Yin 2454187ccb5SPeter Yin pwm@5e{ 246bb3776e5SPeter Yin compatible = "max31790"; 2477b55cf23SPeter Yin reg = <0x5e>; 248bb3776e5SPeter Yin #address-cells = <1>; 249bb3776e5SPeter Yin #size-cells = <0>; 250bb3776e5SPeter Yin }; 2517d059701SPeter Yin 2527d059701SPeter Yin power-sensor@40 { 2537d059701SPeter Yin compatible = "ti,ina238"; 2547d059701SPeter Yin reg = <0x40>; 2557d059701SPeter Yin shunt-resistor = <1000>; 2567d059701SPeter Yin }; 2577d059701SPeter Yin 2587d059701SPeter Yin power-sensor@41 { 2597d059701SPeter Yin compatible = "ti,ina238"; 2607d059701SPeter Yin reg = <0x41>; 2617d059701SPeter Yin shunt-resistor = <1000>; 2627d059701SPeter Yin }; 2637d059701SPeter Yin 2647d059701SPeter Yin power-sensor@44 { 2657d059701SPeter Yin compatible = "ti,ina238"; 2667d059701SPeter Yin reg = <0x44>; 2677d059701SPeter Yin shunt-resistor = <1000>; 2687d059701SPeter Yin }; 2697d059701SPeter Yin 2707d059701SPeter Yin power-sensor@45 { 2717d059701SPeter Yin compatible = "ti,ina238"; 2727d059701SPeter Yin reg = <0x45>; 2737d059701SPeter Yin shunt-resistor = <1000>; 2747d059701SPeter Yin }; 27543a688a9SPeter Yin 27643a688a9SPeter Yin temperature-sensor@4b { 27743a688a9SPeter Yin compatible = "ti,tmp75"; 27843a688a9SPeter Yin reg = <0x4b>; 27943a688a9SPeter Yin }; 280bb3776e5SPeter Yin}; 281bb3776e5SPeter Yin 282bb3776e5SPeter Yin&i2c3 { 283bb3776e5SPeter Yin status = "okay"; 284bb3776e5SPeter Yin 285bb3776e5SPeter Yin i2c-mux@70 { 286bb3776e5SPeter Yin compatible = "nxp,pca9543"; 287bb3776e5SPeter Yin reg = <0x70>; 288bb3776e5SPeter Yin #address-cells = <1>; 289bb3776e5SPeter Yin #size-cells = <0>; 290bb3776e5SPeter Yin 291bb3776e5SPeter Yin imux20: i2c@0 { 292bb3776e5SPeter Yin #address-cells = <1>; 293bb3776e5SPeter Yin #size-cells = <0>; 294bb3776e5SPeter Yin reg = <0>; 295bb3776e5SPeter Yin //Retimer Flash 296bb3776e5SPeter Yin eeprom@50 { 297bb3776e5SPeter Yin compatible = "atmel,24c2048"; 298bb3776e5SPeter Yin reg = <0x50>; 299bb3776e5SPeter Yin pagesize = <128>; 300bb3776e5SPeter Yin }; 301bb3776e5SPeter Yin }; 302bb3776e5SPeter Yin imux21: i2c@1 { 303bb3776e5SPeter Yin #address-cells = <1>; 304bb3776e5SPeter Yin #size-cells = <0>; 305bb3776e5SPeter Yin reg = <1>; 306287ba28aSPeter Yin retimer@24 { 307287ba28aSPeter Yin compatible = "asteralabs,pt5161l"; 308287ba28aSPeter Yin reg = <0x24>; 309287ba28aSPeter Yin }; 310bb3776e5SPeter Yin }; 311bb3776e5SPeter Yin }; 312bb3776e5SPeter Yin}; 313bb3776e5SPeter Yin 314bb3776e5SPeter Yin&i2c4 { 315bb3776e5SPeter Yin status = "okay"; 316bb3776e5SPeter Yin // PDB FRU 317bb3776e5SPeter Yin eeprom@52 { 318bb3776e5SPeter Yin compatible = "atmel,24c64"; 319bb3776e5SPeter Yin reg = <0x52>; 320bb3776e5SPeter Yin }; 321bb3776e5SPeter Yin 3224187ccb5SPeter Yin power-monitor@69 { 323bb3776e5SPeter Yin compatible = "pmbus"; 324bb3776e5SPeter Yin reg = <0x69>; 325bb3776e5SPeter Yin }; 326645f9eb1SPeter Yin 327645f9eb1SPeter Yin temperature-sensor@49 { 328645f9eb1SPeter Yin compatible = "ti,tmp75"; 329645f9eb1SPeter Yin reg = <0x49>; 330645f9eb1SPeter Yin }; 331fc2891c7SPeter Yin 33216d66710SPeter Yin power-monitor@44 { 33316d66710SPeter Yin compatible = "lltc,ltc4287"; 33416d66710SPeter Yin reg = <0x44>; 33516d66710SPeter Yin shunt-resistor-micro-ohms = <250>; 336fc2891c7SPeter Yin }; 337f0ad6cc9SPeter Yin 338f0ad6cc9SPeter Yin power-monitor@40 { 339f0ad6cc9SPeter Yin compatible = "infineon,xdp710"; 340f0ad6cc9SPeter Yin reg = <0x40>; 341f0ad6cc9SPeter Yin }; 342bb3776e5SPeter Yin}; 343bb3776e5SPeter Yin 344bb3776e5SPeter Yin&i2c5 { 345bb3776e5SPeter Yin status = "okay"; 346bb3776e5SPeter Yin}; 347bb3776e5SPeter Yin 348bb3776e5SPeter Yin&i2c6 { 349bb3776e5SPeter Yin status = "okay"; 350bb3776e5SPeter Yin 351bb3776e5SPeter Yin i2c-mux@70 { 352bb3776e5SPeter Yin compatible = "nxp,pca9543"; 353bb3776e5SPeter Yin reg = <0x70>; 354bb3776e5SPeter Yin #address-cells = <1>; 355bb3776e5SPeter Yin #size-cells = <0>; 356bb3776e5SPeter Yin 357bb3776e5SPeter Yin imux22: i2c@0 { 358bb3776e5SPeter Yin #address-cells = <1>; 359bb3776e5SPeter Yin #size-cells = <0>; 360bb3776e5SPeter Yin reg = <0>; 361bb3776e5SPeter Yin }; 362bb3776e5SPeter Yin imux23: i2c@1 { 363bb3776e5SPeter Yin #address-cells = <1>; 364bb3776e5SPeter Yin #size-cells = <0>; 365bb3776e5SPeter Yin reg = <1>; 366bb3776e5SPeter Yin }; 367bb3776e5SPeter Yin }; 368bb3776e5SPeter Yin}; 369bb3776e5SPeter Yin 370bb3776e5SPeter Yin&i2c7 { 371bb3776e5SPeter Yin status = "okay"; 372bb3776e5SPeter Yin}; 373bb3776e5SPeter Yin 374bb3776e5SPeter Yin&i2c8 { 375bb3776e5SPeter Yin status = "okay"; 376bb3776e5SPeter Yin}; 377bb3776e5SPeter Yin 378bb3776e5SPeter Yin&i2c9 { 379bb3776e5SPeter Yin status = "okay"; 380bb3776e5SPeter Yin 381c8d75c18SPeter Yin mctp-controller; 382c8d75c18SPeter Yin multi-master; 383c8d75c18SPeter Yin 384c8d75c18SPeter Yin mctp@10 { 385c8d75c18SPeter Yin compatible = "mctp-i2c-controller"; 386c8d75c18SPeter Yin reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; 387c8d75c18SPeter Yin }; 388c8d75c18SPeter Yin 389bb3776e5SPeter Yin gpio@30 { 390bb3776e5SPeter Yin compatible = "nxp,pca9555"; 391bb3776e5SPeter Yin reg = <0x30>; 392bb3776e5SPeter Yin gpio-controller; 393bb3776e5SPeter Yin #gpio-cells = <2>; 394bb3776e5SPeter Yin }; 395bb3776e5SPeter Yin gpio@31 { 396bb3776e5SPeter Yin compatible = "nxp,pca9555"; 397bb3776e5SPeter Yin reg = <0x31>; 398bb3776e5SPeter Yin gpio-controller; 399bb3776e5SPeter Yin #gpio-cells = <2>; 4004424cd4dSPeter Yin 4014424cd4dSPeter Yin gpio-line-names = 4024424cd4dSPeter Yin "","","","", 4034424cd4dSPeter Yin "","","presence-cmm","", 4044424cd4dSPeter Yin "","","","", 4054424cd4dSPeter Yin "","","",""; 406bb3776e5SPeter Yin }; 407bb3776e5SPeter Yin 408bb3776e5SPeter Yin // PTTV FRU 409bb3776e5SPeter Yin eeprom@52 { 410bb3776e5SPeter Yin compatible = "atmel,24c64"; 411bb3776e5SPeter Yin reg = <0x52>; 412bb3776e5SPeter Yin }; 413bb3776e5SPeter Yin}; 414bb3776e5SPeter Yin 415bb3776e5SPeter Yin&i2c11 { 416bb3776e5SPeter Yin status = "okay"; 417687d7e18SPeter Yin 418687d7e18SPeter Yin gpio@30 { 419687d7e18SPeter Yin compatible = "nxp,pca9555"; 420687d7e18SPeter Yin reg = <0x30>; 421687d7e18SPeter Yin gpio-controller; 422687d7e18SPeter Yin #gpio-cells = <2>; 423687d7e18SPeter Yin }; 424687d7e18SPeter Yin gpio@31 { 425687d7e18SPeter Yin compatible = "nxp,pca9555"; 426687d7e18SPeter Yin reg = <0x31>; 427687d7e18SPeter Yin gpio-controller; 428687d7e18SPeter Yin #gpio-cells = <2>; 429687d7e18SPeter Yin 430687d7e18SPeter Yin gpio-line-names = 431687d7e18SPeter Yin "","","","", 432687d7e18SPeter Yin "","","presence-cmm","", 433687d7e18SPeter Yin "","","","", 434687d7e18SPeter Yin "","","",""; 435687d7e18SPeter Yin }; 436687d7e18SPeter Yin 437687d7e18SPeter Yin // Aegis FRU 438687d7e18SPeter Yin eeprom@52 { 439687d7e18SPeter Yin compatible = "atmel,24c64"; 440687d7e18SPeter Yin reg = <0x52>; 441687d7e18SPeter Yin }; 442bb3776e5SPeter Yin}; 443bb3776e5SPeter Yin 444bb3776e5SPeter Yin&i2c12 { 445bb3776e5SPeter Yin status = "okay"; 446287ba28aSPeter Yin retimer@24 { 447287ba28aSPeter Yin compatible = "asteralabs,pt5161l"; 448287ba28aSPeter Yin reg = <0x24>; 449287ba28aSPeter Yin }; 450bb3776e5SPeter Yin}; 451bb3776e5SPeter Yin 452bb3776e5SPeter Yin&i2c13 { 453bb3776e5SPeter Yin status = "okay"; 454bb3776e5SPeter Yin 455bb3776e5SPeter Yin i2c-mux@70 { 456bb3776e5SPeter Yin compatible = "nxp,pca9545"; 457bb3776e5SPeter Yin reg = <0x70>; 458bb3776e5SPeter Yin #address-cells = <1>; 459bb3776e5SPeter Yin #size-cells = <0>; 460bb3776e5SPeter Yin 461bb3776e5SPeter Yin imux28: i2c@0 { 462bb3776e5SPeter Yin #address-cells = <1>; 463bb3776e5SPeter Yin #size-cells = <0>; 464bb3776e5SPeter Yin reg = <0>; 465b44b6e3fSPeter Yin power-monitor@61 { 466b44b6e3fSPeter Yin compatible = "isil,isl69260"; 467b44b6e3fSPeter Yin reg = <0x61>; 468b44b6e3fSPeter Yin }; 469b44b6e3fSPeter Yin power-monitor@62 { 470b44b6e3fSPeter Yin compatible = "isil,isl69260"; 471b44b6e3fSPeter Yin reg = <0x62>; 472b44b6e3fSPeter Yin }; 473b44b6e3fSPeter Yin power-monitor@63 { 474b44b6e3fSPeter Yin compatible = "isil,isl69260"; 475b44b6e3fSPeter Yin reg = <0x63>; 476b44b6e3fSPeter Yin }; 477b44b6e3fSPeter Yin power-monitor@64 { 478b44b6e3fSPeter Yin compatible = "infineon,xdpe152c4"; 479b44b6e3fSPeter Yin reg = <0x64>; 480b44b6e3fSPeter Yin }; 481b44b6e3fSPeter Yin power-monitor@66 { 482b44b6e3fSPeter Yin compatible = "infineon,xdpe152c4"; 483b44b6e3fSPeter Yin reg = <0x66>; 484b44b6e3fSPeter Yin }; 485b44b6e3fSPeter Yin power-monitor@68 { 486b44b6e3fSPeter Yin compatible = "infineon,xdpe152c4"; 487b44b6e3fSPeter Yin reg = <0x68>; 488b44b6e3fSPeter Yin }; 489bb3776e5SPeter Yin }; 490bb3776e5SPeter Yin imux29: i2c@1 { 491bb3776e5SPeter Yin #address-cells = <1>; 492bb3776e5SPeter Yin #size-cells = <0>; 493bb3776e5SPeter Yin reg = <1>; 494bb3776e5SPeter Yin //MB FRU 495bb3776e5SPeter Yin eeprom@54 { 496bb3776e5SPeter Yin compatible = "atmel,24c64"; 497bb3776e5SPeter Yin reg = <0x54>; 498bb3776e5SPeter Yin }; 499bb3776e5SPeter Yin }; 500bb3776e5SPeter Yin imux30: i2c@2 { 501bb3776e5SPeter Yin #address-cells = <1>; 502bb3776e5SPeter Yin #size-cells = <0>; 503bb3776e5SPeter Yin reg = <2>; 504bb3776e5SPeter Yin }; 505bb3776e5SPeter Yin imux31: i2c@3 { 506bb3776e5SPeter Yin #address-cells = <1>; 507bb3776e5SPeter Yin #size-cells = <0>; 508bb3776e5SPeter Yin reg = <3>; 509bb3776e5SPeter Yin }; 510bb3776e5SPeter Yin }; 511bb3776e5SPeter Yin}; 512bb3776e5SPeter Yin 513bb3776e5SPeter Yin// To Debug card 514bb3776e5SPeter Yin&i2c14 { 515bb3776e5SPeter Yin status = "okay"; 516bb3776e5SPeter Yin multi-master; 517bb3776e5SPeter Yin 518bb3776e5SPeter Yin ipmb@10 { 519bb3776e5SPeter Yin compatible = "ipmb-dev"; 520bb3776e5SPeter Yin reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; 521bb3776e5SPeter Yin i2c-protocol; 522bb3776e5SPeter Yin }; 523bb3776e5SPeter Yin}; 524bb3776e5SPeter Yin 525bb3776e5SPeter Yin&i2c15 { 526bb3776e5SPeter Yin status = "okay"; 527bb3776e5SPeter Yin 528bb3776e5SPeter Yin // SCM FRU 529bb3776e5SPeter Yin eeprom@50 { 530bb3776e5SPeter Yin compatible = "atmel,24c64"; 531bb3776e5SPeter Yin reg = <0x50>; 532bb3776e5SPeter Yin }; 533bb3776e5SPeter Yin 534bb3776e5SPeter Yin // BSM FRU 535bb3776e5SPeter Yin eeprom@56 { 536bb3776e5SPeter Yin compatible = "atmel,24c64"; 537bb3776e5SPeter Yin reg = <0x56>; 538bb3776e5SPeter Yin }; 539bb3776e5SPeter Yin}; 540bb3776e5SPeter Yin 541bb3776e5SPeter Yin&adc0 { 542bb3776e5SPeter Yin aspeed,int-vref-microvolt = <2500000>; 543bb3776e5SPeter Yin status = "okay"; 544bb3776e5SPeter Yin pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default 545bb3776e5SPeter Yin &pinctrl_adc2_default &pinctrl_adc3_default 546bb3776e5SPeter Yin &pinctrl_adc4_default &pinctrl_adc5_default 547bb3776e5SPeter Yin &pinctrl_adc6_default &pinctrl_adc7_default>; 548bb3776e5SPeter Yin}; 549bb3776e5SPeter Yin 550bb3776e5SPeter Yin&adc1 { 551bb3776e5SPeter Yin aspeed,int-vref-microvolt = <2500000>; 552bb3776e5SPeter Yin status = "okay"; 553bb3776e5SPeter Yin pinctrl-names = "default"; 554bb3776e5SPeter Yin pinctrl-0 = <&pinctrl_adc10_default>; 555bb3776e5SPeter Yin}; 556bb3776e5SPeter Yin 557bb3776e5SPeter Yin&ehci0 { 558bb3776e5SPeter Yin status = "okay"; 559bb3776e5SPeter Yin}; 560bb3776e5SPeter Yin 561bb3776e5SPeter Yin&gpio0 { 562bb3776e5SPeter Yin pinctrl-names = "default"; 563bb3776e5SPeter Yin gpio-line-names = 564bb3776e5SPeter Yin /*A0-A7*/ "","","","","","","","", 565bb3776e5SPeter Yin /*B0-B7*/ "","","","", 566bb3776e5SPeter Yin "bmc-spi-mux-select-0","led-identify","","", 5674424cd4dSPeter Yin /*C0-C7*/ "reset-cause-platrst","","","","", 5684424cd4dSPeter Yin "cpu0-err-alert","","", 569bb3776e5SPeter Yin /*D0-D7*/ "","","sol-uart-select","","","","","", 570bb3776e5SPeter Yin /*E0-E7*/ "","","","","","","","", 571bb3776e5SPeter Yin /*F0-F7*/ "","","","","","","","", 572bb3776e5SPeter Yin /*G0-G7*/ "","","","","","","","", 573bb3776e5SPeter Yin /*H0-H7*/ "","","","","","","","", 574bb3776e5SPeter Yin /*I0-I7*/ "","","","","","","","", 575bb3776e5SPeter Yin /*J0-J7*/ "","","","","","","","", 576bb3776e5SPeter Yin /*K0-K7*/ "","","","","","","","", 5774424cd4dSPeter Yin /*L0-L7*/ "","","","", 5784424cd4dSPeter Yin "leakage-detect-alert","","","", 579bb3776e5SPeter Yin /*M0-M7*/ "","","","","","","","", 580bb3776e5SPeter Yin /*N0-N7*/ "led-postcode-0","led-postcode-1", 581bb3776e5SPeter Yin "led-postcode-2","led-postcode-3", 582bb3776e5SPeter Yin "led-postcode-4","led-postcode-5", 583bb3776e5SPeter Yin "led-postcode-6","led-postcode-7", 584bb3776e5SPeter Yin /*O0-O7*/ "","","","","","","","", 585bb3776e5SPeter Yin /*P0-P7*/ "power-button","power-host-control", 586bb3776e5SPeter Yin "reset-button","","led-power","","","", 587aeebc5a4SPeter Yin /*Q0-Q7*/ "","","","","","power-chassis-control","","", 588bb3776e5SPeter Yin /*R0-R7*/ "","","","","","","","", 589bb3776e5SPeter Yin /*S0-S7*/ "","","","","","","","", 590bb3776e5SPeter Yin /*T0-T7*/ "","","","","","","","", 591bb3776e5SPeter Yin /*U0-U7*/ "","","","","","","led-identify-gate","", 592bb3776e5SPeter Yin /*V0-V7*/ "","","","", 593aeebc5a4SPeter Yin "rtc-battery-voltage-read-enable","", 594aeebc5a4SPeter Yin "power-chassis-good","", 595bb3776e5SPeter Yin /*W0-W7*/ "","","","","","","","", 596bb3776e5SPeter Yin /*X0-X7*/ "","","","","","","","", 597bb3776e5SPeter Yin /*Y0-Y7*/ "","","","","","","","", 5984424cd4dSPeter Yin /*Z0-Z7*/ "","","","","","","presence-post-card",""; 5994424cd4dSPeter Yin}; 6004424cd4dSPeter Yin 6014424cd4dSPeter Yin&gpio1 { 6024424cd4dSPeter Yin gpio-line-names = 6034424cd4dSPeter Yin /*18A0-18A7*/ "ac-power-button","","","","","","","", 6044424cd4dSPeter Yin /*18B0-18B7*/ "","","","","","","","", 6054424cd4dSPeter Yin /*18C0-18C7*/ "","","","","","","","", 6064424cd4dSPeter Yin /*18D0-18D7*/ "","","","","","","","", 6074424cd4dSPeter Yin /*18E0-18E3*/ "","","","","","","",""; 608bb3776e5SPeter Yin}; 609bb3776e5SPeter Yin 610bb3776e5SPeter Yin&sgpiom0 { 611bb3776e5SPeter Yin status = "okay"; 612bb3776e5SPeter Yin ngpios = <128>; 613bb3776e5SPeter Yin bus-frequency = <2000000>; 614bb3776e5SPeter Yin gpio-line-names = 615bb3776e5SPeter Yin /*in - out - in - out */ 616bb3776e5SPeter Yin /*A0-A3 line 0-7*/ 617bb3776e5SPeter Yin "presence-scm-cable","power-config-disable-e1s-0", 618bb3776e5SPeter Yin "","", 619bb3776e5SPeter Yin "","power-config-disable-e1s-1", 620bb3776e5SPeter Yin "","", 621bb3776e5SPeter Yin /*A4-A7 line 8-15*/ 622bb3776e5SPeter Yin "","power-config-asic-module-enable", 623bb3776e5SPeter Yin "","power-config-asic-power-good", 624bb3776e5SPeter Yin "","power-config-pdb-power-good", 625bb3776e5SPeter Yin "presence-cpu","smi-control-n", 626bb3776e5SPeter Yin /*B0-B3 line 16-23*/ 627bb3776e5SPeter Yin "","nmi-control-n", 628bb3776e5SPeter Yin "","nmi-control-sync-flood-n", 629bb3776e5SPeter Yin "","", 630bb3776e5SPeter Yin "","", 631bb3776e5SPeter Yin /*B4-B7 line 24-31*/ 632bb3776e5SPeter Yin "","FM_CPU_SP5R1", 633bb3776e5SPeter Yin "reset-cause-rsmrst","FM_CPU_SP5R2", 634bb3776e5SPeter Yin "","FM_CPU_SP5R3", 635bb3776e5SPeter Yin "","FM_CPU_SP5R4", 636bb3776e5SPeter Yin /*C0-C3 line 32-39*/ 637bb3776e5SPeter Yin "","FM_CPU0_SA0", 638bb3776e5SPeter Yin "","FM_CPU0_SA1", 639bb3776e5SPeter Yin "","rt-cpu0-p0-enable", 640bb3776e5SPeter Yin "","rt-cpu0-p1-enable", 641bb3776e5SPeter Yin /*C4-C7 line 40-47*/ 642bb3776e5SPeter Yin "","smb-rt-rom-p0-select", 643bb3776e5SPeter Yin "","smb-rt-rom-p1-select", 644bb3776e5SPeter Yin "","i3c-cpu-mux0-oe-n", 645bb3776e5SPeter Yin "","i3c-cpu-mux0-select", 646bb3776e5SPeter Yin /*D0-D3 line 48-55*/ 647bb3776e5SPeter Yin "","i3c-cpu-mux1-oe-n", 648bb3776e5SPeter Yin "","i3c-cpu-mux1-select", 649bb3776e5SPeter Yin "","reset-control-bmc", 650bb3776e5SPeter Yin "","reset-control-cpu0-p0-mux", 651bb3776e5SPeter Yin /*D4-D7 line 56-63*/ 652bb3776e5SPeter Yin "","reset-control-cpu0-p1-mux", 653bb3776e5SPeter Yin "","reset-control-e1s-mux", 654bb3776e5SPeter Yin "power-host-good","reset-control-mb-mux", 6554424cd4dSPeter Yin "host0-ready","reset-control-smb-e1s-0", 656bb3776e5SPeter Yin /*E0-E3 line 64-71*/ 657a78bfc10SPeter Yin "","reset-control-smb-e1s-1", 6584424cd4dSPeter Yin "post-end-n","reset-control-srst", 659bb3776e5SPeter Yin "presence-e1s-0","reset-control-usb-hub", 660bb3776e5SPeter Yin "","reset-control", 661bb3776e5SPeter Yin /*E4-E7 line 72-79*/ 662bb3776e5SPeter Yin "presence-e1s-1","reset-control-cpu-kbrst", 663bb3776e5SPeter Yin "","reset-control-platrst", 664bb3776e5SPeter Yin "","bmc-jtag-mux-select-0", 665bb3776e5SPeter Yin "","bmc-jtag-mux-select-1", 666bb3776e5SPeter Yin /*F0-F3 line 80-87*/ 667bb3776e5SPeter Yin "","bmc-jtag-select", 668bb3776e5SPeter Yin "","bmc-ready-n", 669bb3776e5SPeter Yin "","bmc-ready-sgpio", 670bb3776e5SPeter Yin "","rt-cpu0-p0-force-enable", 671bb3776e5SPeter Yin /*F4-F7 line 88-95*/ 672bb3776e5SPeter Yin "presence-asic-modules-0","rt-cpu0-p1-force-enable", 673bb3776e5SPeter Yin "presence-asic-modules-1","bios-debug-msg-disable", 674bb3776e5SPeter Yin "","uart-control-buffer-select", 675bb3776e5SPeter Yin "","ac-control-n", 676bb3776e5SPeter Yin /*G0-G3 line 96-103*/ 677bb3776e5SPeter Yin "FM_CPU_CORETYPE2","", 678bb3776e5SPeter Yin "FM_CPU_CORETYPE1","", 679bb3776e5SPeter Yin "FM_CPU_CORETYPE0","", 680bb3776e5SPeter Yin "FM_BOARD_REV_ID5","", 681bb3776e5SPeter Yin /*G4-G7 line 104-111*/ 682bb3776e5SPeter Yin "FM_BOARD_REV_ID4","", 683bb3776e5SPeter Yin "FM_BOARD_REV_ID3","", 684bb3776e5SPeter Yin "FM_BOARD_REV_ID2","", 685bb3776e5SPeter Yin "FM_BOARD_REV_ID1","", 686bb3776e5SPeter Yin /*H0-H3 line 112-119*/ 687bb3776e5SPeter Yin "FM_BOARD_REV_ID0","", 688bb3776e5SPeter Yin "","","","","","", 689bb3776e5SPeter Yin /*H4-H7 line 120-127*/ 690bb3776e5SPeter Yin "","", 691bb3776e5SPeter Yin "reset-control-pcie-expansion-3","", 692bb3776e5SPeter Yin "reset-control-pcie-expansion-2","", 693bb3776e5SPeter Yin "reset-control-pcie-expansion-1","", 694bb3776e5SPeter Yin /*I0-I3 line 128-135*/ 695bb3776e5SPeter Yin "reset-control-pcie-expansion-0","", 696bb3776e5SPeter Yin "FM_EXP_SLOT_ID1","", 697bb3776e5SPeter Yin "FM_EXP_SLOT_ID0","", 698bb3776e5SPeter Yin "","", 699bb3776e5SPeter Yin /*I4-I7 line 136-143*/ 700bb3776e5SPeter Yin "","","","","","","","", 701bb3776e5SPeter Yin /*J0-J3 line 144-151*/ 702bb3776e5SPeter Yin "","","","","","","","", 703bb3776e5SPeter Yin /*J4-J7 line 152-159*/ 704bb3776e5SPeter Yin "SLOT_ID_BCB_0","", 705bb3776e5SPeter Yin "SLOT_ID_BCB_1","", 706bb3776e5SPeter Yin "SLOT_ID_BCB_2","", 707bb3776e5SPeter Yin "SLOT_ID_BCB_3","", 708bb3776e5SPeter Yin /*K0-K3 line 160-167*/ 7094424cd4dSPeter Yin "","","","","","","P0_I3C_APML_ALERT_L","", 710bb3776e5SPeter Yin /*K4-K7 line 168-175*/ 7114424cd4dSPeter Yin "","","","","","","irq-uv-detect-alert","", 712bb3776e5SPeter Yin /*L0-L3 line 176-183*/ 7134424cd4dSPeter Yin "irq-hsc-alert","", 7144424cd4dSPeter Yin "cpu0-prochot-alert","", 7154424cd4dSPeter Yin "cpu0-thermtrip-alert","", 7164424cd4dSPeter Yin "reset-cause-pcie","", 717bb3776e5SPeter Yin /*L4-L7 line 184-191*/ 7184424cd4dSPeter Yin "pvdd11-ocp-alert","","","","","","","", 719bb3776e5SPeter Yin /*M0-M3 line 192-199*/ 720bb3776e5SPeter Yin "","","","","","","","", 721bb3776e5SPeter Yin /*M4-M7 line 200-207*/ 722bb3776e5SPeter Yin "","","","","","","","", 723bb3776e5SPeter Yin /*N0-N3 line 208-215*/ 724bb3776e5SPeter Yin "","","","","","","","", 725bb3776e5SPeter Yin /*N4-N7 line 216-223*/ 726bb3776e5SPeter Yin "","","","","","","","", 727bb3776e5SPeter Yin /*O0-O3 line 224-231*/ 728bb3776e5SPeter Yin "","","","","","","","", 729bb3776e5SPeter Yin /*O4-O7 line 232-239*/ 730bb3776e5SPeter Yin "","","","","","","","", 731bb3776e5SPeter Yin /*P0-P3 line 240-247*/ 732bb3776e5SPeter Yin "","","","","","","","", 733bb3776e5SPeter Yin /*P4-P7 line 248-255*/ 734bb3776e5SPeter Yin "","","","","","","",""; 735bb3776e5SPeter Yin}; 736