1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0+ 2*724ba675SRob Herring// Copyright (c) 2021 Facebook Inc. 3*724ba675SRob Herring/dts-v1/; 4*724ba675SRob Herring 5*724ba675SRob Herring#include "aspeed-g6.dtsi" 6*724ba675SRob Herring#include <dt-bindings/gpio/aspeed-gpio.h> 7*724ba675SRob Herring#include <dt-bindings/usb/pd.h> 8*724ba675SRob Herring#include <dt-bindings/leds/leds-pca955x.h> 9*724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h> 10*724ba675SRob Herring#include <dt-bindings/i2c/i2c.h> 11*724ba675SRob Herring 12*724ba675SRob Herring/ { 13*724ba675SRob Herring model = "Facebook Bletchley BMC"; 14*724ba675SRob Herring compatible = "facebook,bletchley-bmc", "aspeed,ast2600"; 15*724ba675SRob Herring 16*724ba675SRob Herring aliases { 17*724ba675SRob Herring serial4 = &uart5; 18*724ba675SRob Herring }; 19*724ba675SRob Herring 20*724ba675SRob Herring chosen { 21*724ba675SRob Herring bootargs = "console=ttyS4,57600n8"; 22*724ba675SRob Herring }; 23*724ba675SRob Herring 24*724ba675SRob Herring memory@80000000 { 25*724ba675SRob Herring device_type = "memory"; 26*724ba675SRob Herring reg = <0x80000000 0x80000000>; 27*724ba675SRob Herring }; 28*724ba675SRob Herring 29*724ba675SRob Herring iio-hwmon { 30*724ba675SRob Herring compatible = "iio-hwmon"; 31*724ba675SRob Herring io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>, 32*724ba675SRob Herring <&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>, 33*724ba675SRob Herring <&adc1 0>, <&adc1 1>, <&adc1 2>, <&adc1 3>, 34*724ba675SRob Herring <&adc1 4>, <&adc1 5>, <&adc1 6>, <&adc1 7>; 35*724ba675SRob Herring }; 36*724ba675SRob Herring 37*724ba675SRob Herring spi1_gpio: spi1-gpio { 38*724ba675SRob Herring compatible = "spi-gpio"; 39*724ba675SRob Herring #address-cells = <1>; 40*724ba675SRob Herring #size-cells = <0>; 41*724ba675SRob Herring 42*724ba675SRob Herring gpio-sck = <&gpio0 ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>; 43*724ba675SRob Herring gpio-mosi = <&gpio0 ASPEED_GPIO(Z, 4) GPIO_ACTIVE_HIGH>; 44*724ba675SRob Herring gpio-miso = <&gpio0 ASPEED_GPIO(Z, 5) GPIO_ACTIVE_HIGH>; 45*724ba675SRob Herring num-chipselects = <1>; 46*724ba675SRob Herring cs-gpios = <&gpio0 ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>; 47*724ba675SRob Herring 48*724ba675SRob Herring tpmdev@0 { 49*724ba675SRob Herring compatible = "tcg,tpm_tis-spi"; 50*724ba675SRob Herring spi-max-frequency = <33000000>; 51*724ba675SRob Herring reg = <0>; 52*724ba675SRob Herring }; 53*724ba675SRob Herring }; 54*724ba675SRob Herring 55*724ba675SRob Herring switchphy: ethernet-phy@0 { 56*724ba675SRob Herring // Fixed link 57*724ba675SRob Herring }; 58*724ba675SRob Herring 59*724ba675SRob Herring front_gpio_leds { 60*724ba675SRob Herring compatible = "gpio-leds"; 61*724ba675SRob Herring sys_log_id { 62*724ba675SRob Herring default-state = "off"; 63*724ba675SRob Herring gpios = <&front_leds 0 GPIO_ACTIVE_LOW>; 64*724ba675SRob Herring }; 65*724ba675SRob Herring }; 66*724ba675SRob Herring 67*724ba675SRob Herring fan_gpio_leds { 68*724ba675SRob Herring compatible = "gpio-leds"; 69*724ba675SRob Herring fan0_blue { 70*724ba675SRob Herring retain-state-shutdown; 71*724ba675SRob Herring default-state = "on"; 72*724ba675SRob Herring gpios = <&fan_leds 8 GPIO_ACTIVE_HIGH>; 73*724ba675SRob Herring }; 74*724ba675SRob Herring fan1_blue { 75*724ba675SRob Herring retain-state-shutdown; 76*724ba675SRob Herring default-state = "on"; 77*724ba675SRob Herring gpios = <&fan_leds 9 GPIO_ACTIVE_HIGH>; 78*724ba675SRob Herring }; 79*724ba675SRob Herring fan2_blue { 80*724ba675SRob Herring retain-state-shutdown; 81*724ba675SRob Herring default-state = "on"; 82*724ba675SRob Herring gpios = <&fan_leds 10 GPIO_ACTIVE_HIGH>; 83*724ba675SRob Herring }; 84*724ba675SRob Herring fan3_blue { 85*724ba675SRob Herring retain-state-shutdown; 86*724ba675SRob Herring default-state = "on"; 87*724ba675SRob Herring gpios = <&fan_leds 11 GPIO_ACTIVE_HIGH>; 88*724ba675SRob Herring }; 89*724ba675SRob Herring fan0_amber { 90*724ba675SRob Herring retain-state-shutdown; 91*724ba675SRob Herring default-state = "off"; 92*724ba675SRob Herring gpios = <&fan_leds 12 GPIO_ACTIVE_HIGH>; 93*724ba675SRob Herring }; 94*724ba675SRob Herring fan1_amber { 95*724ba675SRob Herring retain-state-shutdown; 96*724ba675SRob Herring default-state = "off"; 97*724ba675SRob Herring gpios = <&fan_leds 13 GPIO_ACTIVE_HIGH>; 98*724ba675SRob Herring }; 99*724ba675SRob Herring fan2_amber { 100*724ba675SRob Herring retain-state-shutdown; 101*724ba675SRob Herring default-state = "off"; 102*724ba675SRob Herring gpios = <&fan_leds 14 GPIO_ACTIVE_HIGH>; 103*724ba675SRob Herring }; 104*724ba675SRob Herring fan3_amber { 105*724ba675SRob Herring retain-state-shutdown; 106*724ba675SRob Herring default-state = "off"; 107*724ba675SRob Herring gpios = <&fan_leds 15 GPIO_ACTIVE_HIGH>; 108*724ba675SRob Herring }; 109*724ba675SRob Herring }; 110*724ba675SRob Herring 111*724ba675SRob Herring sled1_gpio_leds { 112*724ba675SRob Herring compatible = "gpio-leds"; 113*724ba675SRob Herring sled1_amber { 114*724ba675SRob Herring retain-state-shutdown; 115*724ba675SRob Herring default-state = "keep"; 116*724ba675SRob Herring gpios = <&sled1_leds 0 GPIO_ACTIVE_LOW>; 117*724ba675SRob Herring }; 118*724ba675SRob Herring sled1_blue { 119*724ba675SRob Herring retain-state-shutdown; 120*724ba675SRob Herring default-state = "keep"; 121*724ba675SRob Herring gpios = <&sled1_leds 1 GPIO_ACTIVE_LOW>; 122*724ba675SRob Herring }; 123*724ba675SRob Herring }; 124*724ba675SRob Herring 125*724ba675SRob Herring sled2_gpio_leds { 126*724ba675SRob Herring compatible = "gpio-leds"; 127*724ba675SRob Herring sled2_amber { 128*724ba675SRob Herring retain-state-shutdown; 129*724ba675SRob Herring default-state = "keep"; 130*724ba675SRob Herring gpios = <&sled2_leds 0 GPIO_ACTIVE_LOW>; 131*724ba675SRob Herring }; 132*724ba675SRob Herring sled2_blue { 133*724ba675SRob Herring retain-state-shutdown; 134*724ba675SRob Herring default-state = "keep"; 135*724ba675SRob Herring gpios = <&sled2_leds 1 GPIO_ACTIVE_LOW>; 136*724ba675SRob Herring }; 137*724ba675SRob Herring }; 138*724ba675SRob Herring 139*724ba675SRob Herring sled3_gpio_leds { 140*724ba675SRob Herring compatible = "gpio-leds"; 141*724ba675SRob Herring sled3_amber { 142*724ba675SRob Herring retain-state-shutdown; 143*724ba675SRob Herring default-state = "keep"; 144*724ba675SRob Herring gpios = <&sled3_leds 0 GPIO_ACTIVE_LOW>; 145*724ba675SRob Herring }; 146*724ba675SRob Herring sled3_blue { 147*724ba675SRob Herring retain-state-shutdown; 148*724ba675SRob Herring default-state = "keep"; 149*724ba675SRob Herring gpios = <&sled3_leds 1 GPIO_ACTIVE_LOW>; 150*724ba675SRob Herring }; 151*724ba675SRob Herring }; 152*724ba675SRob Herring 153*724ba675SRob Herring sled4_gpio_leds { 154*724ba675SRob Herring compatible = "gpio-leds"; 155*724ba675SRob Herring sled4_amber { 156*724ba675SRob Herring retain-state-shutdown; 157*724ba675SRob Herring default-state = "keep"; 158*724ba675SRob Herring gpios = <&sled4_leds 0 GPIO_ACTIVE_LOW>; 159*724ba675SRob Herring }; 160*724ba675SRob Herring sled4_blue { 161*724ba675SRob Herring retain-state-shutdown; 162*724ba675SRob Herring default-state = "keep"; 163*724ba675SRob Herring gpios = <&sled4_leds 1 GPIO_ACTIVE_LOW>; 164*724ba675SRob Herring }; 165*724ba675SRob Herring }; 166*724ba675SRob Herring 167*724ba675SRob Herring sled5_gpio_leds { 168*724ba675SRob Herring compatible = "gpio-leds"; 169*724ba675SRob Herring sled5_amber { 170*724ba675SRob Herring retain-state-shutdown; 171*724ba675SRob Herring default-state = "keep"; 172*724ba675SRob Herring gpios = <&sled5_leds 0 GPIO_ACTIVE_LOW>; 173*724ba675SRob Herring }; 174*724ba675SRob Herring sled5_blue { 175*724ba675SRob Herring retain-state-shutdown; 176*724ba675SRob Herring default-state = "keep"; 177*724ba675SRob Herring gpios = <&sled5_leds 1 GPIO_ACTIVE_LOW>; 178*724ba675SRob Herring }; 179*724ba675SRob Herring }; 180*724ba675SRob Herring 181*724ba675SRob Herring sled6_gpio_leds { 182*724ba675SRob Herring compatible = "gpio-leds"; 183*724ba675SRob Herring sled6_amber { 184*724ba675SRob Herring retain-state-shutdown; 185*724ba675SRob Herring default-state = "keep"; 186*724ba675SRob Herring gpios = <&sled6_leds 0 GPIO_ACTIVE_LOW>; 187*724ba675SRob Herring }; 188*724ba675SRob Herring sled6_blue { 189*724ba675SRob Herring retain-state-shutdown; 190*724ba675SRob Herring default-state = "keep"; 191*724ba675SRob Herring gpios = <&sled6_leds 1 GPIO_ACTIVE_LOW>; 192*724ba675SRob Herring }; 193*724ba675SRob Herring }; 194*724ba675SRob Herring 195*724ba675SRob Herring gpio-keys { 196*724ba675SRob Herring compatible = "gpio-keys"; 197*724ba675SRob Herring 198*724ba675SRob Herring presence-sled1 { 199*724ba675SRob Herring label = "presence-sled1"; 200*724ba675SRob Herring gpios = <&gpio0 ASPEED_GPIO(H, 2) GPIO_ACTIVE_LOW>; 201*724ba675SRob Herring linux,code = <ASPEED_GPIO(H, 2)>; 202*724ba675SRob Herring }; 203*724ba675SRob Herring presence-sled2 { 204*724ba675SRob Herring label = "presence-sled2"; 205*724ba675SRob Herring gpios = <&gpio0 ASPEED_GPIO(H, 3) GPIO_ACTIVE_LOW>; 206*724ba675SRob Herring linux,code = <ASPEED_GPIO(H, 3)>; 207*724ba675SRob Herring }; 208*724ba675SRob Herring presence-sled3 { 209*724ba675SRob Herring label = "presence-sled3"; 210*724ba675SRob Herring gpios = <&gpio0 ASPEED_GPIO(H, 4) GPIO_ACTIVE_LOW>; 211*724ba675SRob Herring linux,code = <ASPEED_GPIO(H, 4)>; 212*724ba675SRob Herring }; 213*724ba675SRob Herring presence-sled4 { 214*724ba675SRob Herring label = "presence-sled4"; 215*724ba675SRob Herring gpios = <&gpio0 ASPEED_GPIO(H, 5) GPIO_ACTIVE_LOW>; 216*724ba675SRob Herring linux,code = <ASPEED_GPIO(H, 5)>; 217*724ba675SRob Herring }; 218*724ba675SRob Herring presence-sled5 { 219*724ba675SRob Herring label = "presence-sled5"; 220*724ba675SRob Herring gpios = <&gpio0 ASPEED_GPIO(H, 6) GPIO_ACTIVE_LOW>; 221*724ba675SRob Herring linux,code = <ASPEED_GPIO(H, 6)>; 222*724ba675SRob Herring }; 223*724ba675SRob Herring presence-sled6 { 224*724ba675SRob Herring label = "presence-sled6"; 225*724ba675SRob Herring gpios = <&gpio0 ASPEED_GPIO(H, 7) GPIO_ACTIVE_LOW>; 226*724ba675SRob Herring linux,code = <ASPEED_GPIO(H, 7)>; 227*724ba675SRob Herring }; 228*724ba675SRob Herring }; 229*724ba675SRob Herring 230*724ba675SRob Herring vbus_sled1: vbus_sled1 { 231*724ba675SRob Herring compatible = "regulator-fixed"; 232*724ba675SRob Herring regulator-name = "vbus_sled1"; 233*724ba675SRob Herring regulator-min-microvolt = <5000000>; 234*724ba675SRob Herring regulator-max-microvolt = <5000000>; 235*724ba675SRob Herring gpio = <&sled1_ioexp 1 GPIO_ACTIVE_HIGH>; 236*724ba675SRob Herring enable-active-high; 237*724ba675SRob Herring }; 238*724ba675SRob Herring 239*724ba675SRob Herring vbus_sled2: vbus_sled2 { 240*724ba675SRob Herring compatible = "regulator-fixed"; 241*724ba675SRob Herring regulator-name = "vbus_sled2"; 242*724ba675SRob Herring regulator-min-microvolt = <5000000>; 243*724ba675SRob Herring regulator-max-microvolt = <5000000>; 244*724ba675SRob Herring gpio = <&sled2_ioexp 1 GPIO_ACTIVE_HIGH>; 245*724ba675SRob Herring enable-active-high; 246*724ba675SRob Herring }; 247*724ba675SRob Herring 248*724ba675SRob Herring vbus_sled3: vbus_sled3 { 249*724ba675SRob Herring compatible = "regulator-fixed"; 250*724ba675SRob Herring regulator-name = "vbus_sled3"; 251*724ba675SRob Herring regulator-min-microvolt = <5000000>; 252*724ba675SRob Herring regulator-max-microvolt = <5000000>; 253*724ba675SRob Herring gpio = <&sled3_ioexp 1 GPIO_ACTIVE_HIGH>; 254*724ba675SRob Herring enable-active-high; 255*724ba675SRob Herring }; 256*724ba675SRob Herring 257*724ba675SRob Herring vbus_sled4: vbus_sled4 { 258*724ba675SRob Herring compatible = "regulator-fixed"; 259*724ba675SRob Herring regulator-name = "vbus_sled4"; 260*724ba675SRob Herring regulator-min-microvolt = <5000000>; 261*724ba675SRob Herring regulator-max-microvolt = <5000000>; 262*724ba675SRob Herring gpio = <&sled4_ioexp 1 GPIO_ACTIVE_HIGH>; 263*724ba675SRob Herring enable-active-high; 264*724ba675SRob Herring }; 265*724ba675SRob Herring 266*724ba675SRob Herring vbus_sled5: vbus_sled5 { 267*724ba675SRob Herring compatible = "regulator-fixed"; 268*724ba675SRob Herring regulator-name = "vbus_sled5"; 269*724ba675SRob Herring regulator-min-microvolt = <5000000>; 270*724ba675SRob Herring regulator-max-microvolt = <5000000>; 271*724ba675SRob Herring gpio = <&sled5_ioexp 1 GPIO_ACTIVE_HIGH>; 272*724ba675SRob Herring enable-active-high; 273*724ba675SRob Herring }; 274*724ba675SRob Herring 275*724ba675SRob Herring vbus_sled6: vbus_sled6 { 276*724ba675SRob Herring compatible = "regulator-fixed"; 277*724ba675SRob Herring regulator-name = "vbus_sled6"; 278*724ba675SRob Herring regulator-min-microvolt = <5000000>; 279*724ba675SRob Herring regulator-max-microvolt = <5000000>; 280*724ba675SRob Herring gpio = <&sled6_ioexp 1 GPIO_ACTIVE_HIGH>; 281*724ba675SRob Herring enable-active-high; 282*724ba675SRob Herring }; 283*724ba675SRob Herring}; 284*724ba675SRob Herring 285*724ba675SRob Herring&mac2 { 286*724ba675SRob Herring status = "okay"; 287*724ba675SRob Herring phy-mode = "rgmii"; 288*724ba675SRob Herring phy-handle = <&switchphy>; 289*724ba675SRob Herring pinctrl-names = "default"; 290*724ba675SRob Herring pinctrl-0 = <&pinctrl_rgmii3_default>; 291*724ba675SRob Herring 292*724ba675SRob Herring fixed-link { 293*724ba675SRob Herring speed = <1000>; 294*724ba675SRob Herring full-duplex; 295*724ba675SRob Herring }; 296*724ba675SRob Herring}; 297*724ba675SRob Herring 298*724ba675SRob Herring&fmc { 299*724ba675SRob Herring status = "okay"; 300*724ba675SRob Herring flash@0 { 301*724ba675SRob Herring status = "okay"; 302*724ba675SRob Herring m25p,fast-read; 303*724ba675SRob Herring label = "bmc"; 304*724ba675SRob Herring spi-max-frequency = <50000000>; 305*724ba675SRob Herring#include "openbmc-flash-layout-128.dtsi" 306*724ba675SRob Herring }; 307*724ba675SRob Herring flash@1 { 308*724ba675SRob Herring status = "okay"; 309*724ba675SRob Herring m25p,fast-read; 310*724ba675SRob Herring label = "alt-bmc"; 311*724ba675SRob Herring spi-max-frequency = <50000000>; 312*724ba675SRob Herring }; 313*724ba675SRob Herring}; 314*724ba675SRob Herring 315*724ba675SRob Herring&spi2 { 316*724ba675SRob Herring status = "okay"; 317*724ba675SRob Herring pinctrl-names = "default"; 318*724ba675SRob Herring pinctrl-0 = <&pinctrl_spi2_default>; 319*724ba675SRob Herring 320*724ba675SRob Herring flash@0 { 321*724ba675SRob Herring status = "okay"; 322*724ba675SRob Herring m25p,fast-read; 323*724ba675SRob Herring label = "pnor"; 324*724ba675SRob Herring spi-max-frequency = <50000000>; 325*724ba675SRob Herring }; 326*724ba675SRob Herring}; 327*724ba675SRob Herring 328*724ba675SRob Herring&i2c0 { 329*724ba675SRob Herring status = "okay"; 330*724ba675SRob Herring ina230@45 { 331*724ba675SRob Herring compatible = "ti,ina230"; 332*724ba675SRob Herring reg = <0x45>; 333*724ba675SRob Herring shunt-resistor = <2000>; 334*724ba675SRob Herring }; 335*724ba675SRob Herring 336*724ba675SRob Herring mp5023@40 { 337*724ba675SRob Herring compatible = "mps,mp5023"; 338*724ba675SRob Herring reg = <0x40>; 339*724ba675SRob Herring }; 340*724ba675SRob Herring 341*724ba675SRob Herring tmp421@4f { 342*724ba675SRob Herring compatible = "ti,tmp421"; 343*724ba675SRob Herring reg = <0x4f>; 344*724ba675SRob Herring }; 345*724ba675SRob Herring 346*724ba675SRob Herring sled1_ioexp41: pca9536@41 { 347*724ba675SRob Herring compatible = "nxp,pca9536"; 348*724ba675SRob Herring reg = <0x41>; 349*724ba675SRob Herring gpio-controller; 350*724ba675SRob Herring #gpio-cells = <2>; 351*724ba675SRob Herring 352*724ba675SRob Herring gpio-line-names = 353*724ba675SRob Herring "SLED1_SWD_MUX", "SLED1_XRES_SWD_N", 354*724ba675SRob Herring "SLED1_CLKREQ_N", "SLED1_PCIE_PWR_EN"; 355*724ba675SRob Herring }; 356*724ba675SRob Herring 357*724ba675SRob Herring sled1_ioexp: pca9539@76 { 358*724ba675SRob Herring compatible = "nxp,pca9539"; 359*724ba675SRob Herring reg = <0x76>; 360*724ba675SRob Herring #address-cells = <1>; 361*724ba675SRob Herring #size-cells = <0>; 362*724ba675SRob Herring gpio-controller; 363*724ba675SRob Herring #gpio-cells = <2>; 364*724ba675SRob Herring 365*724ba675SRob Herring interrupt-parent = <&gpio0>; 366*724ba675SRob Herring interrupts = <ASPEED_GPIO(M, 0) IRQ_TYPE_LEVEL_LOW>; 367*724ba675SRob Herring 368*724ba675SRob Herring gpio-line-names = 369*724ba675SRob Herring "SLED1_MS_DETECT1","SLED1_VBUS_BMC_EN","SLED1_INA230_ALERT","SLED1_P12V_STBY_ALERT", 370*724ba675SRob Herring "SLED1_SSD_ALERT","SLED1_MS_DETECT0","SLED1_RST_CCG5","SLED1_FUSB302_INT", 371*724ba675SRob Herring "SLED1_MD_STBY_RESET","SLED1_MD_IOEXP_EN_FAULT","SLED1_MD_DIR","SLED1_MD_DECAY", 372*724ba675SRob Herring "SLED1_MD_MODE1","SLED1_MD_MODE2","SLED1_MD_MODE3","power-host1"; 373*724ba675SRob Herring }; 374*724ba675SRob Herring 375*724ba675SRob Herring sled1_leds: pca9552@67 { 376*724ba675SRob Herring compatible = "nxp,pca9552"; 377*724ba675SRob Herring reg = <0x67>; 378*724ba675SRob Herring #address-cells = <1>; 379*724ba675SRob Herring #size-cells = <0>; 380*724ba675SRob Herring gpio-controller; 381*724ba675SRob Herring #gpio-cells = <2>; 382*724ba675SRob Herring 383*724ba675SRob Herring gpio-line-names = 384*724ba675SRob Herring "led-sled1-amber","led-sled1-blue","SLED1_RST_IOEXP","SLED1_MD_REF_PWM", 385*724ba675SRob Herring "","","","", 386*724ba675SRob Herring "","","","", 387*724ba675SRob Herring "","","",""; 388*724ba675SRob Herring }; 389*724ba675SRob Herring 390*724ba675SRob Herring sled1_fusb302: typec-portc@22 { 391*724ba675SRob Herring compatible = "fcs,fusb302"; 392*724ba675SRob Herring reg = <0x22>; 393*724ba675SRob Herring 394*724ba675SRob Herring interrupt-parent = <&gpio0>; 395*724ba675SRob Herring interrupts = <ASPEED_GPIO(B, 0) IRQ_TYPE_LEVEL_LOW>; 396*724ba675SRob Herring vbus-supply = <&vbus_sled1>; 397*724ba675SRob Herring 398*724ba675SRob Herring connector { 399*724ba675SRob Herring compatible = "usb-c-connector"; 400*724ba675SRob Herring label = "USB-C"; 401*724ba675SRob Herring power-role = "source"; 402*724ba675SRob Herring data-role = "host"; 403*724ba675SRob Herring pd-disable; 404*724ba675SRob Herring typec-power-opmode = "default"; 405*724ba675SRob Herring }; 406*724ba675SRob Herring }; 407*724ba675SRob Herring 408*724ba675SRob Herring eeprom@54 { 409*724ba675SRob Herring compatible = "atmel,24c64"; 410*724ba675SRob Herring reg = <0x54>; 411*724ba675SRob Herring }; 412*724ba675SRob Herring}; 413*724ba675SRob Herring 414*724ba675SRob Herring&i2c1 { 415*724ba675SRob Herring status = "okay"; 416*724ba675SRob Herring ina230@45 { 417*724ba675SRob Herring compatible = "ti,ina230"; 418*724ba675SRob Herring reg = <0x45>; 419*724ba675SRob Herring shunt-resistor = <2000>; 420*724ba675SRob Herring }; 421*724ba675SRob Herring 422*724ba675SRob Herring mp5023@40 { 423*724ba675SRob Herring compatible = "mps,mp5023"; 424*724ba675SRob Herring reg = <0x40>; 425*724ba675SRob Herring }; 426*724ba675SRob Herring 427*724ba675SRob Herring tmp421@4f { 428*724ba675SRob Herring compatible = "ti,tmp421"; 429*724ba675SRob Herring reg = <0x4f>; 430*724ba675SRob Herring }; 431*724ba675SRob Herring 432*724ba675SRob Herring sled2_ioexp41: pca9536@41 { 433*724ba675SRob Herring compatible = "nxp,pca9536"; 434*724ba675SRob Herring reg = <0x41>; 435*724ba675SRob Herring gpio-controller; 436*724ba675SRob Herring #gpio-cells = <2>; 437*724ba675SRob Herring 438*724ba675SRob Herring gpio-line-names = 439*724ba675SRob Herring "SLED2_SWD_MUX", "SLED2_XRES_SWD_N", 440*724ba675SRob Herring "SLED2_CLKREQ_N", "SLED2_PCIE_PWR_EN"; 441*724ba675SRob Herring }; 442*724ba675SRob Herring 443*724ba675SRob Herring sled2_ioexp: pca9539@76 { 444*724ba675SRob Herring compatible = "nxp,pca9539"; 445*724ba675SRob Herring reg = <0x76>; 446*724ba675SRob Herring #address-cells = <1>; 447*724ba675SRob Herring #size-cells = <0>; 448*724ba675SRob Herring gpio-controller; 449*724ba675SRob Herring #gpio-cells = <2>; 450*724ba675SRob Herring 451*724ba675SRob Herring interrupt-parent = <&gpio0>; 452*724ba675SRob Herring interrupts = <ASPEED_GPIO(M, 1) IRQ_TYPE_LEVEL_LOW>; 453*724ba675SRob Herring 454*724ba675SRob Herring gpio-line-names = 455*724ba675SRob Herring "SLED2_MS_DETECT1","SLED2_VBUS_BMC_EN","SLED2_INA230_ALERT","SLED2_P12V_STBY_ALERT", 456*724ba675SRob Herring "SLED2_SSD_ALERT","SLED2_MS_DETECT0","SLED2_RST_CCG5","SLED2_FUSB302_INT", 457*724ba675SRob Herring "SLED2_MD_STBY_RESET","SLED2_MD_IOEXP_EN_FAULT","SLED2_MD_DIR","SLED2_MD_DECAY", 458*724ba675SRob Herring "SLED2_MD_MODE1","SLED2_MD_MODE2","SLED2_MD_MODE3","power-host2"; 459*724ba675SRob Herring }; 460*724ba675SRob Herring 461*724ba675SRob Herring sled2_leds: pca9552@67 { 462*724ba675SRob Herring compatible = "nxp,pca9552"; 463*724ba675SRob Herring reg = <0x67>; 464*724ba675SRob Herring #address-cells = <1>; 465*724ba675SRob Herring #size-cells = <0>; 466*724ba675SRob Herring gpio-controller; 467*724ba675SRob Herring #gpio-cells = <2>; 468*724ba675SRob Herring 469*724ba675SRob Herring gpio-line-names = 470*724ba675SRob Herring "led-sled2-amber","led-sled2-blue","SLED2_RST_IOEXP","SLED2_MD_REF_PWM", 471*724ba675SRob Herring "","","","", 472*724ba675SRob Herring "","","","", 473*724ba675SRob Herring "","","",""; 474*724ba675SRob Herring }; 475*724ba675SRob Herring 476*724ba675SRob Herring sled2_fusb302: typec-portc@22 { 477*724ba675SRob Herring compatible = "fcs,fusb302"; 478*724ba675SRob Herring reg = <0x22>; 479*724ba675SRob Herring 480*724ba675SRob Herring interrupt-parent = <&gpio0>; 481*724ba675SRob Herring interrupts = <ASPEED_GPIO(B, 1) IRQ_TYPE_LEVEL_LOW>; 482*724ba675SRob Herring vbus-supply = <&vbus_sled2>; 483*724ba675SRob Herring 484*724ba675SRob Herring connector { 485*724ba675SRob Herring compatible = "usb-c-connector"; 486*724ba675SRob Herring label = "USB-C"; 487*724ba675SRob Herring power-role = "source"; 488*724ba675SRob Herring data-role = "host"; 489*724ba675SRob Herring pd-disable; 490*724ba675SRob Herring typec-power-opmode = "default"; 491*724ba675SRob Herring }; 492*724ba675SRob Herring }; 493*724ba675SRob Herring 494*724ba675SRob Herring eeprom@54 { 495*724ba675SRob Herring compatible = "atmel,24c64"; 496*724ba675SRob Herring reg = <0x54>; 497*724ba675SRob Herring }; 498*724ba675SRob Herring}; 499*724ba675SRob Herring 500*724ba675SRob Herring&i2c2 { 501*724ba675SRob Herring status = "okay"; 502*724ba675SRob Herring ina230@45 { 503*724ba675SRob Herring compatible = "ti,ina230"; 504*724ba675SRob Herring reg = <0x45>; 505*724ba675SRob Herring shunt-resistor = <2000>; 506*724ba675SRob Herring }; 507*724ba675SRob Herring 508*724ba675SRob Herring mp5023@40 { 509*724ba675SRob Herring compatible = "mps,mp5023"; 510*724ba675SRob Herring reg = <0x40>; 511*724ba675SRob Herring }; 512*724ba675SRob Herring 513*724ba675SRob Herring tmp421@4f { 514*724ba675SRob Herring compatible = "ti,tmp421"; 515*724ba675SRob Herring reg = <0x4f>; 516*724ba675SRob Herring }; 517*724ba675SRob Herring 518*724ba675SRob Herring sled3_ioexp41: pca9536@41 { 519*724ba675SRob Herring compatible = "nxp,pca9536"; 520*724ba675SRob Herring reg = <0x41>; 521*724ba675SRob Herring gpio-controller; 522*724ba675SRob Herring #gpio-cells = <2>; 523*724ba675SRob Herring 524*724ba675SRob Herring gpio-line-names = 525*724ba675SRob Herring "SLED3_SWD_MUX", "SLED3_XRES_SWD_N", 526*724ba675SRob Herring "SLED3_CLKREQ_N", "SLED3_PCIE_PWR_EN"; 527*724ba675SRob Herring }; 528*724ba675SRob Herring 529*724ba675SRob Herring sled3_ioexp: pca9539@76 { 530*724ba675SRob Herring compatible = "nxp,pca9539"; 531*724ba675SRob Herring reg = <0x76>; 532*724ba675SRob Herring #address-cells = <1>; 533*724ba675SRob Herring #size-cells = <0>; 534*724ba675SRob Herring gpio-controller; 535*724ba675SRob Herring #gpio-cells = <2>; 536*724ba675SRob Herring 537*724ba675SRob Herring interrupt-parent = <&gpio0>; 538*724ba675SRob Herring interrupts = <ASPEED_GPIO(M, 2) IRQ_TYPE_LEVEL_LOW>; 539*724ba675SRob Herring 540*724ba675SRob Herring gpio-line-names = 541*724ba675SRob Herring "SLED3_MS_DETECT1","SLED3_VBUS_BMC_EN","SLED3_INA230_ALERT","SLED3_P12V_STBY_ALERT", 542*724ba675SRob Herring "SLED3_SSD_ALERT","SLED3_MS_DETECT0","SLED3_RST_CCG5","SLED3_FUSB302_INT", 543*724ba675SRob Herring "SLED3_MD_STBY_RESET","SLED3_MD_IOEXP_EN_FAULT","SLED3_MD_DIR","SLED3_MD_DECAY", 544*724ba675SRob Herring "SLED3_MD_MODE1","SLED3_MD_MODE2","SLED3_MD_MODE3","power-host3"; 545*724ba675SRob Herring }; 546*724ba675SRob Herring 547*724ba675SRob Herring sled3_leds: pca9552@67 { 548*724ba675SRob Herring compatible = "nxp,pca9552"; 549*724ba675SRob Herring reg = <0x67>; 550*724ba675SRob Herring #address-cells = <1>; 551*724ba675SRob Herring #size-cells = <0>; 552*724ba675SRob Herring gpio-controller; 553*724ba675SRob Herring #gpio-cells = <2>; 554*724ba675SRob Herring 555*724ba675SRob Herring gpio-line-names = 556*724ba675SRob Herring "led-sled3-amber","led-sled3-blue","SLED3_RST_IOEXP","SLED3_MD_REF_PWM", 557*724ba675SRob Herring "","","","", 558*724ba675SRob Herring "","","","", 559*724ba675SRob Herring "","","",""; 560*724ba675SRob Herring }; 561*724ba675SRob Herring 562*724ba675SRob Herring sled3_fusb302: typec-portc@22 { 563*724ba675SRob Herring compatible = "fcs,fusb302"; 564*724ba675SRob Herring reg = <0x22>; 565*724ba675SRob Herring 566*724ba675SRob Herring interrupt-parent = <&gpio0>; 567*724ba675SRob Herring interrupts = <ASPEED_GPIO(B, 7) IRQ_TYPE_LEVEL_LOW>; 568*724ba675SRob Herring vbus-supply = <&vbus_sled3>; 569*724ba675SRob Herring 570*724ba675SRob Herring connector { 571*724ba675SRob Herring compatible = "usb-c-connector"; 572*724ba675SRob Herring label = "USB-C"; 573*724ba675SRob Herring power-role = "source"; 574*724ba675SRob Herring data-role = "host"; 575*724ba675SRob Herring pd-disable; 576*724ba675SRob Herring typec-power-opmode = "default"; 577*724ba675SRob Herring }; 578*724ba675SRob Herring }; 579*724ba675SRob Herring 580*724ba675SRob Herring eeprom@54 { 581*724ba675SRob Herring compatible = "atmel,24c64"; 582*724ba675SRob Herring reg = <0x54>; 583*724ba675SRob Herring }; 584*724ba675SRob Herring}; 585*724ba675SRob Herring 586*724ba675SRob Herring&i2c3 { 587*724ba675SRob Herring status = "okay"; 588*724ba675SRob Herring ina230@45 { 589*724ba675SRob Herring compatible = "ti,ina230"; 590*724ba675SRob Herring reg = <0x45>; 591*724ba675SRob Herring shunt-resistor = <2000>; 592*724ba675SRob Herring }; 593*724ba675SRob Herring 594*724ba675SRob Herring mp5023@40 { 595*724ba675SRob Herring compatible = "mps,mp5023"; 596*724ba675SRob Herring reg = <0x40>; 597*724ba675SRob Herring }; 598*724ba675SRob Herring 599*724ba675SRob Herring tmp421@4f { 600*724ba675SRob Herring compatible = "ti,tmp421"; 601*724ba675SRob Herring reg = <0x4f>; 602*724ba675SRob Herring }; 603*724ba675SRob Herring 604*724ba675SRob Herring sled4_ioexp41: pca9536@41 { 605*724ba675SRob Herring compatible = "nxp,pca9536"; 606*724ba675SRob Herring reg = <0x41>; 607*724ba675SRob Herring gpio-controller; 608*724ba675SRob Herring #gpio-cells = <2>; 609*724ba675SRob Herring 610*724ba675SRob Herring gpio-line-names = 611*724ba675SRob Herring "SLED4_SWD_MUX", "SLED4_XRES_SWD_N", 612*724ba675SRob Herring "SLED4_CLKREQ_N", "SLED4_PCIE_PWR_EN"; 613*724ba675SRob Herring }; 614*724ba675SRob Herring 615*724ba675SRob Herring sled4_ioexp: pca9539@76 { 616*724ba675SRob Herring compatible = "nxp,pca9539"; 617*724ba675SRob Herring reg = <0x76>; 618*724ba675SRob Herring #address-cells = <1>; 619*724ba675SRob Herring #size-cells = <0>; 620*724ba675SRob Herring gpio-controller; 621*724ba675SRob Herring #gpio-cells = <2>; 622*724ba675SRob Herring 623*724ba675SRob Herring interrupt-parent = <&gpio0>; 624*724ba675SRob Herring interrupts = <ASPEED_GPIO(M, 3) IRQ_TYPE_LEVEL_LOW>; 625*724ba675SRob Herring 626*724ba675SRob Herring gpio-line-names = 627*724ba675SRob Herring "SLED4_MS_DETECT1","SLED4_VBUS_BMC_EN","SLED4_INA230_ALERT","SLED4_P12V_STBY_ALERT", 628*724ba675SRob Herring "SLED4_SSD_ALERT","SLED4_MS_DETECT0","SLED4_RST_CCG5","SLED4_FUSB302_INT", 629*724ba675SRob Herring "SLED4_MD_STBY_RESET","SLED4_MD_IOEXP_EN_FAULT","SLED4_MD_DIR","SLED4_MD_DECAY", 630*724ba675SRob Herring "SLED4_MD_MODE1","SLED4_MD_MODE2","SLED4_MD_MODE3","power-host4"; 631*724ba675SRob Herring }; 632*724ba675SRob Herring 633*724ba675SRob Herring sled4_leds: pca9552@67 { 634*724ba675SRob Herring compatible = "nxp,pca9552"; 635*724ba675SRob Herring reg = <0x67>; 636*724ba675SRob Herring #address-cells = <1>; 637*724ba675SRob Herring #size-cells = <0>; 638*724ba675SRob Herring gpio-controller; 639*724ba675SRob Herring #gpio-cells = <2>; 640*724ba675SRob Herring 641*724ba675SRob Herring gpio-line-names = 642*724ba675SRob Herring "led-sled4-amber","led-sled4-blue","SLED4_RST_IOEXP","SLED4_MD_REF_PWM", 643*724ba675SRob Herring "","","","", 644*724ba675SRob Herring "","","","", 645*724ba675SRob Herring "","","",""; 646*724ba675SRob Herring }; 647*724ba675SRob Herring 648*724ba675SRob Herring sled4_fusb302: typec-portc@22 { 649*724ba675SRob Herring compatible = "fcs,fusb302"; 650*724ba675SRob Herring reg = <0x22>; 651*724ba675SRob Herring 652*724ba675SRob Herring interrupt-parent = <&gpio0>; 653*724ba675SRob Herring interrupts = <ASPEED_GPIO(S, 7) IRQ_TYPE_LEVEL_LOW>; 654*724ba675SRob Herring vbus-supply = <&vbus_sled4>; 655*724ba675SRob Herring 656*724ba675SRob Herring connector { 657*724ba675SRob Herring compatible = "usb-c-connector"; 658*724ba675SRob Herring label = "USB-C"; 659*724ba675SRob Herring power-role = "source"; 660*724ba675SRob Herring data-role = "host"; 661*724ba675SRob Herring pd-disable; 662*724ba675SRob Herring typec-power-opmode = "default"; 663*724ba675SRob Herring }; 664*724ba675SRob Herring }; 665*724ba675SRob Herring 666*724ba675SRob Herring eeprom@54 { 667*724ba675SRob Herring compatible = "atmel,24c64"; 668*724ba675SRob Herring reg = <0x54>; 669*724ba675SRob Herring }; 670*724ba675SRob Herring}; 671*724ba675SRob Herring 672*724ba675SRob Herring&i2c4 { 673*724ba675SRob Herring status = "okay"; 674*724ba675SRob Herring ina230@45 { 675*724ba675SRob Herring compatible = "ti,ina230"; 676*724ba675SRob Herring reg = <0x45>; 677*724ba675SRob Herring shunt-resistor = <2000>; 678*724ba675SRob Herring }; 679*724ba675SRob Herring 680*724ba675SRob Herring mp5023@40 { 681*724ba675SRob Herring compatible = "mps,mp5023"; 682*724ba675SRob Herring reg = <0x40>; 683*724ba675SRob Herring }; 684*724ba675SRob Herring 685*724ba675SRob Herring tmp421@4f { 686*724ba675SRob Herring compatible = "ti,tmp421"; 687*724ba675SRob Herring reg = <0x4f>; 688*724ba675SRob Herring }; 689*724ba675SRob Herring 690*724ba675SRob Herring sled5_ioexp41: pca9536@41 { 691*724ba675SRob Herring compatible = "nxp,pca9536"; 692*724ba675SRob Herring reg = <0x41>; 693*724ba675SRob Herring gpio-controller; 694*724ba675SRob Herring #gpio-cells = <2>; 695*724ba675SRob Herring 696*724ba675SRob Herring gpio-line-names = 697*724ba675SRob Herring "SLED5_SWD_MUX", "SLED5_XRES_SWD_N", 698*724ba675SRob Herring "SLED5_CLKREQ_N", "SLED5_PCIE_PWR_EN"; 699*724ba675SRob Herring }; 700*724ba675SRob Herring 701*724ba675SRob Herring sled5_ioexp: pca9539@76 { 702*724ba675SRob Herring compatible = "nxp,pca9539"; 703*724ba675SRob Herring reg = <0x76>; 704*724ba675SRob Herring #address-cells = <1>; 705*724ba675SRob Herring #size-cells = <0>; 706*724ba675SRob Herring gpio-controller; 707*724ba675SRob Herring #gpio-cells = <2>; 708*724ba675SRob Herring 709*724ba675SRob Herring interrupt-parent = <&gpio0>; 710*724ba675SRob Herring interrupts = <ASPEED_GPIO(M, 4) IRQ_TYPE_LEVEL_LOW>; 711*724ba675SRob Herring 712*724ba675SRob Herring gpio-line-names = 713*724ba675SRob Herring "SLED5_MS_DETECT1","SLED5_VBUS_BMC_EN","SLED5_INA230_ALERT","SLED5_P12V_STBY_ALERT", 714*724ba675SRob Herring "SLED5_SSD_ALERT","SLED5_MS_DETECT0","SLED5_RST_CCG5","SLED5_FUSB302_INT", 715*724ba675SRob Herring "SLED5_MD_STBY_RESET","SLED5_MD_IOEXP_EN_FAULT","SLED5_MD_DIR","SLED5_MD_DECAY", 716*724ba675SRob Herring "SLED5_MD_MODE1","SLED5_MD_MODE2","SLED5_MD_MODE3","power-host5"; 717*724ba675SRob Herring }; 718*724ba675SRob Herring 719*724ba675SRob Herring sled5_leds: pca9552@67 { 720*724ba675SRob Herring compatible = "nxp,pca9552"; 721*724ba675SRob Herring reg = <0x67>; 722*724ba675SRob Herring #address-cells = <1>; 723*724ba675SRob Herring #size-cells = <0>; 724*724ba675SRob Herring gpio-controller; 725*724ba675SRob Herring #gpio-cells = <2>; 726*724ba675SRob Herring 727*724ba675SRob Herring gpio-line-names = 728*724ba675SRob Herring "led-sled5-amber","led-sled5-blue","SLED5_RST_IOEXP","SLED5_MD_REF_PWM", 729*724ba675SRob Herring "","","","", 730*724ba675SRob Herring "","","","", 731*724ba675SRob Herring "","","",""; 732*724ba675SRob Herring }; 733*724ba675SRob Herring 734*724ba675SRob Herring sled5_fusb302: typec-portc@22 { 735*724ba675SRob Herring compatible = "fcs,fusb302"; 736*724ba675SRob Herring reg = <0x22>; 737*724ba675SRob Herring 738*724ba675SRob Herring interrupt-parent = <&gpio0>; 739*724ba675SRob Herring interrupts = <ASPEED_GPIO(Y, 3) IRQ_TYPE_LEVEL_LOW>; 740*724ba675SRob Herring vbus-supply = <&vbus_sled5>; 741*724ba675SRob Herring 742*724ba675SRob Herring connector { 743*724ba675SRob Herring compatible = "usb-c-connector"; 744*724ba675SRob Herring label = "USB-C"; 745*724ba675SRob Herring power-role = "source"; 746*724ba675SRob Herring data-role = "host"; 747*724ba675SRob Herring pd-disable; 748*724ba675SRob Herring typec-power-opmode = "default"; 749*724ba675SRob Herring }; 750*724ba675SRob Herring }; 751*724ba675SRob Herring 752*724ba675SRob Herring eeprom@54 { 753*724ba675SRob Herring compatible = "atmel,24c64"; 754*724ba675SRob Herring reg = <0x54>; 755*724ba675SRob Herring }; 756*724ba675SRob Herring}; 757*724ba675SRob Herring 758*724ba675SRob Herring&i2c5 { 759*724ba675SRob Herring status = "okay"; 760*724ba675SRob Herring ina230@45 { 761*724ba675SRob Herring compatible = "ti,ina230"; 762*724ba675SRob Herring reg = <0x45>; 763*724ba675SRob Herring shunt-resistor = <2000>; 764*724ba675SRob Herring }; 765*724ba675SRob Herring 766*724ba675SRob Herring mp5023@40 { 767*724ba675SRob Herring compatible = "mps,mp5023"; 768*724ba675SRob Herring reg = <0x40>; 769*724ba675SRob Herring }; 770*724ba675SRob Herring 771*724ba675SRob Herring tmp421@4f { 772*724ba675SRob Herring compatible = "ti,tmp421"; 773*724ba675SRob Herring reg = <0x4f>; 774*724ba675SRob Herring }; 775*724ba675SRob Herring 776*724ba675SRob Herring sled6_ioexp41: pca9536@41 { 777*724ba675SRob Herring compatible = "nxp,pca9536"; 778*724ba675SRob Herring reg = <0x41>; 779*724ba675SRob Herring gpio-controller; 780*724ba675SRob Herring #gpio-cells = <2>; 781*724ba675SRob Herring 782*724ba675SRob Herring gpio-line-names = 783*724ba675SRob Herring "SLED6_SWD_MUX", "SLED6_XRES_SWD_N", 784*724ba675SRob Herring "SLED6_CLKREQ_N", "SLED6_PCIE_PWR_EN"; 785*724ba675SRob Herring }; 786*724ba675SRob Herring 787*724ba675SRob Herring sled6_ioexp: pca9539@76 { 788*724ba675SRob Herring compatible = "nxp,pca9539"; 789*724ba675SRob Herring reg = <0x76>; 790*724ba675SRob Herring #address-cells = <1>; 791*724ba675SRob Herring #size-cells = <0>; 792*724ba675SRob Herring gpio-controller; 793*724ba675SRob Herring #gpio-cells = <2>; 794*724ba675SRob Herring 795*724ba675SRob Herring interrupt-parent = <&gpio0>; 796*724ba675SRob Herring interrupts = <ASPEED_GPIO(M, 5) IRQ_TYPE_LEVEL_LOW>; 797*724ba675SRob Herring 798*724ba675SRob Herring gpio-line-names = 799*724ba675SRob Herring "SLED6_MS_DETECT1","SLED6_VBUS_BMC_EN","SLED6_INA230_ALERT","SLED6_P12V_STBY_ALERT", 800*724ba675SRob Herring "SLED6_SSD_ALERT","SLED6_MS_DETECT0","SLED6_RST_CCG5","SLED6_FUSB302_INT", 801*724ba675SRob Herring "SLED6_MD_STBY_RESET","SLED6_MD_IOEXP_EN_FAULT","SLED6_MD_DIR","SLED6_MD_DECAY", 802*724ba675SRob Herring "SLED6_MD_MODE1","SLED6_MD_MODE2","SLED6_MD_MODE3","power-host6"; 803*724ba675SRob Herring }; 804*724ba675SRob Herring 805*724ba675SRob Herring sled6_leds: pca9552@67 { 806*724ba675SRob Herring compatible = "nxp,pca9552"; 807*724ba675SRob Herring reg = <0x67>; 808*724ba675SRob Herring #address-cells = <1>; 809*724ba675SRob Herring #size-cells = <0>; 810*724ba675SRob Herring gpio-controller; 811*724ba675SRob Herring #gpio-cells = <2>; 812*724ba675SRob Herring 813*724ba675SRob Herring gpio-line-names = 814*724ba675SRob Herring "led-sled6-amber","led-sled6-blue","SLED6_RST_IOEXP","SLED6_MD_REF_PWM", 815*724ba675SRob Herring "","","","", 816*724ba675SRob Herring "","","","", 817*724ba675SRob Herring "","","",""; 818*724ba675SRob Herring }; 819*724ba675SRob Herring 820*724ba675SRob Herring sled6_fusb302: typec-portc@22 { 821*724ba675SRob Herring compatible = "fcs,fusb302"; 822*724ba675SRob Herring reg = <0x22>; 823*724ba675SRob Herring 824*724ba675SRob Herring interrupt-parent = <&gpio0>; 825*724ba675SRob Herring interrupts = <ASPEED_GPIO(I, 7) IRQ_TYPE_LEVEL_LOW>; 826*724ba675SRob Herring vbus-supply = <&vbus_sled6>; 827*724ba675SRob Herring 828*724ba675SRob Herring connector { 829*724ba675SRob Herring compatible = "usb-c-connector"; 830*724ba675SRob Herring label = "USB-C"; 831*724ba675SRob Herring power-role = "source"; 832*724ba675SRob Herring data-role = "host"; 833*724ba675SRob Herring pd-disable; 834*724ba675SRob Herring typec-power-opmode = "default"; 835*724ba675SRob Herring }; 836*724ba675SRob Herring }; 837*724ba675SRob Herring 838*724ba675SRob Herring eeprom@54 { 839*724ba675SRob Herring compatible = "atmel,24c64"; 840*724ba675SRob Herring reg = <0x54>; 841*724ba675SRob Herring }; 842*724ba675SRob Herring}; 843*724ba675SRob Herring 844*724ba675SRob Herring&i2c6 { 845*724ba675SRob Herring status = "okay"; 846*724ba675SRob Herring 847*724ba675SRob Herring eeprom@56 { 848*724ba675SRob Herring compatible = "atmel,24c64"; 849*724ba675SRob Herring reg = <0x56>; 850*724ba675SRob Herring }; 851*724ba675SRob Herring 852*724ba675SRob Herring rtc@51 { 853*724ba675SRob Herring /* in-chip rtc disabled, use external rtc (battery-backed) */ 854*724ba675SRob Herring compatible = "nxp,pcf85263"; 855*724ba675SRob Herring reg = <0x51>; 856*724ba675SRob Herring }; 857*724ba675SRob Herring}; 858*724ba675SRob Herring 859*724ba675SRob Herring&i2c7 { 860*724ba675SRob Herring status = "okay"; 861*724ba675SRob Herring 862*724ba675SRob Herring eeprom@54 { 863*724ba675SRob Herring compatible = "atmel,24c64"; 864*724ba675SRob Herring reg = <0x54>; 865*724ba675SRob Herring }; 866*724ba675SRob Herring}; 867*724ba675SRob Herring 868*724ba675SRob Herring&i2c9 { 869*724ba675SRob Herring status = "okay"; 870*724ba675SRob Herring 871*724ba675SRob Herring tmp421@4f { 872*724ba675SRob Herring compatible = "ti,tmp421"; 873*724ba675SRob Herring reg = <0x4f>; 874*724ba675SRob Herring }; 875*724ba675SRob Herring}; 876*724ba675SRob Herring 877*724ba675SRob Herring&i2c10 { 878*724ba675SRob Herring status = "okay"; 879*724ba675SRob Herring 880*724ba675SRob Herring tmp421@4f { 881*724ba675SRob Herring compatible = "ti,tmp421"; 882*724ba675SRob Herring reg = <0x4f>; 883*724ba675SRob Herring }; 884*724ba675SRob Herring 885*724ba675SRob Herring front_leds: pca9552@67 { 886*724ba675SRob Herring compatible = "nxp,pca9552"; 887*724ba675SRob Herring reg = <0x67>; 888*724ba675SRob Herring #address-cells = <1>; 889*724ba675SRob Herring #size-cells = <0>; 890*724ba675SRob Herring gpio-controller; 891*724ba675SRob Herring #gpio-cells = <2>; 892*724ba675SRob Herring 893*724ba675SRob Herring gpio-line-names = 894*724ba675SRob Herring "led-fault-identify","power-p5v-stby-good", 895*724ba675SRob Herring "power-p1v0-dvdd-good","power-p1v0-avdd-good", 896*724ba675SRob Herring "","","","", 897*724ba675SRob Herring "","","","", 898*724ba675SRob Herring "","","",""; 899*724ba675SRob Herring }; 900*724ba675SRob Herring}; 901*724ba675SRob Herring 902*724ba675SRob Herring&i2c12 { 903*724ba675SRob Herring status = "okay"; 904*724ba675SRob Herring 905*724ba675SRob Herring adm1278@11 { 906*724ba675SRob Herring compatible = "adi,adm1278"; 907*724ba675SRob Herring reg = <0x11>; 908*724ba675SRob Herring shunt-resistor-micro-ohms = <300>; 909*724ba675SRob Herring adi,volt-curr-sample-average = <128>; 910*724ba675SRob Herring adi,power-sample-average = <128>; 911*724ba675SRob Herring }; 912*724ba675SRob Herring 913*724ba675SRob Herring tmp421@4c { 914*724ba675SRob Herring compatible = "ti,tmp421"; 915*724ba675SRob Herring reg = <0x4c>; 916*724ba675SRob Herring }; 917*724ba675SRob Herring 918*724ba675SRob Herring tmp421@4d { 919*724ba675SRob Herring compatible = "ti,tmp421"; 920*724ba675SRob Herring reg = <0x4d>; 921*724ba675SRob Herring }; 922*724ba675SRob Herring 923*724ba675SRob Herring fan_leds: pca9552@67 { 924*724ba675SRob Herring compatible = "nxp,pca9552"; 925*724ba675SRob Herring reg = <0x67>; 926*724ba675SRob Herring #address-cells = <1>; 927*724ba675SRob Herring #size-cells = <0>; 928*724ba675SRob Herring gpio-controller; 929*724ba675SRob Herring #gpio-cells = <2>; 930*724ba675SRob Herring 931*724ba675SRob Herring gpio-line-names = 932*724ba675SRob Herring "presence-fan0","presence-fan1", 933*724ba675SRob Herring "presence-fan2","presence-fan3", 934*724ba675SRob Herring "power-fan0-good","power-fan1-good", 935*724ba675SRob Herring "power-fan2-good","power-fan3-good", 936*724ba675SRob Herring "","","","", 937*724ba675SRob Herring "","","",""; 938*724ba675SRob Herring }; 939*724ba675SRob Herring}; 940*724ba675SRob Herring 941*724ba675SRob Herring&i2c13 { 942*724ba675SRob Herring multi-master; 943*724ba675SRob Herring aspeed,hw-timeout-ms = <1000>; 944*724ba675SRob Herring status = "okay"; 945*724ba675SRob Herring 946*724ba675SRob Herring //USB Debug Connector 947*724ba675SRob Herring ipmb13@10 { 948*724ba675SRob Herring compatible = "ipmb-dev"; 949*724ba675SRob Herring reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; 950*724ba675SRob Herring i2c-protocol; 951*724ba675SRob Herring }; 952*724ba675SRob Herring}; 953*724ba675SRob Herring 954*724ba675SRob Herring&gpio0 { 955*724ba675SRob Herring pinctrl-names = "default"; 956*724ba675SRob Herring pinctrl-0 = <&pinctrl_gpiov2_unbiased_default>; 957*724ba675SRob Herring 958*724ba675SRob Herring gpio-line-names = 959*724ba675SRob Herring /*A0-A7*/ "","","","","","","","", 960*724ba675SRob Herring /*B0-B7*/ "FUSB302_SLED1_INT_N","FUSB302_SLED2_INT_N", 961*724ba675SRob Herring "SEL_SPI2_MUX","SPI2_MUX1", 962*724ba675SRob Herring "SPI2_MUX2","SPI2_MUX3", 963*724ba675SRob Herring "","FUSB302_SLED3_INT_N", 964*724ba675SRob Herring /*C0-C7*/ "","","","","","","","", 965*724ba675SRob Herring /*D0-D7*/ "","","","","","","","", 966*724ba675SRob Herring /*E0-E7*/ "","","","","","","","", 967*724ba675SRob Herring /*F0-F7*/ "BMC_SLED1_STCK","BMC_SLED2_STCK", 968*724ba675SRob Herring "BMC_SLED3_STCK","BMC_SLED4_STCK", 969*724ba675SRob Herring "BMC_SLED5_STCK","BMC_SLED6_STCK", 970*724ba675SRob Herring "","", 971*724ba675SRob Herring /*G0-G7*/ "BSM_FRU_WP","SWITCH_FRU_MUX","","FM_SOL_UART_CH_SEL", 972*724ba675SRob Herring "PWRGD_P1V05_VDDCORE","PWRGD_P1V5_VDD","","", 973*724ba675SRob Herring /*H0-H7*/ "presence-riser1","presence-riser2", 974*724ba675SRob Herring "presence-sled1","presence-sled2", 975*724ba675SRob Herring "presence-sled3","presence-sled4", 976*724ba675SRob Herring "presence-sled5","presence-sled6", 977*724ba675SRob Herring /*I0-I7*/ "REV_ID0","", 978*724ba675SRob Herring "REV_ID1","REV_ID2", 979*724ba675SRob Herring "","BSM_FLASH_WP_STATUS", 980*724ba675SRob Herring "BMC_TPM_PRES_N","FUSB302_SLED6_INT_N", 981*724ba675SRob Herring /*J0-J7*/ "","","","","","","","", 982*724ba675SRob Herring /*K0-K7*/ "","","","","","","","", 983*724ba675SRob Herring /*L0-L7*/ "","","","","","BMC_RTC_INT","","", 984*724ba675SRob Herring /*M0-M7*/ "ALERT_SLED1_N","ALERT_SLED2_N", 985*724ba675SRob Herring "ALERT_SLED3_N","ALERT_SLED4_N", 986*724ba675SRob Herring "ALERT_SLED5_N","ALERT_SLED6_N", 987*724ba675SRob Herring "","USB_DEBUG_PWR_BTN_N", 988*724ba675SRob Herring /*N0-N7*/ "LED_POSTCODE_0","LED_POSTCODE_1", 989*724ba675SRob Herring "LED_POSTCODE_2","LED_POSTCODE_3", 990*724ba675SRob Herring "LED_POSTCODE_4","LED_POSTCODE_5", 991*724ba675SRob Herring "LED_POSTCODE_6","LED_POSTCODE_7", 992*724ba675SRob Herring /*O0-O7*/ "","","","", 993*724ba675SRob Herring "","BOARD_ID0","BOARD_ID1","BOARD_ID2", 994*724ba675SRob Herring /*P0-P7*/ "","","","","","","","BMC_HEARTBEAT", 995*724ba675SRob Herring /*Q0-Q7*/ "","","","","","","","", 996*724ba675SRob Herring /*R0-R7*/ "","","","","","","","", 997*724ba675SRob Herring /*S0-S7*/ "","","","BAT_DETECT", 998*724ba675SRob Herring "BMC_BT_WP0_N","BMC_BT_WP1_N","","FUSB302_SLED4_INT_N", 999*724ba675SRob Herring /*T0-T7*/ "","","","","","","","", 1000*724ba675SRob Herring /*U0-U7*/ "","","","","","","","", 1001*724ba675SRob Herring /*V0-V7*/ "PWRGD_CNS_PSU","RST_BMC_MVL_N", 1002*724ba675SRob Herring "P12V_AUX_ALERT1_N","PSU_PRSNT", 1003*724ba675SRob Herring "USB2_SEL0_A","USB2_SEL1_A", 1004*724ba675SRob Herring "USB2_SEL0_B","USB2_SEL1_B", 1005*724ba675SRob Herring /*W0-W7*/ "RST_FRONT_IOEXP_N","","","","","","","", 1006*724ba675SRob Herring /*X0-X7*/ "","","","","","","","", 1007*724ba675SRob Herring /*Y0-Y7*/ "BMC_SELF_HW_RST","BSM_PRSNT_N", 1008*724ba675SRob Herring "BSM_FLASH_LATCH_N","FUSB302_SLED5_INT_N", 1009*724ba675SRob Herring "","","","", 1010*724ba675SRob Herring /*Z0-Z7*/ "","","","","","","",""; 1011*724ba675SRob Herring}; 1012*724ba675SRob Herring 1013*724ba675SRob Herring&adc0 { 1014*724ba675SRob Herring vref = <1800>; 1015*724ba675SRob Herring status = "okay"; 1016*724ba675SRob Herring 1017*724ba675SRob Herring pinctrl-names = "default"; 1018*724ba675SRob Herring pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default 1019*724ba675SRob Herring &pinctrl_adc2_default &pinctrl_adc3_default 1020*724ba675SRob Herring &pinctrl_adc4_default &pinctrl_adc5_default 1021*724ba675SRob Herring &pinctrl_adc6_default &pinctrl_adc7_default>; 1022*724ba675SRob Herring}; 1023*724ba675SRob Herring 1024*724ba675SRob Herring&adc1 { 1025*724ba675SRob Herring vref = <2500>; 1026*724ba675SRob Herring status = "okay"; 1027*724ba675SRob Herring 1028*724ba675SRob Herring pinctrl-names = "default"; 1029*724ba675SRob Herring pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default 1030*724ba675SRob Herring &pinctrl_adc10_default &pinctrl_adc11_default 1031*724ba675SRob Herring &pinctrl_adc12_default &pinctrl_adc13_default 1032*724ba675SRob Herring &pinctrl_adc14_default &pinctrl_adc15_default>; 1033*724ba675SRob Herring}; 1034*724ba675SRob Herring 1035*724ba675SRob Herring&mdio0 { 1036*724ba675SRob Herring status = "okay"; 1037*724ba675SRob Herring /* TODO: Add Marvell 88E6191X */ 1038*724ba675SRob Herring}; 1039*724ba675SRob Herring 1040*724ba675SRob Herring&mdio3 { 1041*724ba675SRob Herring status = "okay"; 1042*724ba675SRob Herring /* TODO: Add Marvell 88X3310 */ 1043*724ba675SRob Herring}; 1044*724ba675SRob Herring 1045*724ba675SRob Herring&ehci0 { 1046*724ba675SRob Herring status = "okay"; 1047*724ba675SRob Herring}; 1048*724ba675SRob Herring 1049*724ba675SRob Herring&ehci1 { 1050*724ba675SRob Herring status = "okay"; 1051*724ba675SRob Herring}; 1052*724ba675SRob Herring 1053*724ba675SRob Herring&emmc_controller { 1054*724ba675SRob Herring status = "okay"; 1055*724ba675SRob Herring}; 1056*724ba675SRob Herring 1057*724ba675SRob Herring&emmc { 1058*724ba675SRob Herring status = "okay"; 1059*724ba675SRob Herring}; 1060*724ba675SRob Herring 1061*724ba675SRob Herring&pinctrl { 1062*724ba675SRob Herring pinctrl_gpiov2_unbiased_default: gpiov2 { 1063*724ba675SRob Herring pins = "AD14"; 1064*724ba675SRob Herring bias-disable; 1065*724ba675SRob Herring }; 1066*724ba675SRob Herring}; 1067*724ba675SRob Herring 1068*724ba675SRob Herring&wdt1 { 1069*724ba675SRob Herring status = "okay"; 1070*724ba675SRob Herring pinctrl-names = "default"; 1071*724ba675SRob Herring pinctrl-0 = <&pinctrl_wdtrst1_default>; 1072*724ba675SRob Herring aspeed,reset-type = "soc"; 1073*724ba675SRob Herring aspeed,external-signal; 1074*724ba675SRob Herring aspeed,ext-push-pull; 1075*724ba675SRob Herring aspeed,ext-active-high; 1076*724ba675SRob Herring aspeed,ext-pulse-duration = <256>; 1077*724ba675SRob Herring}; 1078