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