1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+ 2*f126890aSEmmanuel Vadot/dts-v1/; 3*f126890aSEmmanuel Vadot 4*f126890aSEmmanuel Vadot#include "aspeed-g5.dtsi" 5*f126890aSEmmanuel Vadot#include <dt-bindings/gpio/aspeed-gpio.h> 6*f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h> 7*f126890aSEmmanuel Vadot 8*f126890aSEmmanuel Vadot/ { 9*f126890aSEmmanuel Vadot model = "Tyan S8036 BMC"; 10*f126890aSEmmanuel Vadot compatible = "tyan,s8036-bmc", "aspeed,ast2500"; 11*f126890aSEmmanuel Vadot 12*f126890aSEmmanuel Vadot chosen { 13*f126890aSEmmanuel Vadot stdout-path = &uart5; 14*f126890aSEmmanuel Vadot bootargs = "console=ttyS4,115200 earlycon"; 15*f126890aSEmmanuel Vadot }; 16*f126890aSEmmanuel Vadot 17*f126890aSEmmanuel Vadot memory@80000000 { 18*f126890aSEmmanuel Vadot device_type = "memory"; 19*f126890aSEmmanuel Vadot reg = <0x80000000 0x20000000>; 20*f126890aSEmmanuel Vadot }; 21*f126890aSEmmanuel Vadot 22*f126890aSEmmanuel Vadot reserved-memory { 23*f126890aSEmmanuel Vadot #address-cells = <1>; 24*f126890aSEmmanuel Vadot #size-cells = <1>; 25*f126890aSEmmanuel Vadot ranges; 26*f126890aSEmmanuel Vadot 27*f126890aSEmmanuel Vadot p2a_memory: region@987f0000 { 28*f126890aSEmmanuel Vadot no-map; 29*f126890aSEmmanuel Vadot reg = <0x987f0000 0x00010000>; /* 64KB */ 30*f126890aSEmmanuel Vadot }; 31*f126890aSEmmanuel Vadot 32*f126890aSEmmanuel Vadot vga_memory: framebuffer@9f000000 { 33*f126890aSEmmanuel Vadot no-map; 34*f126890aSEmmanuel Vadot reg = <0x9f000000 0x01000000>; /* 16M */ 35*f126890aSEmmanuel Vadot }; 36*f126890aSEmmanuel Vadot 37*f126890aSEmmanuel Vadot gfx_memory: framebuffer { 38*f126890aSEmmanuel Vadot size = <0x01000000>; /* 16M */ 39*f126890aSEmmanuel Vadot alignment = <0x01000000>; 40*f126890aSEmmanuel Vadot compatible = "shared-dma-pool"; 41*f126890aSEmmanuel Vadot reusable; 42*f126890aSEmmanuel Vadot }; 43*f126890aSEmmanuel Vadot }; 44*f126890aSEmmanuel Vadot 45*f126890aSEmmanuel Vadot leds { 46*f126890aSEmmanuel Vadot compatible = "gpio-leds"; 47*f126890aSEmmanuel Vadot 48*f126890aSEmmanuel Vadot identify { 49*f126890aSEmmanuel Vadot gpios = <&gpio ASPEED_GPIO(A, 2) GPIO_ACTIVE_LOW>; 50*f126890aSEmmanuel Vadot }; 51*f126890aSEmmanuel Vadot 52*f126890aSEmmanuel Vadot heartbeat { 53*f126890aSEmmanuel Vadot gpios = <&gpio ASPEED_GPIO(E, 7) GPIO_ACTIVE_LOW>; 54*f126890aSEmmanuel Vadot }; 55*f126890aSEmmanuel Vadot }; 56*f126890aSEmmanuel Vadot 57*f126890aSEmmanuel Vadot iio-hwmon { 58*f126890aSEmmanuel Vadot compatible = "iio-hwmon"; 59*f126890aSEmmanuel Vadot io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, 60*f126890aSEmmanuel Vadot <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>, 61*f126890aSEmmanuel Vadot <&adc 8>, <&adc 9>, <&adc 10>, <&adc 11>, 62*f126890aSEmmanuel Vadot <&adc 12>, <&adc 13>, <&adc 14>; 63*f126890aSEmmanuel Vadot }; 64*f126890aSEmmanuel Vadot 65*f126890aSEmmanuel Vadot iio-hwmon-battery { 66*f126890aSEmmanuel Vadot compatible = "iio-hwmon"; 67*f126890aSEmmanuel Vadot io-channels = <&adc 15>; 68*f126890aSEmmanuel Vadot }; 69*f126890aSEmmanuel Vadot}; 70*f126890aSEmmanuel Vadot 71*f126890aSEmmanuel Vadot&fmc { 72*f126890aSEmmanuel Vadot status = "okay"; 73*f126890aSEmmanuel Vadot flash@0 { 74*f126890aSEmmanuel Vadot label = "bmc"; 75*f126890aSEmmanuel Vadot status = "okay"; 76*f126890aSEmmanuel Vadot m25p,fast-read; 77*f126890aSEmmanuel Vadot#include "openbmc-flash-layout.dtsi" 78*f126890aSEmmanuel Vadot }; 79*f126890aSEmmanuel Vadot}; 80*f126890aSEmmanuel Vadot 81*f126890aSEmmanuel Vadot&spi1 { 82*f126890aSEmmanuel Vadot status = "okay"; 83*f126890aSEmmanuel Vadot pinctrl-names = "default"; 84*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_spi1_default>; 85*f126890aSEmmanuel Vadot 86*f126890aSEmmanuel Vadot flash@0 { 87*f126890aSEmmanuel Vadot status = "okay"; 88*f126890aSEmmanuel Vadot label = "pnor"; 89*f126890aSEmmanuel Vadot m25p,fast-read; 90*f126890aSEmmanuel Vadot }; 91*f126890aSEmmanuel Vadot}; 92*f126890aSEmmanuel Vadot 93*f126890aSEmmanuel Vadot&uart1 { 94*f126890aSEmmanuel Vadot /* Rear RS-232 connector */ 95*f126890aSEmmanuel Vadot status = "okay"; 96*f126890aSEmmanuel Vadot pinctrl-names = "default"; 97*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_txd1_default 98*f126890aSEmmanuel Vadot &pinctrl_rxd1_default>; 99*f126890aSEmmanuel Vadot}; 100*f126890aSEmmanuel Vadot 101*f126890aSEmmanuel Vadot&uart2 { 102*f126890aSEmmanuel Vadot /* RS-232 connector on header */ 103*f126890aSEmmanuel Vadot status = "okay"; 104*f126890aSEmmanuel Vadot pinctrl-names = "default"; 105*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_txd2_default 106*f126890aSEmmanuel Vadot &pinctrl_rxd2_default>; 107*f126890aSEmmanuel Vadot}; 108*f126890aSEmmanuel Vadot 109*f126890aSEmmanuel Vadot&uart3 { 110*f126890aSEmmanuel Vadot /* Alternative to vuart to internally connect (route) to uart1 111*f126890aSEmmanuel Vadot * when vuart cannot be used due to BIOS limitations. 112*f126890aSEmmanuel Vadot */ 113*f126890aSEmmanuel Vadot status = "okay"; 114*f126890aSEmmanuel Vadot}; 115*f126890aSEmmanuel Vadot 116*f126890aSEmmanuel Vadot&uart4 { 117*f126890aSEmmanuel Vadot /* Alternative to vuart to internally connect (route) to the 118*f126890aSEmmanuel Vadot * external port usually used by uart1 when vuart cannot be 119*f126890aSEmmanuel Vadot * used due to BIOS limitations. 120*f126890aSEmmanuel Vadot */ 121*f126890aSEmmanuel Vadot status = "okay"; 122*f126890aSEmmanuel Vadot}; 123*f126890aSEmmanuel Vadot 124*f126890aSEmmanuel Vadot&uart5 { 125*f126890aSEmmanuel Vadot /* BMC "debug" (console) UART; connected to RS-232 connector 126*f126890aSEmmanuel Vadot * on header; selectable via jumpers as alternative to uart2 127*f126890aSEmmanuel Vadot */ 128*f126890aSEmmanuel Vadot status = "okay"; 129*f126890aSEmmanuel Vadot}; 130*f126890aSEmmanuel Vadot 131*f126890aSEmmanuel Vadot&uart_routing { 132*f126890aSEmmanuel Vadot status = "okay"; 133*f126890aSEmmanuel Vadot}; 134*f126890aSEmmanuel Vadot 135*f126890aSEmmanuel Vadot&vuart { 136*f126890aSEmmanuel Vadot status = "okay"; 137*f126890aSEmmanuel Vadot 138*f126890aSEmmanuel Vadot /* We enable the VUART here, but leave it in a state that does 139*f126890aSEmmanuel Vadot * not interfere with the SuperIO. The goal is to have both the 140*f126890aSEmmanuel Vadot * VUART and the SuperIO available and decide at runtime whether 141*f126890aSEmmanuel Vadot * the VUART should actually be used. For that reason, configure 142*f126890aSEmmanuel Vadot * an "invalid" IO address and an IRQ that is not used by the 143*f126890aSEmmanuel Vadot * BMC. 144*f126890aSEmmanuel Vadot */ 145*f126890aSEmmanuel Vadot aspeed,lpc-io-reg = <0xffff>; 146*f126890aSEmmanuel Vadot aspeed,lpc-interrupts = <15 IRQ_TYPE_LEVEL_HIGH>; 147*f126890aSEmmanuel Vadot}; 148*f126890aSEmmanuel Vadot 149*f126890aSEmmanuel Vadot&lpc_ctrl { 150*f126890aSEmmanuel Vadot status = "okay"; 151*f126890aSEmmanuel Vadot}; 152*f126890aSEmmanuel Vadot 153*f126890aSEmmanuel Vadot&p2a { 154*f126890aSEmmanuel Vadot status = "okay"; 155*f126890aSEmmanuel Vadot memory-region = <&p2a_memory>; 156*f126890aSEmmanuel Vadot}; 157*f126890aSEmmanuel Vadot 158*f126890aSEmmanuel Vadot&lpc_snoop { 159*f126890aSEmmanuel Vadot status = "okay"; 160*f126890aSEmmanuel Vadot snoop-ports = <0x80>; 161*f126890aSEmmanuel Vadot}; 162*f126890aSEmmanuel Vadot 163*f126890aSEmmanuel Vadot&adc { 164*f126890aSEmmanuel Vadot status = "okay"; 165*f126890aSEmmanuel Vadot}; 166*f126890aSEmmanuel Vadot 167*f126890aSEmmanuel Vadot&vhub { 168*f126890aSEmmanuel Vadot status = "okay"; 169*f126890aSEmmanuel Vadot}; 170*f126890aSEmmanuel Vadot 171*f126890aSEmmanuel Vadot&pwm_tacho { 172*f126890aSEmmanuel Vadot status = "okay"; 173*f126890aSEmmanuel Vadot pinctrl-names = "default"; 174*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_pwm0_default 175*f126890aSEmmanuel Vadot &pinctrl_pwm1_default 176*f126890aSEmmanuel Vadot &pinctrl_pwm3_default 177*f126890aSEmmanuel Vadot &pinctrl_pwm4_default>; 178*f126890aSEmmanuel Vadot 179*f126890aSEmmanuel Vadot /* CPU fan */ 180*f126890aSEmmanuel Vadot fan@0 { 181*f126890aSEmmanuel Vadot reg = <0x00>; 182*f126890aSEmmanuel Vadot aspeed,fan-tach-ch = /bits/ 8 <0x00>; 183*f126890aSEmmanuel Vadot }; 184*f126890aSEmmanuel Vadot 185*f126890aSEmmanuel Vadot /* PWM group for chassis fans #1, #2, #3 and #4 */ 186*f126890aSEmmanuel Vadot fan@2 { 187*f126890aSEmmanuel Vadot reg = <0x03>; 188*f126890aSEmmanuel Vadot aspeed,fan-tach-ch = /bits/ 8 <0x02>; 189*f126890aSEmmanuel Vadot }; 190*f126890aSEmmanuel Vadot 191*f126890aSEmmanuel Vadot fan@3 { 192*f126890aSEmmanuel Vadot reg = <0x03>; 193*f126890aSEmmanuel Vadot aspeed,fan-tach-ch = /bits/ 8 <0x03>; 194*f126890aSEmmanuel Vadot }; 195*f126890aSEmmanuel Vadot 196*f126890aSEmmanuel Vadot fan@4 { 197*f126890aSEmmanuel Vadot reg = <0x03>; 198*f126890aSEmmanuel Vadot aspeed,fan-tach-ch = /bits/ 8 <0x04>; 199*f126890aSEmmanuel Vadot }; 200*f126890aSEmmanuel Vadot 201*f126890aSEmmanuel Vadot fan@5 { 202*f126890aSEmmanuel Vadot reg = <0x03>; 203*f126890aSEmmanuel Vadot aspeed,fan-tach-ch = /bits/ 8 <0x05>; 204*f126890aSEmmanuel Vadot }; 205*f126890aSEmmanuel Vadot 206*f126890aSEmmanuel Vadot /* PWM group for chassis fans #5 and #6 */ 207*f126890aSEmmanuel Vadot fan@6 { 208*f126890aSEmmanuel Vadot reg = <0x04>; 209*f126890aSEmmanuel Vadot aspeed,fan-tach-ch = /bits/ 8 <0x06>; 210*f126890aSEmmanuel Vadot }; 211*f126890aSEmmanuel Vadot 212*f126890aSEmmanuel Vadot fan@7 { 213*f126890aSEmmanuel Vadot reg = <0x04>; 214*f126890aSEmmanuel Vadot aspeed,fan-tach-ch = /bits/ 8 <0x07>; 215*f126890aSEmmanuel Vadot }; 216*f126890aSEmmanuel Vadot}; 217*f126890aSEmmanuel Vadot 218*f126890aSEmmanuel Vadot&i2c0 { 219*f126890aSEmmanuel Vadot /* Directly connected to Sideband-Temperature Sensor Interface (APML) */ 220*f126890aSEmmanuel Vadot status = "okay"; 221*f126890aSEmmanuel Vadot}; 222*f126890aSEmmanuel Vadot 223*f126890aSEmmanuel Vadot&i2c1 { 224*f126890aSEmmanuel Vadot /* Directly connected to IPMB HDR. */ 225*f126890aSEmmanuel Vadot status = "okay"; 226*f126890aSEmmanuel Vadot}; 227*f126890aSEmmanuel Vadot 228*f126890aSEmmanuel Vadot&i2c2 { 229*f126890aSEmmanuel Vadot status = "okay"; 230*f126890aSEmmanuel Vadot 231*f126890aSEmmanuel Vadot /* BMC EEPROM, incl. mainboard FRU */ 232*f126890aSEmmanuel Vadot eeprom@50 { 233*f126890aSEmmanuel Vadot compatible = "atmel,24c256"; 234*f126890aSEmmanuel Vadot reg = <0x50>; 235*f126890aSEmmanuel Vadot }; 236*f126890aSEmmanuel Vadot /* Also connected to: 237*f126890aSEmmanuel Vadot * - BCM5720 238*f126890aSEmmanuel Vadot * - FPGA 239*f126890aSEmmanuel Vadot * - FAN HDR 240*f126890aSEmmanuel Vadot * - FPIO HDR 241*f126890aSEmmanuel Vadot */ 242*f126890aSEmmanuel Vadot}; 243*f126890aSEmmanuel Vadot 244*f126890aSEmmanuel Vadot&i2c3 { 245*f126890aSEmmanuel Vadot status = "okay"; 246*f126890aSEmmanuel Vadot 247*f126890aSEmmanuel Vadot /* PSU1 FRU @ 0xA0 */ 248*f126890aSEmmanuel Vadot eeprom@50 { 249*f126890aSEmmanuel Vadot compatible = "atmel,24c02"; 250*f126890aSEmmanuel Vadot reg = <0x50>; 251*f126890aSEmmanuel Vadot }; 252*f126890aSEmmanuel Vadot 253*f126890aSEmmanuel Vadot /* PSU2 FRU @ 0xA2 */ 254*f126890aSEmmanuel Vadot eeprom@51 { 255*f126890aSEmmanuel Vadot compatible = "atmel,24c02"; 256*f126890aSEmmanuel Vadot reg = <0x51>; 257*f126890aSEmmanuel Vadot }; 258*f126890aSEmmanuel Vadot 259*f126890aSEmmanuel Vadot /* PSU1 @ 0xB0 */ 260*f126890aSEmmanuel Vadot power-supply@58 { 261*f126890aSEmmanuel Vadot compatible = "pmbus"; 262*f126890aSEmmanuel Vadot reg = <0x58>; 263*f126890aSEmmanuel Vadot }; 264*f126890aSEmmanuel Vadot 265*f126890aSEmmanuel Vadot /* PSU2 @ 0xB2 */ 266*f126890aSEmmanuel Vadot power-supply@59 { 267*f126890aSEmmanuel Vadot compatible = "pmbus"; 268*f126890aSEmmanuel Vadot reg = <0x59>; 269*f126890aSEmmanuel Vadot }; 270*f126890aSEmmanuel Vadot 271*f126890aSEmmanuel Vadot}; 272*f126890aSEmmanuel Vadot 273*f126890aSEmmanuel Vadot&i2c4 { 274*f126890aSEmmanuel Vadot status = "okay"; 275*f126890aSEmmanuel Vadot}; 276*f126890aSEmmanuel Vadot 277*f126890aSEmmanuel Vadot&i2c5 { 278*f126890aSEmmanuel Vadot status = "okay"; 279*f126890aSEmmanuel Vadot /* Hardware monitor with temperature sensors */ 280*f126890aSEmmanuel Vadot nct7802@28 { 281*f126890aSEmmanuel Vadot compatible = "nuvoton,nct7802"; 282*f126890aSEmmanuel Vadot reg = <0x28>; 283*f126890aSEmmanuel Vadot #address-cells = <1>; 284*f126890aSEmmanuel Vadot #size-cells = <0>; 285*f126890aSEmmanuel Vadot 286*f126890aSEmmanuel Vadot channel@0 { /* LTD */ 287*f126890aSEmmanuel Vadot reg = <0>; 288*f126890aSEmmanuel Vadot status = "okay"; 289*f126890aSEmmanuel Vadot }; 290*f126890aSEmmanuel Vadot 291*f126890aSEmmanuel Vadot channel@1 { /* RTD1 */ 292*f126890aSEmmanuel Vadot reg = <1>; 293*f126890aSEmmanuel Vadot status = "okay"; 294*f126890aSEmmanuel Vadot sensor-type = "temperature"; 295*f126890aSEmmanuel Vadot temperature-mode = "thermistor"; 296*f126890aSEmmanuel Vadot }; 297*f126890aSEmmanuel Vadot 298*f126890aSEmmanuel Vadot channel@2 { /* RTD2 */ 299*f126890aSEmmanuel Vadot reg = <2>; 300*f126890aSEmmanuel Vadot status = "okay"; 301*f126890aSEmmanuel Vadot sensor-type = "temperature"; 302*f126890aSEmmanuel Vadot temperature-mode = "thermistor"; 303*f126890aSEmmanuel Vadot }; 304*f126890aSEmmanuel Vadot 305*f126890aSEmmanuel Vadot channel@3 { /* RTD3 */ 306*f126890aSEmmanuel Vadot reg = <3>; 307*f126890aSEmmanuel Vadot status = "okay"; 308*f126890aSEmmanuel Vadot sensor-type = "temperature"; 309*f126890aSEmmanuel Vadot }; 310*f126890aSEmmanuel Vadot }; 311*f126890aSEmmanuel Vadot 312*f126890aSEmmanuel Vadot /* Also connected to: 313*f126890aSEmmanuel Vadot * - PCA9544 314*f126890aSEmmanuel Vadot * - CLK BUFF 315*f126890aSEmmanuel Vadot * - OCP FRU 316*f126890aSEmmanuel Vadot */ 317*f126890aSEmmanuel Vadot}; 318*f126890aSEmmanuel Vadot 319*f126890aSEmmanuel Vadot&i2c6 { 320*f126890aSEmmanuel Vadot status = "okay"; 321*f126890aSEmmanuel Vadot /* Connected to: 322*f126890aSEmmanuel Vadot * - PCA9548 @0xE0 323*f126890aSEmmanuel Vadot * - PCA9548 @0xE2 324*f126890aSEmmanuel Vadot * - PCA9544 @0xE4 325*f126890aSEmmanuel Vadot */ 326*f126890aSEmmanuel Vadot}; 327*f126890aSEmmanuel Vadot 328*f126890aSEmmanuel Vadot&i2c7 { 329*f126890aSEmmanuel Vadot status = "okay"; 330*f126890aSEmmanuel Vadot 331*f126890aSEmmanuel Vadot /* Connected to: 332*f126890aSEmmanuel Vadot * - PCH SMBUS #4 333*f126890aSEmmanuel Vadot */ 334*f126890aSEmmanuel Vadot}; 335*f126890aSEmmanuel Vadot 336*f126890aSEmmanuel Vadot&i2c8 { 337*f126890aSEmmanuel Vadot status = "okay"; 338*f126890aSEmmanuel Vadot 339*f126890aSEmmanuel Vadot /* Not connected */ 340*f126890aSEmmanuel Vadot}; 341*f126890aSEmmanuel Vadot 342*f126890aSEmmanuel Vadot&mac0 { 343*f126890aSEmmanuel Vadot status = "okay"; 344*f126890aSEmmanuel Vadot use-ncsi; 345*f126890aSEmmanuel Vadot pinctrl-names = "default"; 346*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_rmii1_default>; 347*f126890aSEmmanuel Vadot}; 348*f126890aSEmmanuel Vadot 349*f126890aSEmmanuel Vadot&mac1 { 350*f126890aSEmmanuel Vadot status = "okay"; 351*f126890aSEmmanuel Vadot pinctrl-names = "default"; 352*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>; 353*f126890aSEmmanuel Vadot}; 354*f126890aSEmmanuel Vadot 355*f126890aSEmmanuel Vadot&ibt { 356*f126890aSEmmanuel Vadot status = "okay"; 357*f126890aSEmmanuel Vadot}; 358*f126890aSEmmanuel Vadot 359*f126890aSEmmanuel Vadot&kcs1 { 360*f126890aSEmmanuel Vadot status = "okay"; 361*f126890aSEmmanuel Vadot aspeed,lpc-io-reg = <0xca8>; 362*f126890aSEmmanuel Vadot}; 363*f126890aSEmmanuel Vadot 364*f126890aSEmmanuel Vadot&kcs3 { 365*f126890aSEmmanuel Vadot status = "okay"; 366*f126890aSEmmanuel Vadot aspeed,lpc-io-reg = <0xca2>; 367*f126890aSEmmanuel Vadot aspeed,lpc-interrupts = <1 IRQ_TYPE_LEVEL_HIGH>; 368*f126890aSEmmanuel Vadot}; 369*f126890aSEmmanuel Vadot 370*f126890aSEmmanuel Vadot/* Enable BMC VGA output to show an early (pre-BIOS) boot screen */ 371*f126890aSEmmanuel Vadot&gfx { 372*f126890aSEmmanuel Vadot status = "okay"; 373*f126890aSEmmanuel Vadot memory-region = <&gfx_memory>; 374*f126890aSEmmanuel Vadot}; 375*f126890aSEmmanuel Vadot 376*f126890aSEmmanuel Vadot/* We're following the GPIO naming as defined at 377*f126890aSEmmanuel Vadot * https://github.com/openbmc/docs/blob/master/designs/device-tree-gpio-naming.md. 378*f126890aSEmmanuel Vadot * 379*f126890aSEmmanuel Vadot * Notes on led-identify and id-button: 380*f126890aSEmmanuel Vadot * - A physical button is connected to id-button which 381*f126890aSEmmanuel Vadot * triggers the clock on a D flip-flop. The /Q output of the 382*f126890aSEmmanuel Vadot * flip-flop drives its D input. 383*f126890aSEmmanuel Vadot * - The flip-flop's Q output drives led-identify which is 384*f126890aSEmmanuel Vadot * connected to LEDs. 385*f126890aSEmmanuel Vadot * - With that, every button press toggles the LED between on and off. 386*f126890aSEmmanuel Vadot * 387*f126890aSEmmanuel Vadot * Notes on power-, reset- and nmi- button and control: 388*f126890aSEmmanuel Vadot * - The -button signals can be used to monitor physical buttons. 389*f126890aSEmmanuel Vadot * - The -control signals can be used to actuate the specific 390*f126890aSEmmanuel Vadot * operation. 391*f126890aSEmmanuel Vadot * - In hardware, the -button signals are connected to the -control 392*f126890aSEmmanuel Vadot * signals through drivers with the -control signals being 393*f126890aSEmmanuel Vadot * protected through diodes. 394*f126890aSEmmanuel Vadot */ 395*f126890aSEmmanuel Vadot&gpio { 396*f126890aSEmmanuel Vadot status = "okay"; 397*f126890aSEmmanuel Vadot gpio-line-names = 398*f126890aSEmmanuel Vadot /*A0*/ "", 399*f126890aSEmmanuel Vadot /*A1*/ "", 400*f126890aSEmmanuel Vadot /*A2*/ "led-identify", /* in/out: BMC_CHASSIS_ID_LED_L */ 401*f126890aSEmmanuel Vadot /*A3*/ "", 402*f126890aSEmmanuel Vadot /*A4*/ "", 403*f126890aSEmmanuel Vadot /*A5*/ "", 404*f126890aSEmmanuel Vadot /*A6*/ "", 405*f126890aSEmmanuel Vadot /*A7*/ "", 406*f126890aSEmmanuel Vadot /*B0-B7*/ "","","","","","","","", 407*f126890aSEmmanuel Vadot /*C0-C7*/ "","","","","","","","", 408*f126890aSEmmanuel Vadot /*D0*/ "", 409*f126890aSEmmanuel Vadot /*D1*/ "", 410*f126890aSEmmanuel Vadot /*D2*/ "power-chassis-good", /* in: PWR_GOOD_LED -- Check if this is Z3?*/ 411*f126890aSEmmanuel Vadot /*D3*/ "platform-reset", /* in: RESET_LED_L */ 412*f126890aSEmmanuel Vadot /*D4*/ "", 413*f126890aSEmmanuel Vadot /*D5*/ "", 414*f126890aSEmmanuel Vadot /*D6*/ "", 415*f126890aSEmmanuel Vadot /*D7*/ "", 416*f126890aSEmmanuel Vadot /*E0*/ "power-button", /* in: BMC_SYS_MON_PWR_BTN_L */ 417*f126890aSEmmanuel Vadot /*E1*/ "power-chassis-control", /* out: BMC_ASSERT_PWR_BTN */ 418*f126890aSEmmanuel Vadot /*E2*/ "reset-button", /* in: BMC_SYS_MOS_RST_BTN_L*/ 419*f126890aSEmmanuel Vadot /*E3*/ "reset-control", /* out: BMC_ASSERT_RST_BTN */ 420*f126890aSEmmanuel Vadot /*E4*/ "nmi-button", /* in: BMC_SYS_MON_NMI_BTN_L */ 421*f126890aSEmmanuel Vadot /*E5*/ "nmi-control", /* out: BMC_ASSERT_NMI_BTN */ 422*f126890aSEmmanuel Vadot /*E6*/ "TSI_RESERT", 423*f126890aSEmmanuel Vadot /*E7*/ "led-heartbeat", /* out: BMC_GPIOE7 */ 424*f126890aSEmmanuel Vadot /*F0*/ "", 425*f126890aSEmmanuel Vadot /*F1*/ "clear-cmos-control", /* out: BMC_ASSERT_CLR_CMOS_L */ 426*f126890aSEmmanuel Vadot /*F2*/ "", 427*f126890aSEmmanuel Vadot /*F3*/ "", 428*f126890aSEmmanuel Vadot /*F4*/ "led-fault", /* out: BMC_HWM_FAULT_LED_L */ 429*f126890aSEmmanuel Vadot /*F5*/ "BMC_SYS_FAULT_LED_L", 430*f126890aSEmmanuel Vadot /*F6*/ "BMC_ASSERT_BIOS_WP_L", 431*f126890aSEmmanuel Vadot /*F7*/ "", 432*f126890aSEmmanuel Vadot /*G0-G7*/ "","","","","","","","", 433*f126890aSEmmanuel Vadot /*H0-H7*/ "","","","","","","","", 434*f126890aSEmmanuel Vadot /*I0-I7*/ "","","","","","","","", 435*f126890aSEmmanuel Vadot /*J0-J7*/ "","","","","","","","", 436*f126890aSEmmanuel Vadot /*K0-K7*/ "","","","","","","","", 437*f126890aSEmmanuel Vadot /*L0-L7*/ "","","","","","","","", 438*f126890aSEmmanuel Vadot /*M0-M7*/ "","","","","","","","", 439*f126890aSEmmanuel Vadot /*N0-N7*/ "","","","","","","","", 440*f126890aSEmmanuel Vadot /*O0-O7*/ "","","","","","","","", 441*f126890aSEmmanuel Vadot /*P0-P7*/ "","","","","","","","", 442*f126890aSEmmanuel Vadot /*Q0*/ "", 443*f126890aSEmmanuel Vadot /*Q1*/ "", 444*f126890aSEmmanuel Vadot /*Q2*/ "", 445*f126890aSEmmanuel Vadot /*Q3*/ "", 446*f126890aSEmmanuel Vadot /*Q4*/ "", 447*f126890aSEmmanuel Vadot /*Q5*/ "", 448*f126890aSEmmanuel Vadot /*Q6*/ "id-button", /* in: BMC_CHASSIS_ID_BTN_L */ 449*f126890aSEmmanuel Vadot /*Q7*/ "", 450*f126890aSEmmanuel Vadot /*R0-R7*/ "","","","","","","","", 451*f126890aSEmmanuel Vadot /*S0-S7*/ "","","","","","","","", 452*f126890aSEmmanuel Vadot /*T0-T7*/ "","","","","","","","", 453*f126890aSEmmanuel Vadot /*U0-U7*/ "","","","","","","","", 454*f126890aSEmmanuel Vadot /*V0-V7*/ "","","","","","","","", 455*f126890aSEmmanuel Vadot /*W0-W7*/ "","","","","","","","", 456*f126890aSEmmanuel Vadot /*X0-X7*/ "","","","","","","","", 457*f126890aSEmmanuel Vadot /*Y0-Y7*/ "","","","","","","","", 458*f126890aSEmmanuel Vadot /*Z0-Z2*/ "","","", 459*f126890aSEmmanuel Vadot /*Z3*/ "post-complete", /* BMC_SYS_MON_PWROK */ 460*f126890aSEmmanuel Vadot /*Z4-Z7*/ "","","","", 461*f126890aSEmmanuel Vadot /*AA0*/ "", 462*f126890aSEmmanuel Vadot /*AA1*/ "", 463*f126890aSEmmanuel Vadot /*AA2*/ "", 464*f126890aSEmmanuel Vadot /*AA3*/ "", 465*f126890aSEmmanuel Vadot /*AA4*/ "", 466*f126890aSEmmanuel Vadot /*AA5*/ "", 467*f126890aSEmmanuel Vadot /*AA6*/ "", 468*f126890aSEmmanuel Vadot /*AA7*/ "BMC_ASSERT_BMC_READY", 469*f126890aSEmmanuel Vadot /*AB0*/ "BMC_SPD_SEL", 470*f126890aSEmmanuel Vadot /*AB1-AB7*/ "","","","","","",""; 471*f126890aSEmmanuel Vadot}; 472