1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0+ 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Device Tree file for Lenovo Hr855xg2 platform 4*724ba675SRob Herring * 5*724ba675SRob Herring * Copyright (C) 2019-present Lenovo 6*724ba675SRob Herring */ 7*724ba675SRob Herring 8*724ba675SRob Herring/dts-v1/; 9*724ba675SRob Herring 10*724ba675SRob Herring#include "aspeed-g5.dtsi" 11*724ba675SRob Herring#include <dt-bindings/gpio/aspeed-gpio.h> 12*724ba675SRob Herring 13*724ba675SRob Herring/ { 14*724ba675SRob Herring model = "HR855XG2 BMC"; 15*724ba675SRob Herring compatible = "lenovo,hr855xg2-bmc", "aspeed,ast2500"; 16*724ba675SRob Herring 17*724ba675SRob Herring aliases { 18*724ba675SRob Herring i2c14 = &i2c_riser1; 19*724ba675SRob Herring i2c15 = &i2c_riser2; 20*724ba675SRob Herring i2c16 = &i2c_riser3; 21*724ba675SRob Herring i2c17 = &i2c_M2; 22*724ba675SRob Herring i2c18 = &channel_0; 23*724ba675SRob Herring i2c19 = &channel_1; 24*724ba675SRob Herring i2c20 = &channel_2; 25*724ba675SRob Herring i2c21 = &channel_3; 26*724ba675SRob Herring }; 27*724ba675SRob Herring 28*724ba675SRob Herring chosen { 29*724ba675SRob Herring stdout-path = &uart5; 30*724ba675SRob Herring bootargs = "console=tty0 console=ttyS4,115200 earlycon"; 31*724ba675SRob Herring }; 32*724ba675SRob Herring 33*724ba675SRob Herring memory@80000000 { 34*724ba675SRob Herring device_type = "memory"; 35*724ba675SRob Herring reg = <0x80000000 0x20000000>; 36*724ba675SRob Herring }; 37*724ba675SRob Herring 38*724ba675SRob Herring reserved-memory { 39*724ba675SRob Herring #address-cells = <1>; 40*724ba675SRob Herring #size-cells = <1>; 41*724ba675SRob Herring ranges; 42*724ba675SRob Herring 43*724ba675SRob Herring flash_memory: region@98000000 { 44*724ba675SRob Herring no-map; 45*724ba675SRob Herring reg = <0x98000000 0x00100000>; /* 1M */ 46*724ba675SRob Herring }; 47*724ba675SRob Herring 48*724ba675SRob Herring gfx_memory: framebuffer { 49*724ba675SRob Herring size = <0x01000000>; 50*724ba675SRob Herring alignment = <0x01000000>; 51*724ba675SRob Herring compatible = "shared-dma-pool"; 52*724ba675SRob Herring reusable; 53*724ba675SRob Herring }; 54*724ba675SRob Herring }; 55*724ba675SRob Herring 56*724ba675SRob Herring leds { 57*724ba675SRob Herring compatible = "gpio-leds"; 58*724ba675SRob Herring 59*724ba675SRob Herring heartbeat { 60*724ba675SRob Herring gpios = <&gpio ASPEED_GPIO(C, 7) GPIO_ACTIVE_LOW>; 61*724ba675SRob Herring }; 62*724ba675SRob Herring 63*724ba675SRob Herring fault { 64*724ba675SRob Herring gpios = <&gpio ASPEED_GPIO(G, 3) GPIO_ACTIVE_LOW>; 65*724ba675SRob Herring }; 66*724ba675SRob Herring }; 67*724ba675SRob Herring 68*724ba675SRob Herring iio-hwmon { 69*724ba675SRob Herring compatible = "iio-hwmon"; 70*724ba675SRob Herring io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, 71*724ba675SRob Herring <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>, 72*724ba675SRob Herring <&adc 8>, <&adc 9>, <&adc 10>,<&adc 11>, 73*724ba675SRob Herring <&adc 12>,<&adc 13>,<&adc 14>; 74*724ba675SRob Herring }; 75*724ba675SRob Herring 76*724ba675SRob Herring iio-hwmon-battery { 77*724ba675SRob Herring compatible = "iio-hwmon"; 78*724ba675SRob Herring io-channels = <&adc 15>; 79*724ba675SRob Herring }; 80*724ba675SRob Herring 81*724ba675SRob Herring}; 82*724ba675SRob Herring 83*724ba675SRob Herring&fmc { 84*724ba675SRob Herring status = "okay"; 85*724ba675SRob Herring flash@0 { 86*724ba675SRob Herring status = "okay"; 87*724ba675SRob Herring m25p,fast-read; 88*724ba675SRob Herring label = "bmc"; 89*724ba675SRob Herring spi-max-frequency = <50000000>; 90*724ba675SRob Herring#include "openbmc-flash-layout.dtsi" 91*724ba675SRob Herring }; 92*724ba675SRob Herring}; 93*724ba675SRob Herring 94*724ba675SRob Herring&lpc_ctrl { 95*724ba675SRob Herring status = "okay"; 96*724ba675SRob Herring memory-region = <&flash_memory>; 97*724ba675SRob Herring flash = <&spi1>; 98*724ba675SRob Herring}; 99*724ba675SRob Herring 100*724ba675SRob Herring&lpc_snoop { 101*724ba675SRob Herring status = "okay"; 102*724ba675SRob Herring snoop-ports = <0x80>; 103*724ba675SRob Herring}; 104*724ba675SRob Herring 105*724ba675SRob Herring&uart1 { 106*724ba675SRob Herring status = "okay"; 107*724ba675SRob Herring pinctrl-names = "default"; 108*724ba675SRob Herring pinctrl-0 = <&pinctrl_txd1_default 109*724ba675SRob Herring &pinctrl_rxd1_default>; 110*724ba675SRob Herring}; 111*724ba675SRob Herring 112*724ba675SRob Herring&uart2 { 113*724ba675SRob Herring /* Rear RS-232 connector */ 114*724ba675SRob Herring status = "okay"; 115*724ba675SRob Herring pinctrl-names = "default"; 116*724ba675SRob Herring pinctrl-0 = <&pinctrl_txd2_default 117*724ba675SRob Herring &pinctrl_rxd2_default 118*724ba675SRob Herring &pinctrl_nrts2_default 119*724ba675SRob Herring &pinctrl_ndtr2_default 120*724ba675SRob Herring &pinctrl_ndsr2_default 121*724ba675SRob Herring &pinctrl_ncts2_default 122*724ba675SRob Herring &pinctrl_ndcd2_default 123*724ba675SRob Herring &pinctrl_nri2_default>; 124*724ba675SRob Herring}; 125*724ba675SRob Herring 126*724ba675SRob Herring&uart3 { 127*724ba675SRob Herring status = "okay"; 128*724ba675SRob Herring}; 129*724ba675SRob Herring 130*724ba675SRob Herring&uart5 { 131*724ba675SRob Herring status = "okay"; 132*724ba675SRob Herring}; 133*724ba675SRob Herring 134*724ba675SRob Herring&ibt { 135*724ba675SRob Herring status = "okay"; 136*724ba675SRob Herring}; 137*724ba675SRob Herring 138*724ba675SRob Herring&mac0 { 139*724ba675SRob Herring status = "okay"; 140*724ba675SRob Herring pinctrl-names = "default"; 141*724ba675SRob Herring pinctrl-0 = <&pinctrl_rmii1_default>; 142*724ba675SRob Herring clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>, 143*724ba675SRob Herring <&syscon ASPEED_CLK_MAC1RCLK>; 144*724ba675SRob Herring clock-names = "MACCLK", "RCLK"; 145*724ba675SRob Herring use-ncsi; 146*724ba675SRob Herring}; 147*724ba675SRob Herring 148*724ba675SRob Herring&mac1 { 149*724ba675SRob Herring status = "okay"; 150*724ba675SRob Herring pinctrl-names = "default"; 151*724ba675SRob Herring pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>; 152*724ba675SRob Herring}; 153*724ba675SRob Herring 154*724ba675SRob Herring&adc{ 155*724ba675SRob Herring status = "okay"; 156*724ba675SRob Herring pinctrl-names = "default"; 157*724ba675SRob Herring pinctrl-0 = <&pinctrl_adc0_default 158*724ba675SRob Herring &pinctrl_adc1_default 159*724ba675SRob Herring &pinctrl_adc2_default 160*724ba675SRob Herring &pinctrl_adc3_default 161*724ba675SRob Herring &pinctrl_adc4_default 162*724ba675SRob Herring &pinctrl_adc5_default 163*724ba675SRob Herring &pinctrl_adc6_default 164*724ba675SRob Herring &pinctrl_adc7_default 165*724ba675SRob Herring &pinctrl_adc8_default 166*724ba675SRob Herring &pinctrl_adc9_default 167*724ba675SRob Herring &pinctrl_adc10_default 168*724ba675SRob Herring &pinctrl_adc11_default 169*724ba675SRob Herring &pinctrl_adc12_default 170*724ba675SRob Herring &pinctrl_adc13_default 171*724ba675SRob Herring &pinctrl_adc14_default 172*724ba675SRob Herring &pinctrl_adc15_default>; 173*724ba675SRob Herring}; 174*724ba675SRob Herring 175*724ba675SRob Herring&i2c0 { 176*724ba675SRob Herring status = "okay"; 177*724ba675SRob Herring 178*724ba675SRob Herring i2c-switch@70 { 179*724ba675SRob Herring compatible = "nxp,pca9545"; 180*724ba675SRob Herring reg = <0x70>; 181*724ba675SRob Herring #address-cells = <1>; 182*724ba675SRob Herring #size-cells = <0>; 183*724ba675SRob Herring 184*724ba675SRob Herring i2c_riser1: i2c@0 { 185*724ba675SRob Herring #address-cells = <1>; 186*724ba675SRob Herring #size-cells = <0>; 187*724ba675SRob Herring reg = <0>; 188*724ba675SRob Herring }; 189*724ba675SRob Herring 190*724ba675SRob Herring i2c_riser2: i2c@1 { 191*724ba675SRob Herring #address-cells = <1>; 192*724ba675SRob Herring #size-cells = <0>; 193*724ba675SRob Herring reg = <1>; 194*724ba675SRob Herring }; 195*724ba675SRob Herring 196*724ba675SRob Herring i2c_riser3: i2c@2 { 197*724ba675SRob Herring #address-cells = <1>; 198*724ba675SRob Herring #size-cells = <0>; 199*724ba675SRob Herring reg = <2>; 200*724ba675SRob Herring }; 201*724ba675SRob Herring 202*724ba675SRob Herring i2c_M2: i2c@3 { 203*724ba675SRob Herring #address-cells = <1>; 204*724ba675SRob Herring #size-cells = <0>; 205*724ba675SRob Herring reg = <3>; 206*724ba675SRob Herring }; 207*724ba675SRob Herring }; 208*724ba675SRob Herring}; 209*724ba675SRob Herring 210*724ba675SRob Herring&i2c1 { 211*724ba675SRob Herring status = "okay"; 212*724ba675SRob Herring bus-frequency = <90000>; 213*724ba675SRob Herring HotSwap@10 { 214*724ba675SRob Herring compatible = "adm1272"; 215*724ba675SRob Herring reg = <0x10>; 216*724ba675SRob Herring }; 217*724ba675SRob Herring 218*724ba675SRob Herring VR@45 { 219*724ba675SRob Herring compatible = "pmbus"; 220*724ba675SRob Herring reg = <0x45>; 221*724ba675SRob Herring }; 222*724ba675SRob Herring}; 223*724ba675SRob Herring 224*724ba675SRob Herring&i2c2 { 225*724ba675SRob Herring status = "okay"; 226*724ba675SRob Herring}; 227*724ba675SRob Herring 228*724ba675SRob Herring&i2c3 { 229*724ba675SRob Herring status = "okay"; 230*724ba675SRob Herring i2c-switch@70 { 231*724ba675SRob Herring compatible = "nxp,pca9546"; 232*724ba675SRob Herring reg = <0x70>; 233*724ba675SRob Herring #address-cells = <1>; 234*724ba675SRob Herring #size-cells = <0>; 235*724ba675SRob Herring 236*724ba675SRob Herring channel_0: i2c@0 { 237*724ba675SRob Herring #address-cells = <1>; 238*724ba675SRob Herring #size-cells = <0>; 239*724ba675SRob Herring reg = <0>; 240*724ba675SRob Herring }; 241*724ba675SRob Herring 242*724ba675SRob Herring channel_1: i2c@1 { 243*724ba675SRob Herring #address-cells = <1>; 244*724ba675SRob Herring #size-cells = <0>; 245*724ba675SRob Herring reg = <1>; 246*724ba675SRob Herring }; 247*724ba675SRob Herring 248*724ba675SRob Herring channel_2: i2c@2 { 249*724ba675SRob Herring #address-cells = <1>; 250*724ba675SRob Herring #size-cells = <0>; 251*724ba675SRob Herring reg = <2>; 252*724ba675SRob Herring }; 253*724ba675SRob Herring 254*724ba675SRob Herring channel_3: i2c@3 { 255*724ba675SRob Herring #address-cells = <1>; 256*724ba675SRob Herring #size-cells = <0>; 257*724ba675SRob Herring reg = <3>; 258*724ba675SRob Herring }; 259*724ba675SRob Herring }; 260*724ba675SRob Herring}; 261*724ba675SRob Herring 262*724ba675SRob Herring&i2c4 { 263*724ba675SRob Herring status = "okay"; 264*724ba675SRob Herring}; 265*724ba675SRob Herring 266*724ba675SRob Herring&i2c5 { 267*724ba675SRob Herring status = "okay"; 268*724ba675SRob Herring}; 269*724ba675SRob Herring 270*724ba675SRob Herring&i2c6 { 271*724ba675SRob Herring status = "okay"; 272*724ba675SRob Herring /* temp1 */ 273*724ba675SRob Herring tmp75@49 { 274*724ba675SRob Herring compatible = "national,lm75"; 275*724ba675SRob Herring reg = <0x49>; 276*724ba675SRob Herring }; 277*724ba675SRob Herring 278*724ba675SRob Herring /* temp2 */ 279*724ba675SRob Herring tmp75@4d { 280*724ba675SRob Herring compatible = "national,lm75"; 281*724ba675SRob Herring reg = <0x4d>; 282*724ba675SRob Herring }; 283*724ba675SRob Herring 284*724ba675SRob Herring eeprom@54 { 285*724ba675SRob Herring compatible = "atmel,24c256"; 286*724ba675SRob Herring reg = <0x54>; 287*724ba675SRob Herring pagesize = <16>; 288*724ba675SRob Herring }; 289*724ba675SRob Herring}; 290*724ba675SRob Herring 291*724ba675SRob Herring&i2c7 { 292*724ba675SRob Herring status = "okay"; 293*724ba675SRob Herring}; 294*724ba675SRob Herring 295*724ba675SRob Herring&i2c8 { 296*724ba675SRob Herring status = "okay"; 297*724ba675SRob Herring}; 298*724ba675SRob Herring 299*724ba675SRob Herring&i2c9 { 300*724ba675SRob Herring status = "okay"; 301*724ba675SRob Herring}; 302*724ba675SRob Herring 303*724ba675SRob Herring&i2c10 { 304*724ba675SRob Herring status = "okay"; 305*724ba675SRob Herring}; 306*724ba675SRob Herring 307*724ba675SRob Herring&i2c11 { 308*724ba675SRob Herring status = "okay"; 309*724ba675SRob Herring}; 310*724ba675SRob Herring 311*724ba675SRob Herring&i2c13 { 312*724ba675SRob Herring status = "okay"; 313*724ba675SRob Herring}; 314*724ba675SRob Herring 315*724ba675SRob Herring&ehci1 { 316*724ba675SRob Herring status = "okay"; 317*724ba675SRob Herring}; 318*724ba675SRob Herring 319*724ba675SRob Herring&uhci { 320*724ba675SRob Herring status = "okay"; 321*724ba675SRob Herring}; 322*724ba675SRob Herring 323*724ba675SRob Herring&gfx { 324*724ba675SRob Herring status = "okay"; 325*724ba675SRob Herring memory-region = <&gfx_memory>; 326*724ba675SRob Herring}; 327*724ba675SRob Herring 328*724ba675SRob Herring&pwm_tacho { 329*724ba675SRob Herring status = "okay"; 330*724ba675SRob Herring pinctrl-names = "default"; 331*724ba675SRob Herring pinctrl-0 = <&pinctrl_pwm0_default 332*724ba675SRob Herring &pinctrl_pwm1_default 333*724ba675SRob Herring &pinctrl_pwm2_default 334*724ba675SRob Herring &pinctrl_pwm3_default 335*724ba675SRob Herring &pinctrl_pwm4_default 336*724ba675SRob Herring &pinctrl_pwm5_default 337*724ba675SRob Herring &pinctrl_pwm6_default 338*724ba675SRob Herring &pinctrl_pwm7_default>; 339*724ba675SRob Herring 340*724ba675SRob Herring fan@0 { 341*724ba675SRob Herring reg = <0x00>; 342*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x00>; 343*724ba675SRob Herring }; 344*724ba675SRob Herring 345*724ba675SRob Herring fan@1 { 346*724ba675SRob Herring reg = <0x00>; 347*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x01>; 348*724ba675SRob Herring }; 349*724ba675SRob Herring 350*724ba675SRob Herring fan@2 { 351*724ba675SRob Herring reg = <0x01>; 352*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x02>; 353*724ba675SRob Herring }; 354*724ba675SRob Herring 355*724ba675SRob Herring fan@3 { 356*724ba675SRob Herring reg = <0x01>; 357*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x03>; 358*724ba675SRob Herring }; 359*724ba675SRob Herring 360*724ba675SRob Herring fan@4 { 361*724ba675SRob Herring reg = <0x02>; 362*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x04>; 363*724ba675SRob Herring }; 364*724ba675SRob Herring 365*724ba675SRob Herring fan@5 { 366*724ba675SRob Herring reg = <0x02>; 367*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x05>; 368*724ba675SRob Herring }; 369*724ba675SRob Herring 370*724ba675SRob Herring fan@6 { 371*724ba675SRob Herring reg = <0x03>; 372*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x06>; 373*724ba675SRob Herring }; 374*724ba675SRob Herring 375*724ba675SRob Herring fan@7 { 376*724ba675SRob Herring reg = <0x03>; 377*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x07>; 378*724ba675SRob Herring }; 379*724ba675SRob Herring 380*724ba675SRob Herring fan@8 { 381*724ba675SRob Herring reg = <0x04>; 382*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x08>; 383*724ba675SRob Herring }; 384*724ba675SRob Herring 385*724ba675SRob Herring fan@9 { 386*724ba675SRob Herring reg = <0x04>; 387*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x09>; 388*724ba675SRob Herring }; 389*724ba675SRob Herring 390*724ba675SRob Herring fan@10 { 391*724ba675SRob Herring reg = <0x05>; 392*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x0a>; 393*724ba675SRob Herring }; 394*724ba675SRob Herring 395*724ba675SRob Herring fan@11 { 396*724ba675SRob Herring reg = <0x05>; 397*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x0b>; 398*724ba675SRob Herring }; 399*724ba675SRob Herring 400*724ba675SRob Herring fan@12 { 401*724ba675SRob Herring reg = <0x06>; 402*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x0c>; 403*724ba675SRob Herring }; 404*724ba675SRob Herring 405*724ba675SRob Herring fan@13 { 406*724ba675SRob Herring reg = <0x06>; 407*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x0d>; 408*724ba675SRob Herring }; 409*724ba675SRob Herring 410*724ba675SRob Herring fan@14 { 411*724ba675SRob Herring reg = <0x07>; 412*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x0e>; 413*724ba675SRob Herring }; 414*724ba675SRob Herring 415*724ba675SRob Herring fan@15 { 416*724ba675SRob Herring reg = <0x07>; 417*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x0f>; 418*724ba675SRob Herring }; 419*724ba675SRob Herring 420*724ba675SRob Herring fan@16 { 421*724ba675SRob Herring reg = <0x07>; 422*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x0f>; 423*724ba675SRob Herring }; 424*724ba675SRob Herring}; 425*724ba675SRob Herring 426*724ba675SRob Herring&gpio { 427*724ba675SRob Herring 428*724ba675SRob Herring pin_gpio_a1 { 429*724ba675SRob Herring gpio-hog; 430*724ba675SRob Herring gpios = <ASPEED_GPIO(A, 1) GPIO_ACTIVE_LOW>; 431*724ba675SRob Herring output-high; 432*724ba675SRob Herring line-name = "BMC_EMMC_RST_N"; 433*724ba675SRob Herring }; 434*724ba675SRob Herring 435*724ba675SRob Herring pin_gpio_a3 { 436*724ba675SRob Herring gpio-hog; 437*724ba675SRob Herring gpios = <ASPEED_GPIO(A, 3) GPIO_ACTIVE_LOW>; 438*724ba675SRob Herring output-high; 439*724ba675SRob Herring line-name = "PCH_PWROK_BMC_FPGA"; 440*724ba675SRob Herring }; 441*724ba675SRob Herring 442*724ba675SRob Herring pin_gpio_b5 { 443*724ba675SRob Herring gpio-hog; 444*724ba675SRob Herring gpios = <ASPEED_GPIO(B, 5) GPIO_ACTIVE_HIGH>; 445*724ba675SRob Herring output-high; 446*724ba675SRob Herring line-name = "IRQ_BMC_PCH_SMI_LPC_N"; 447*724ba675SRob Herring }; 448*724ba675SRob Herring 449*724ba675SRob Herring pin_gpio_b7 { 450*724ba675SRob Herring gpio-hog; 451*724ba675SRob Herring gpios = <ASPEED_GPIO(B, 7) GPIO_ACTIVE_LOW>; 452*724ba675SRob Herring output-low; 453*724ba675SRob Herring line-name = "CPU_SM_WP"; 454*724ba675SRob Herring }; 455*724ba675SRob Herring 456*724ba675SRob Herring pin_gpio_e0 { 457*724ba675SRob Herring gpio-hog; 458*724ba675SRob Herring gpios = <ASPEED_GPIO(E, 0) GPIO_ACTIVE_HIGH>; 459*724ba675SRob Herring input; 460*724ba675SRob Herring line-name = "PDB_PSU_SEL"; 461*724ba675SRob Herring }; 462*724ba675SRob Herring 463*724ba675SRob Herring pin_gpio_e2 { 464*724ba675SRob Herring gpio-hog; 465*724ba675SRob Herring gpios = <ASPEED_GPIO(E, 2) GPIO_ACTIVE_HIGH>; 466*724ba675SRob Herring output-high; 467*724ba675SRob Herring line-name = "LOCATOR_LED_N"; 468*724ba675SRob Herring }; 469*724ba675SRob Herring 470*724ba675SRob Herring pin_gpio_e5 { 471*724ba675SRob Herring gpio-hog; 472*724ba675SRob Herring gpios = <ASPEED_GPIO(E, 5) GPIO_ACTIVE_HIGH>; 473*724ba675SRob Herring output-high; 474*724ba675SRob Herring line-name = "FM_BMC_DBP_PRESENT_R1_N"; 475*724ba675SRob Herring }; 476*724ba675SRob Herring 477*724ba675SRob Herring pin_gpio_e6 { 478*724ba675SRob Herring gpio-hog; 479*724ba675SRob Herring gpios = <ASPEED_GPIO(E, 6) GPIO_ACTIVE_HIGH>; 480*724ba675SRob Herring output-high; 481*724ba675SRob Herring line-name = "BMC_ME_SECURITY_OVERRIDE_N"; 482*724ba675SRob Herring }; 483*724ba675SRob Herring 484*724ba675SRob Herring pin_gpio_f0 { 485*724ba675SRob Herring gpio-hog; 486*724ba675SRob Herring gpios = <ASPEED_GPIO(F, 0) GPIO_ACTIVE_HIGH>; 487*724ba675SRob Herring output-high; 488*724ba675SRob Herring line-name = "IRQ_BMC_PCH_NMI_R"; 489*724ba675SRob Herring }; 490*724ba675SRob Herring 491*724ba675SRob Herring pin_gpio_f1 { 492*724ba675SRob Herring gpio-hog; 493*724ba675SRob Herring gpios = <ASPEED_GPIO(F, 1) GPIO_ACTIVE_HIGH>; 494*724ba675SRob Herring input; 495*724ba675SRob Herring line-name = "CPU2_PROCDIS_BMC_N"; 496*724ba675SRob Herring }; 497*724ba675SRob Herring 498*724ba675SRob Herring pin_gpio_f2 { 499*724ba675SRob Herring gpio-hog; 500*724ba675SRob Herring gpios = <ASPEED_GPIO(F, 2) GPIO_ACTIVE_HIGH>; 501*724ba675SRob Herring output-high; 502*724ba675SRob Herring line-name = "RM_THROTTLE_EN_N"; 503*724ba675SRob Herring }; 504*724ba675SRob Herring 505*724ba675SRob Herring pin_gpio_f3 { 506*724ba675SRob Herring gpio-hog; 507*724ba675SRob Herring gpios = <ASPEED_GPIO(F, 3) GPIO_ACTIVE_HIGH>; 508*724ba675SRob Herring output-low; 509*724ba675SRob Herring line-name = "FM_PMBUS_ALERT_B_EN"; 510*724ba675SRob Herring }; 511*724ba675SRob Herring 512*724ba675SRob Herring pin_gpio_f4 { 513*724ba675SRob Herring gpio-hog; 514*724ba675SRob Herring gpios = <ASPEED_GPIO(F, 4) GPIO_ACTIVE_HIGH>; 515*724ba675SRob Herring output-high; 516*724ba675SRob Herring line-name = "BMC_FORCE_NM_THROTTLE_N"; 517*724ba675SRob Herring }; 518*724ba675SRob Herring 519*724ba675SRob Herring pin_gpio_f6 { 520*724ba675SRob Herring gpio-hog; 521*724ba675SRob Herring gpios = <ASPEED_GPIO(F, 6) GPIO_ACTIVE_HIGH>; 522*724ba675SRob Herring output-high; 523*724ba675SRob Herring line-name = "FM_BMC_CPU_PWR_DEBUG_N"; 524*724ba675SRob Herring }; 525*724ba675SRob Herring 526*724ba675SRob Herring pin_gpio_g7 { 527*724ba675SRob Herring gpio-hog; 528*724ba675SRob Herring gpios = <ASPEED_GPIO(G, 7) GPIO_ACTIVE_HIGH>; 529*724ba675SRob Herring output-high; 530*724ba675SRob Herring line-name = "BMC_PCIE_I2C_MUX_RST_N"; 531*724ba675SRob Herring }; 532*724ba675SRob Herring 533*724ba675SRob Herring pin_gpio_h6 { 534*724ba675SRob Herring gpio-hog; 535*724ba675SRob Herring gpios = <ASPEED_GPIO(H, 6) GPIO_ACTIVE_HIGH>; 536*724ba675SRob Herring output-high; 537*724ba675SRob Herring line-name = "FM_BMC_DBP_PRESENT_R2_N"; 538*724ba675SRob Herring }; 539*724ba675SRob Herring 540*724ba675SRob Herring pin_gpio_i3 { 541*724ba675SRob Herring gpio-hog; 542*724ba675SRob Herring gpios = <ASPEED_GPIO(I, 3) GPIO_ACTIVE_HIGH>; 543*724ba675SRob Herring output-high; 544*724ba675SRob Herring line-name = "SPI_BMC_BIOS_WP_N"; 545*724ba675SRob Herring }; 546*724ba675SRob Herring 547*724ba675SRob Herring pin_gpio_j1 { 548*724ba675SRob Herring gpio-hog; 549*724ba675SRob Herring gpios = <ASPEED_GPIO(J, 1) GPIO_ACTIVE_HIGH>; 550*724ba675SRob Herring output-high; 551*724ba675SRob Herring line-name = "BMC_USB_SEL"; 552*724ba675SRob Herring }; 553*724ba675SRob Herring 554*724ba675SRob Herring pin_gpio_j2 { 555*724ba675SRob Herring gpio-hog; 556*724ba675SRob Herring gpios = <ASPEED_GPIO(J, 2) GPIO_ACTIVE_HIGH>; 557*724ba675SRob Herring output-high; 558*724ba675SRob Herring line-name = "PDB_SMB_RST_N"; 559*724ba675SRob Herring }; 560*724ba675SRob Herring 561*724ba675SRob Herring pin_gpio_j3 { 562*724ba675SRob Herring gpio-hog; 563*724ba675SRob Herring gpios = <ASPEED_GPIO(J, 3) GPIO_ACTIVE_HIGH>; 564*724ba675SRob Herring output-high; 565*724ba675SRob Herring line-name = "SPI_BMC_BIOS_HOLD_N"; 566*724ba675SRob Herring }; 567*724ba675SRob Herring 568*724ba675SRob Herring pin_gpio_l0 { 569*724ba675SRob Herring gpio-hog; 570*724ba675SRob Herring gpios = <ASPEED_GPIO(L, 0) GPIO_ACTIVE_HIGH>; 571*724ba675SRob Herring output-high; 572*724ba675SRob Herring line-name = "PDB_FAN_TACH_SEL"; 573*724ba675SRob Herring }; 574*724ba675SRob Herring 575*724ba675SRob Herring pin_gpio_l1 { 576*724ba675SRob Herring gpio-hog; 577*724ba675SRob Herring gpios = <ASPEED_GPIO(L, 1) GPIO_ACTIVE_HIGH>; 578*724ba675SRob Herring output-high; 579*724ba675SRob Herring line-name = "SYS_RESET_BMC_FPGA_N"; 580*724ba675SRob Herring }; 581*724ba675SRob Herring 582*724ba675SRob Herring pin_gpio_l4 { 583*724ba675SRob Herring gpio-hog; 584*724ba675SRob Herring gpios = <ASPEED_GPIO(L, 4) GPIO_ACTIVE_HIGH>; 585*724ba675SRob Herring output-high; 586*724ba675SRob Herring line-name = "FM_EFUSE_FAN_G1_EN"; 587*724ba675SRob Herring }; 588*724ba675SRob Herring 589*724ba675SRob Herring pin_gpio_l5 { 590*724ba675SRob Herring gpio-hog; 591*724ba675SRob Herring gpios = <ASPEED_GPIO(L, 5) GPIO_ACTIVE_HIGH>; 592*724ba675SRob Herring output-high; 593*724ba675SRob Herring line-name = "FM_EFUSE_FAN_G2_EN"; 594*724ba675SRob Herring }; 595*724ba675SRob Herring 596*724ba675SRob Herring pin_gpio_r6 { 597*724ba675SRob Herring gpio-hog; 598*724ba675SRob Herring gpios = <ASPEED_GPIO(R, 6) GPIO_ACTIVE_HIGH>; 599*724ba675SRob Herring input; 600*724ba675SRob Herring line-name = "CPU3_PROCDIS_BMC_N"; 601*724ba675SRob Herring }; 602*724ba675SRob Herring 603*724ba675SRob Herring pin_gpio_r7 { 604*724ba675SRob Herring gpio-hog; 605*724ba675SRob Herring gpios = <ASPEED_GPIO(R, 7) GPIO_ACTIVE_HIGH>; 606*724ba675SRob Herring input; 607*724ba675SRob Herring line-name = "CPU4_PROCDIS_BMC_N"; 608*724ba675SRob Herring }; 609*724ba675SRob Herring 610*724ba675SRob Herring pin_gpio_s1 { 611*724ba675SRob Herring gpio-hog; 612*724ba675SRob Herring gpios = <ASPEED_GPIO(S, 1) GPIO_ACTIVE_HIGH>; 613*724ba675SRob Herring output-low; 614*724ba675SRob Herring line-name = "DBP_SYSPWROK_BMC"; 615*724ba675SRob Herring }; 616*724ba675SRob Herring 617*724ba675SRob Herring pin_gpio_s2 { 618*724ba675SRob Herring gpio-hog; 619*724ba675SRob Herring gpios = <ASPEED_GPIO(S, 2) GPIO_ACTIVE_HIGH>; 620*724ba675SRob Herring output-high; 621*724ba675SRob Herring line-name = "PCH_RST_RSMRST_N"; 622*724ba675SRob Herring }; 623*724ba675SRob Herring 624*724ba675SRob Herring pin_gpio_s6 { 625*724ba675SRob Herring gpio-hog; 626*724ba675SRob Herring gpios = <ASPEED_GPIO(S, 6) GPIO_ACTIVE_HIGH>; 627*724ba675SRob Herring output-high; 628*724ba675SRob Herring line-name = "BMC_HW_STRAP_5"; 629*724ba675SRob Herring }; 630*724ba675SRob Herring 631*724ba675SRob Herring pin_gpio_z3 { 632*724ba675SRob Herring gpio-hog; 633*724ba675SRob Herring gpios = <ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>; 634*724ba675SRob Herring output-high; 635*724ba675SRob Herring line-name = "FM_BMC_PCH_SCI_LPC_N"; 636*724ba675SRob Herring }; 637*724ba675SRob Herring 638*724ba675SRob Herring pin_gpio_aa0 { 639*724ba675SRob Herring gpio-hog; 640*724ba675SRob Herring gpios = <ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>; 641*724ba675SRob Herring output-low; 642*724ba675SRob Herring line-name = "FW_PSU_ALERT_EN_N"; 643*724ba675SRob Herring }; 644*724ba675SRob Herring 645*724ba675SRob Herring pin_gpio_aa4 { 646*724ba675SRob Herring gpio-hog; 647*724ba675SRob Herring gpios = <ASPEED_GPIO(AA, 4) GPIO_ACTIVE_HIGH>; 648*724ba675SRob Herring output-high; 649*724ba675SRob Herring line-name = "DBP_CPU_PREQ_N"; 650*724ba675SRob Herring }; 651*724ba675SRob Herring 652*724ba675SRob Herring pin_gpio_ab3 { 653*724ba675SRob Herring gpio-hog; 654*724ba675SRob Herring gpios = <ASPEED_GPIO(AB, 3) GPIO_ACTIVE_HIGH>; 655*724ba675SRob Herring output-low; 656*724ba675SRob Herring line-name = "BMC_WDTRST"; 657*724ba675SRob Herring }; 658*724ba675SRob Herring 659*724ba675SRob Herring pin_gpio_ac6 { 660*724ba675SRob Herring gpio-hog; 661*724ba675SRob Herring gpios = <ASPEED_GPIO(AC, 6) GPIO_ACTIVE_HIGH>; 662*724ba675SRob Herring output-high; 663*724ba675SRob Herring line-name = "ESPI_BMC_ALERT_N"; 664*724ba675SRob Herring }; 665*724ba675SRob Herring 666*724ba675SRob Herring}; 667