1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+ 2*f126890aSEmmanuel Vadot/dts-v1/; 3*f126890aSEmmanuel Vadot 4*f126890aSEmmanuel Vadot#include "aspeed-g4.dtsi" 5*f126890aSEmmanuel Vadot#include <dt-bindings/gpio/aspeed-gpio.h> 6*f126890aSEmmanuel Vadot 7*f126890aSEmmanuel Vadot#define EFUSE_OUTPUT(n) \ 8*f126890aSEmmanuel Vadot efuse##n { \ 9*f126890aSEmmanuel Vadot compatible = "regulator-output"; \ 10*f126890aSEmmanuel Vadot vout-supply = <&efuse##n>; \ 11*f126890aSEmmanuel Vadot } 12*f126890aSEmmanuel Vadot 13*f126890aSEmmanuel Vadot#define __stringify(x) #x 14*f126890aSEmmanuel Vadot 15*f126890aSEmmanuel Vadot#define EFUSE(hexaddr, num) \ 16*f126890aSEmmanuel Vadot efuse@##hexaddr { \ 17*f126890aSEmmanuel Vadot compatible = "lm25066"; \ 18*f126890aSEmmanuel Vadot reg = <0x##hexaddr>; \ 19*f126890aSEmmanuel Vadot shunt-resistor-micro-ohms = <675>; \ 20*f126890aSEmmanuel Vadot regulators { \ 21*f126890aSEmmanuel Vadot efuse##num: vout0 { \ 22*f126890aSEmmanuel Vadot regulator-name = __stringify(efuse##num##-reg); \ 23*f126890aSEmmanuel Vadot }; \ 24*f126890aSEmmanuel Vadot }; \ 25*f126890aSEmmanuel Vadot } 26*f126890aSEmmanuel Vadot 27*f126890aSEmmanuel Vadot/{ 28*f126890aSEmmanuel Vadot model = "Delta Power AHE-50DC"; 29*f126890aSEmmanuel Vadot compatible = "delta,ahe50dc-bmc", "aspeed,ast2400"; 30*f126890aSEmmanuel Vadot 31*f126890aSEmmanuel Vadot aliases { 32*f126890aSEmmanuel Vadot serial4 = &uart5; 33*f126890aSEmmanuel Vadot 34*f126890aSEmmanuel Vadot /* 35*f126890aSEmmanuel Vadot * pca9541-arbitrated logical i2c buses are numbered as the 36*f126890aSEmmanuel Vadot * corresponding physical bus plus 20 37*f126890aSEmmanuel Vadot */ 38*f126890aSEmmanuel Vadot i2c20 = &i2carb0; 39*f126890aSEmmanuel Vadot i2c21 = &i2carb1; 40*f126890aSEmmanuel Vadot i2c22 = &i2carb2; 41*f126890aSEmmanuel Vadot i2c23 = &i2carb3; 42*f126890aSEmmanuel Vadot i2c24 = &i2carb4; 43*f126890aSEmmanuel Vadot i2c26 = &i2carb6; 44*f126890aSEmmanuel Vadot i2c27 = &i2carb7; 45*f126890aSEmmanuel Vadot i2c28 = &i2carb8; 46*f126890aSEmmanuel Vadot i2c32 = &i2carb12; 47*f126890aSEmmanuel Vadot }; 48*f126890aSEmmanuel Vadot 49*f126890aSEmmanuel Vadot chosen { 50*f126890aSEmmanuel Vadot stdout-path = &uart3; 51*f126890aSEmmanuel Vadot bootargs = "console=ttyS2,115200n8 earlycon"; 52*f126890aSEmmanuel Vadot }; 53*f126890aSEmmanuel Vadot 54*f126890aSEmmanuel Vadot memory@40000000 { 55*f126890aSEmmanuel Vadot reg = <0x40000000 0x10000000>; 56*f126890aSEmmanuel Vadot }; 57*f126890aSEmmanuel Vadot 58*f126890aSEmmanuel Vadot leds { 59*f126890aSEmmanuel Vadot compatible = "gpio-leds"; 60*f126890aSEmmanuel Vadot 61*f126890aSEmmanuel Vadot heartbeat { 62*f126890aSEmmanuel Vadot gpios = <&gpio ASPEED_GPIO(P, 0) GPIO_ACTIVE_HIGH>; 63*f126890aSEmmanuel Vadot linux,default-trigger = "heartbeat"; 64*f126890aSEmmanuel Vadot }; 65*f126890aSEmmanuel Vadot 66*f126890aSEmmanuel Vadot panic { 67*f126890aSEmmanuel Vadot gpios = <&gpio ASPEED_GPIO(P, 2) GPIO_ACTIVE_HIGH>; 68*f126890aSEmmanuel Vadot linux,default-trigger = "panic"; 69*f126890aSEmmanuel Vadot }; 70*f126890aSEmmanuel Vadot }; 71*f126890aSEmmanuel Vadot 72*f126890aSEmmanuel Vadot iio-hwmon { 73*f126890aSEmmanuel Vadot compatible = "iio-hwmon"; 74*f126890aSEmmanuel Vadot io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>, 75*f126890aSEmmanuel Vadot <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>; 76*f126890aSEmmanuel Vadot }; 77*f126890aSEmmanuel Vadot 78*f126890aSEmmanuel Vadot EFUSE_OUTPUT(01); 79*f126890aSEmmanuel Vadot EFUSE_OUTPUT(02); 80*f126890aSEmmanuel Vadot EFUSE_OUTPUT(03); 81*f126890aSEmmanuel Vadot EFUSE_OUTPUT(04); 82*f126890aSEmmanuel Vadot EFUSE_OUTPUT(05); 83*f126890aSEmmanuel Vadot EFUSE_OUTPUT(06); 84*f126890aSEmmanuel Vadot EFUSE_OUTPUT(07); 85*f126890aSEmmanuel Vadot EFUSE_OUTPUT(08); 86*f126890aSEmmanuel Vadot EFUSE_OUTPUT(09); 87*f126890aSEmmanuel Vadot EFUSE_OUTPUT(10); 88*f126890aSEmmanuel Vadot EFUSE_OUTPUT(11); 89*f126890aSEmmanuel Vadot EFUSE_OUTPUT(12); 90*f126890aSEmmanuel Vadot EFUSE_OUTPUT(13); 91*f126890aSEmmanuel Vadot EFUSE_OUTPUT(14); 92*f126890aSEmmanuel Vadot EFUSE_OUTPUT(15); 93*f126890aSEmmanuel Vadot EFUSE_OUTPUT(16); 94*f126890aSEmmanuel Vadot EFUSE_OUTPUT(17); 95*f126890aSEmmanuel Vadot EFUSE_OUTPUT(18); 96*f126890aSEmmanuel Vadot EFUSE_OUTPUT(19); 97*f126890aSEmmanuel Vadot EFUSE_OUTPUT(20); 98*f126890aSEmmanuel Vadot EFUSE_OUTPUT(21); 99*f126890aSEmmanuel Vadot EFUSE_OUTPUT(22); 100*f126890aSEmmanuel Vadot EFUSE_OUTPUT(23); 101*f126890aSEmmanuel Vadot EFUSE_OUTPUT(24); 102*f126890aSEmmanuel Vadot EFUSE_OUTPUT(25); 103*f126890aSEmmanuel Vadot EFUSE_OUTPUT(26); 104*f126890aSEmmanuel Vadot EFUSE_OUTPUT(27); 105*f126890aSEmmanuel Vadot EFUSE_OUTPUT(28); 106*f126890aSEmmanuel Vadot EFUSE_OUTPUT(29); 107*f126890aSEmmanuel Vadot EFUSE_OUTPUT(30); 108*f126890aSEmmanuel Vadot EFUSE_OUTPUT(31); 109*f126890aSEmmanuel Vadot EFUSE_OUTPUT(32); 110*f126890aSEmmanuel Vadot EFUSE_OUTPUT(33); 111*f126890aSEmmanuel Vadot EFUSE_OUTPUT(34); 112*f126890aSEmmanuel Vadot EFUSE_OUTPUT(35); 113*f126890aSEmmanuel Vadot EFUSE_OUTPUT(36); 114*f126890aSEmmanuel Vadot EFUSE_OUTPUT(37); 115*f126890aSEmmanuel Vadot EFUSE_OUTPUT(38); 116*f126890aSEmmanuel Vadot EFUSE_OUTPUT(39); 117*f126890aSEmmanuel Vadot EFUSE_OUTPUT(40); 118*f126890aSEmmanuel Vadot EFUSE_OUTPUT(41); 119*f126890aSEmmanuel Vadot EFUSE_OUTPUT(42); 120*f126890aSEmmanuel Vadot EFUSE_OUTPUT(43); 121*f126890aSEmmanuel Vadot EFUSE_OUTPUT(44); 122*f126890aSEmmanuel Vadot EFUSE_OUTPUT(45); 123*f126890aSEmmanuel Vadot EFUSE_OUTPUT(46); 124*f126890aSEmmanuel Vadot EFUSE_OUTPUT(47); 125*f126890aSEmmanuel Vadot EFUSE_OUTPUT(48); 126*f126890aSEmmanuel Vadot EFUSE_OUTPUT(49); 127*f126890aSEmmanuel Vadot EFUSE_OUTPUT(50); 128*f126890aSEmmanuel Vadot 129*f126890aSEmmanuel Vadot}; 130*f126890aSEmmanuel Vadot 131*f126890aSEmmanuel Vadot&fmc { 132*f126890aSEmmanuel Vadot status = "okay"; 133*f126890aSEmmanuel Vadot 134*f126890aSEmmanuel Vadot flash@0 { 135*f126890aSEmmanuel Vadot status = "okay"; 136*f126890aSEmmanuel Vadot m25p,fast-read; 137*f126890aSEmmanuel Vadot label = "flash0"; 138*f126890aSEmmanuel Vadot spi-max-frequency = <50000000>; // 50 MHz 139*f126890aSEmmanuel Vadot#include "openbmc-flash-layout.dtsi" 140*f126890aSEmmanuel Vadot }; 141*f126890aSEmmanuel Vadot}; 142*f126890aSEmmanuel Vadot 143*f126890aSEmmanuel Vadot&uart3 { 144*f126890aSEmmanuel Vadot status = "okay"; 145*f126890aSEmmanuel Vadot}; 146*f126890aSEmmanuel Vadot 147*f126890aSEmmanuel Vadot&mac1 { 148*f126890aSEmmanuel Vadot status = "okay"; 149*f126890aSEmmanuel Vadot pinctrl-names = "default"; 150*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>; 151*f126890aSEmmanuel Vadot}; 152*f126890aSEmmanuel Vadot 153*f126890aSEmmanuel Vadot&i2c0 { 154*f126890aSEmmanuel Vadot status = "okay"; 155*f126890aSEmmanuel Vadot bus-frequency = <200000>; 156*f126890aSEmmanuel Vadot 157*f126890aSEmmanuel Vadot pca9541@79 { 158*f126890aSEmmanuel Vadot compatible = "nxp,pca9541"; 159*f126890aSEmmanuel Vadot reg = <0x79>; 160*f126890aSEmmanuel Vadot 161*f126890aSEmmanuel Vadot i2carb0: i2c-arb { 162*f126890aSEmmanuel Vadot #address-cells = <1>; 163*f126890aSEmmanuel Vadot #size-cells = <0>; 164*f126890aSEmmanuel Vadot 165*f126890aSEmmanuel Vadot /* lm25066 efuses @ 10-17, 40-47, 50-57 */ 166*f126890aSEmmanuel Vadot EFUSE(10, 03); 167*f126890aSEmmanuel Vadot EFUSE(11, 04); 168*f126890aSEmmanuel Vadot EFUSE(12, 01); 169*f126890aSEmmanuel Vadot EFUSE(13, 02); 170*f126890aSEmmanuel Vadot EFUSE(14, 13); 171*f126890aSEmmanuel Vadot EFUSE(15, 14); 172*f126890aSEmmanuel Vadot EFUSE(16, 15); 173*f126890aSEmmanuel Vadot EFUSE(17, 16); 174*f126890aSEmmanuel Vadot EFUSE(40, 12); 175*f126890aSEmmanuel Vadot EFUSE(41, 11); 176*f126890aSEmmanuel Vadot EFUSE(42, 10); 177*f126890aSEmmanuel Vadot EFUSE(43, 09); 178*f126890aSEmmanuel Vadot EFUSE(44, 08); 179*f126890aSEmmanuel Vadot EFUSE(45, 07); 180*f126890aSEmmanuel Vadot EFUSE(46, 05); 181*f126890aSEmmanuel Vadot EFUSE(47, 06); 182*f126890aSEmmanuel Vadot EFUSE(50, 17); 183*f126890aSEmmanuel Vadot EFUSE(51, 18); 184*f126890aSEmmanuel Vadot EFUSE(52, 20); 185*f126890aSEmmanuel Vadot EFUSE(53, 19); 186*f126890aSEmmanuel Vadot EFUSE(54, 22); 187*f126890aSEmmanuel Vadot EFUSE(55, 21); 188*f126890aSEmmanuel Vadot EFUSE(56, 24); 189*f126890aSEmmanuel Vadot EFUSE(57, 23); 190*f126890aSEmmanuel Vadot }; 191*f126890aSEmmanuel Vadot }; 192*f126890aSEmmanuel Vadot}; 193*f126890aSEmmanuel Vadot 194*f126890aSEmmanuel Vadot&i2c1 { 195*f126890aSEmmanuel Vadot status = "okay"; 196*f126890aSEmmanuel Vadot bus-frequency = <200000>; 197*f126890aSEmmanuel Vadot 198*f126890aSEmmanuel Vadot pca9541@72 { 199*f126890aSEmmanuel Vadot compatible = "nxp,pca9541"; 200*f126890aSEmmanuel Vadot reg = <0x72>; 201*f126890aSEmmanuel Vadot 202*f126890aSEmmanuel Vadot i2carb1: i2c-arb { 203*f126890aSEmmanuel Vadot #address-cells = <1>; 204*f126890aSEmmanuel Vadot #size-cells = <0>; 205*f126890aSEmmanuel Vadot }; 206*f126890aSEmmanuel Vadot }; 207*f126890aSEmmanuel Vadot}; 208*f126890aSEmmanuel Vadot 209*f126890aSEmmanuel Vadot&i2c2 { 210*f126890aSEmmanuel Vadot status = "okay"; 211*f126890aSEmmanuel Vadot bus-frequency = <200000>; 212*f126890aSEmmanuel Vadot 213*f126890aSEmmanuel Vadot pca9541@73 { 214*f126890aSEmmanuel Vadot compatible = "nxp,pca9541"; 215*f126890aSEmmanuel Vadot reg = <0x73>; 216*f126890aSEmmanuel Vadot 217*f126890aSEmmanuel Vadot i2carb2: i2c-arb { 218*f126890aSEmmanuel Vadot #address-cells = <1>; 219*f126890aSEmmanuel Vadot #size-cells = <0>; 220*f126890aSEmmanuel Vadot }; 221*f126890aSEmmanuel Vadot }; 222*f126890aSEmmanuel Vadot}; 223*f126890aSEmmanuel Vadot 224*f126890aSEmmanuel Vadot&i2c3 { 225*f126890aSEmmanuel Vadot status = "okay"; 226*f126890aSEmmanuel Vadot bus-frequency = <200000>; 227*f126890aSEmmanuel Vadot 228*f126890aSEmmanuel Vadot pca9541@74 { 229*f126890aSEmmanuel Vadot compatible = "nxp,pca9541"; 230*f126890aSEmmanuel Vadot reg = <0x74>; 231*f126890aSEmmanuel Vadot 232*f126890aSEmmanuel Vadot i2carb3: i2c-arb { 233*f126890aSEmmanuel Vadot #address-cells = <1>; 234*f126890aSEmmanuel Vadot #size-cells = <0>; 235*f126890aSEmmanuel Vadot }; 236*f126890aSEmmanuel Vadot }; 237*f126890aSEmmanuel Vadot}; 238*f126890aSEmmanuel Vadot 239*f126890aSEmmanuel Vadot&i2c4 { 240*f126890aSEmmanuel Vadot status = "okay"; 241*f126890aSEmmanuel Vadot bus-frequency = <200000>; 242*f126890aSEmmanuel Vadot 243*f126890aSEmmanuel Vadot pca9541@7a { 244*f126890aSEmmanuel Vadot compatible = "nxp,pca9541"; 245*f126890aSEmmanuel Vadot reg = <0x7a>; 246*f126890aSEmmanuel Vadot 247*f126890aSEmmanuel Vadot i2carb4: i2c-arb { 248*f126890aSEmmanuel Vadot #address-cells = <1>; 249*f126890aSEmmanuel Vadot #size-cells = <0>; 250*f126890aSEmmanuel Vadot 251*f126890aSEmmanuel Vadot gpio@20 { 252*f126890aSEmmanuel Vadot compatible = "nxp,pca9534"; 253*f126890aSEmmanuel Vadot reg = <0x20>; 254*f126890aSEmmanuel Vadot gpio-controller; 255*f126890aSEmmanuel Vadot #gpio-cells = <2>; 256*f126890aSEmmanuel Vadot }; 257*f126890aSEmmanuel Vadot 258*f126890aSEmmanuel Vadot /* lm25066 efuses @ 10-17, 40-47, 50-57, 59, 5a */ 259*f126890aSEmmanuel Vadot EFUSE(10, 27); 260*f126890aSEmmanuel Vadot EFUSE(11, 28); 261*f126890aSEmmanuel Vadot EFUSE(12, 25); 262*f126890aSEmmanuel Vadot EFUSE(13, 26); 263*f126890aSEmmanuel Vadot EFUSE(14, 37); 264*f126890aSEmmanuel Vadot EFUSE(15, 38); 265*f126890aSEmmanuel Vadot EFUSE(16, 39); 266*f126890aSEmmanuel Vadot EFUSE(17, 40); 267*f126890aSEmmanuel Vadot EFUSE(40, 36); 268*f126890aSEmmanuel Vadot EFUSE(41, 35); 269*f126890aSEmmanuel Vadot EFUSE(42, 34); 270*f126890aSEmmanuel Vadot EFUSE(43, 33); 271*f126890aSEmmanuel Vadot EFUSE(44, 32); 272*f126890aSEmmanuel Vadot EFUSE(45, 31); 273*f126890aSEmmanuel Vadot EFUSE(46, 29); 274*f126890aSEmmanuel Vadot EFUSE(47, 30); 275*f126890aSEmmanuel Vadot EFUSE(50, 41); 276*f126890aSEmmanuel Vadot EFUSE(51, 42); 277*f126890aSEmmanuel Vadot EFUSE(52, 44); 278*f126890aSEmmanuel Vadot EFUSE(53, 43); 279*f126890aSEmmanuel Vadot EFUSE(54, 46); 280*f126890aSEmmanuel Vadot EFUSE(55, 45); 281*f126890aSEmmanuel Vadot EFUSE(56, 48); 282*f126890aSEmmanuel Vadot EFUSE(57, 47); 283*f126890aSEmmanuel Vadot EFUSE(59, 49); 284*f126890aSEmmanuel Vadot EFUSE(5a, 50); 285*f126890aSEmmanuel Vadot }; 286*f126890aSEmmanuel Vadot }; 287*f126890aSEmmanuel Vadot}; 288*f126890aSEmmanuel Vadot 289*f126890aSEmmanuel Vadot&i2c6 { 290*f126890aSEmmanuel Vadot status = "okay"; 291*f126890aSEmmanuel Vadot bus-frequency = <200000>; 292*f126890aSEmmanuel Vadot 293*f126890aSEmmanuel Vadot pca9541@75 { 294*f126890aSEmmanuel Vadot compatible = "nxp,pca9541"; 295*f126890aSEmmanuel Vadot reg = <0x75>; 296*f126890aSEmmanuel Vadot 297*f126890aSEmmanuel Vadot i2carb6: i2c-arb { 298*f126890aSEmmanuel Vadot #address-cells = <1>; 299*f126890aSEmmanuel Vadot #size-cells = <0>; 300*f126890aSEmmanuel Vadot }; 301*f126890aSEmmanuel Vadot }; 302*f126890aSEmmanuel Vadot}; 303*f126890aSEmmanuel Vadot 304*f126890aSEmmanuel Vadot&i2c7 { 305*f126890aSEmmanuel Vadot status = "okay"; 306*f126890aSEmmanuel Vadot bus-frequency = <200000>; 307*f126890aSEmmanuel Vadot 308*f126890aSEmmanuel Vadot pca9541@76 { 309*f126890aSEmmanuel Vadot compatible = "nxp,pca9541"; 310*f126890aSEmmanuel Vadot reg = <0x76>; 311*f126890aSEmmanuel Vadot 312*f126890aSEmmanuel Vadot i2carb7: i2c-arb { 313*f126890aSEmmanuel Vadot #address-cells = <1>; 314*f126890aSEmmanuel Vadot #size-cells = <0>; 315*f126890aSEmmanuel Vadot }; 316*f126890aSEmmanuel Vadot }; 317*f126890aSEmmanuel Vadot}; 318*f126890aSEmmanuel Vadot 319*f126890aSEmmanuel Vadot&i2c8 { 320*f126890aSEmmanuel Vadot status = "okay"; 321*f126890aSEmmanuel Vadot bus-frequency = <200000>; 322*f126890aSEmmanuel Vadot 323*f126890aSEmmanuel Vadot pca9541@7c { 324*f126890aSEmmanuel Vadot compatible = "nxp,pca9541"; 325*f126890aSEmmanuel Vadot reg = <0x7c>; 326*f126890aSEmmanuel Vadot 327*f126890aSEmmanuel Vadot i2carb8: i2c-arb { 328*f126890aSEmmanuel Vadot #address-cells = <1>; 329*f126890aSEmmanuel Vadot #size-cells = <0>; 330*f126890aSEmmanuel Vadot 331*f126890aSEmmanuel Vadot fancontrol@30 { 332*f126890aSEmmanuel Vadot compatible = "delta,ahe50dc-fan"; 333*f126890aSEmmanuel Vadot reg = <0x30>; 334*f126890aSEmmanuel Vadot }; 335*f126890aSEmmanuel Vadot 336*f126890aSEmmanuel Vadot /* Baseboard FRU eeprom */ 337*f126890aSEmmanuel Vadot eeprom@50 { 338*f126890aSEmmanuel Vadot compatible = "atmel,24c02"; 339*f126890aSEmmanuel Vadot reg = <0x50>; 340*f126890aSEmmanuel Vadot }; 341*f126890aSEmmanuel Vadot }; 342*f126890aSEmmanuel Vadot }; 343*f126890aSEmmanuel Vadot}; 344*f126890aSEmmanuel Vadot 345*f126890aSEmmanuel Vadot&i2c12 { 346*f126890aSEmmanuel Vadot status = "okay"; 347*f126890aSEmmanuel Vadot bus-frequency = <200000>; 348*f126890aSEmmanuel Vadot 349*f126890aSEmmanuel Vadot pca9541@71 { 350*f126890aSEmmanuel Vadot compatible = "nxp,pca9541"; 351*f126890aSEmmanuel Vadot reg = <0x71>; 352*f126890aSEmmanuel Vadot 353*f126890aSEmmanuel Vadot i2carb12: i2c-arb { 354*f126890aSEmmanuel Vadot #address-cells = <1>; 355*f126890aSEmmanuel Vadot #size-cells = <0>; 356*f126890aSEmmanuel Vadot }; 357*f126890aSEmmanuel Vadot }; 358*f126890aSEmmanuel Vadot}; 359*f126890aSEmmanuel Vadot 360*f126890aSEmmanuel Vadot&gpio { 361*f126890aSEmmanuel Vadot status = "okay"; 362*f126890aSEmmanuel Vadot gpio-line-names = 363*f126890aSEmmanuel Vadot /* A */ "", "", "", "", "", "", "", "", 364*f126890aSEmmanuel Vadot /* B */ "", "", "", "", "", "", "", "", 365*f126890aSEmmanuel Vadot /* C */ "RESET_PEER_N", "HEARTBEAT_OUT", "", "", "", "", "", "", 366*f126890aSEmmanuel Vadot /* D */ "", "", "", "", "", "", "", "", 367*f126890aSEmmanuel Vadot /* E */ "DOOM_N", "", "", "", "", "LED_PWR_BLUE", "", "", 368*f126890aSEmmanuel Vadot /* F */ "", "", "", "", "", "", "", "", 369*f126890aSEmmanuel Vadot /* G */ "", "", "", "", "", "", "", "", 370*f126890aSEmmanuel Vadot /* H */ "", "", "", "", "", "", "", "", 371*f126890aSEmmanuel Vadot /* I */ "", "", "", "", "", "", "", "", 372*f126890aSEmmanuel Vadot /* J */ "", "", "BMC_ID", "", "", "", "", "", 373*f126890aSEmmanuel Vadot /* K */ "", "", "", "", "", "", "", "", 374*f126890aSEmmanuel Vadot /* L */ "", "", "", "", "", "", "", "", 375*f126890aSEmmanuel Vadot /* M */ "", "", "", "", "", "", "", "", 376*f126890aSEmmanuel Vadot /* N */ "", "", "", "", "", "", "", "", 377*f126890aSEmmanuel Vadot /* O */ "", "", "", "", "", "", "", "", 378*f126890aSEmmanuel Vadot /* P */ "LED_GREEN", "", "LED_RED", "", "", "", "", "", 379*f126890aSEmmanuel Vadot /* Q */ "", "", "", "", "", "", "", "", 380*f126890aSEmmanuel Vadot /* R */ "", "", "", "", "", "", "", "", 381*f126890aSEmmanuel Vadot /* S */ "", "", "", "", "", "", "", "", 382*f126890aSEmmanuel Vadot /* T */ "", "", "", "", "", "", "", "", 383*f126890aSEmmanuel Vadot /* U */ "", "", "", "", "", "", "", "", 384*f126890aSEmmanuel Vadot /* V */ "", "", "", "", "", "", "", "", 385*f126890aSEmmanuel Vadot /* W */ "", "", "", "", "", "", "", "", 386*f126890aSEmmanuel Vadot /* X */ "", "", "", "", "", "", "", "", 387*f126890aSEmmanuel Vadot /* Y */ "HEARTBEAT_IN", "BOARDREV0", "BOARDREV1", "", 388*f126890aSEmmanuel Vadot /* Z */ "", "", "", "", "", "", "", "", 389*f126890aSEmmanuel Vadot /* AA */ "", "", "", "", "", "", "", "", 390*f126890aSEmmanuel Vadot /* AB */ "", "", "", ""; 391*f126890aSEmmanuel Vadot 392*f126890aSEmmanuel Vadot /* 393*f126890aSEmmanuel Vadot * I don't rightly know what this GPIO really *is*, but setting it to 394*f126890aSEmmanuel Vadot * zero causes the fans to run at full speed, after which setting it 395*f126890aSEmmanuel Vadot * back to one causes a power output glitch, so install a hog to keep 396*f126890aSEmmanuel Vadot * it at one as a failsafe to ensure nothing accidentally touches it. 397*f126890aSEmmanuel Vadot */ 398*f126890aSEmmanuel Vadot doom-guardrail { 399*f126890aSEmmanuel Vadot gpio-hog; 400*f126890aSEmmanuel Vadot gpios = <ASPEED_GPIO(E, 0) GPIO_ACTIVE_LOW>; 401*f126890aSEmmanuel Vadot output-low; 402*f126890aSEmmanuel Vadot }; 403*f126890aSEmmanuel Vadot}; 404*f126890aSEmmanuel Vadot 405*f126890aSEmmanuel Vadot&adc { 406*f126890aSEmmanuel Vadot status = "okay"; 407*f126890aSEmmanuel Vadot pinctrl-names = "default"; 408*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_adc0_default 409*f126890aSEmmanuel Vadot &pinctrl_adc1_default 410*f126890aSEmmanuel Vadot &pinctrl_adc2_default 411*f126890aSEmmanuel Vadot &pinctrl_adc3_default 412*f126890aSEmmanuel Vadot &pinctrl_adc4_default 413*f126890aSEmmanuel Vadot &pinctrl_adc5_default 414*f126890aSEmmanuel Vadot &pinctrl_adc6_default 415*f126890aSEmmanuel Vadot &pinctrl_adc7_default 416*f126890aSEmmanuel Vadot &pinctrl_adc8_default 417*f126890aSEmmanuel Vadot &pinctrl_adc9_default>; 418*f126890aSEmmanuel Vadot}; 419