1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0+ 2724ba675SRob Herring/* 3724ba675SRob Herring * Device Tree file for Lenovo Hr630 platform 4724ba675SRob Herring * 5724ba675SRob Herring * Copyright (C) 2019-present Lenovo 6724ba675SRob Herring */ 7724ba675SRob Herring 8724ba675SRob Herring/dts-v1/; 9724ba675SRob Herring 10724ba675SRob Herring#include "aspeed-g5.dtsi" 11724ba675SRob Herring#include <dt-bindings/gpio/aspeed-gpio.h> 12724ba675SRob Herring 13724ba675SRob Herring/ { 14724ba675SRob Herring model = "HR630 BMC"; 15724ba675SRob Herring compatible = "lenovo,hr630-bmc", "aspeed,ast2500"; 16724ba675SRob Herring 17724ba675SRob Herring aliases { 18724ba675SRob Herring i2c14 = &i2c_rbp; 19724ba675SRob Herring i2c15 = &i2c_fbp1; 20724ba675SRob Herring i2c16 = &i2c_fbp2; 21724ba675SRob Herring i2c17 = &i2c_fbp3; 22724ba675SRob Herring i2c18 = &i2c_riser2; 23724ba675SRob Herring i2c19 = &i2c_pcie4; 24724ba675SRob Herring i2c20 = &i2c_riser1; 25724ba675SRob Herring i2c21 = &i2c_ocp; 26724ba675SRob Herring }; 27724ba675SRob Herring 28724ba675SRob Herring chosen { 29724ba675SRob Herring stdout-path = &uart5; 30724ba675SRob Herring bootargs = "console=tty0 console=ttyS4,115200 earlycon"; 31724ba675SRob Herring }; 32724ba675SRob Herring 33724ba675SRob Herring memory@80000000 { 34724ba675SRob Herring device_type = "memory"; 35724ba675SRob Herring reg = <0x80000000 0x20000000>; 36724ba675SRob Herring }; 37724ba675SRob Herring 38724ba675SRob Herring reserved-memory { 39724ba675SRob Herring #address-cells = <1>; 40724ba675SRob Herring #size-cells = <1>; 41724ba675SRob Herring ranges; 42724ba675SRob Herring 43724ba675SRob Herring flash_memory: region@98000000 { 44724ba675SRob Herring no-map; 45724ba675SRob Herring reg = <0x98000000 0x00100000>; /* 1M */ 46724ba675SRob Herring }; 47724ba675SRob Herring 48724ba675SRob Herring gfx_memory: framebuffer { 49724ba675SRob Herring size = <0x01000000>; 50724ba675SRob Herring alignment = <0x01000000>; 51724ba675SRob Herring compatible = "shared-dma-pool"; 52724ba675SRob Herring reusable; 53724ba675SRob Herring }; 54724ba675SRob Herring }; 55724ba675SRob Herring 56724ba675SRob Herring leds { 57724ba675SRob Herring compatible = "gpio-leds"; 58724ba675SRob Herring 59724ba675SRob Herring heartbeat { 60724ba675SRob Herring gpios = <&gpio ASPEED_GPIO(J, 1) GPIO_ACTIVE_LOW>; 61724ba675SRob Herring }; 62724ba675SRob Herring 63724ba675SRob Herring fault { 64724ba675SRob Herring gpios = <&gpio ASPEED_GPIO(J, 0) GPIO_ACTIVE_LOW>; 65724ba675SRob Herring }; 66724ba675SRob Herring }; 67724ba675SRob Herring 68724ba675SRob Herring iio-hwmon { 69724ba675SRob Herring compatible = "iio-hwmon"; 70724ba675SRob Herring io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, 71724ba675SRob Herring <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>, 72724ba675SRob Herring <&adc 8>, <&adc 9>, <&adc 10>, 73724ba675SRob Herring <&adc 12>, <&adc 13>, <&adc 14>; 74724ba675SRob Herring }; 75724ba675SRob Herring 76724ba675SRob Herring}; 77724ba675SRob Herring 78724ba675SRob Herring&fmc { 79724ba675SRob Herring status = "okay"; 80724ba675SRob Herring flash@0 { 81724ba675SRob Herring status = "okay"; 82724ba675SRob Herring m25p,fast-read; 83724ba675SRob Herring label = "bmc"; 84724ba675SRob Herring spi-max-frequency = <50000000>; 85724ba675SRob Herring#include "openbmc-flash-layout.dtsi" 86724ba675SRob Herring }; 87724ba675SRob Herring}; 88724ba675SRob Herring 89724ba675SRob Herring&lpc_ctrl { 90724ba675SRob Herring status = "okay"; 91724ba675SRob Herring memory-region = <&flash_memory>; 92724ba675SRob Herring flash = <&spi1>; 93724ba675SRob Herring}; 94724ba675SRob Herring 95724ba675SRob Herring&uart1 { 96724ba675SRob Herring status = "okay"; 97724ba675SRob Herring pinctrl-names = "default"; 98724ba675SRob Herring pinctrl-0 = <&pinctrl_txd1_default 99724ba675SRob Herring &pinctrl_rxd1_default>; 100724ba675SRob Herring}; 101724ba675SRob Herring 102724ba675SRob Herring&uart2 { 103724ba675SRob Herring /* Rear RS-232 connector */ 104724ba675SRob Herring status = "okay"; 105724ba675SRob Herring pinctrl-names = "default"; 106724ba675SRob Herring pinctrl-0 = <&pinctrl_txd2_default 107724ba675SRob Herring &pinctrl_rxd2_default 108724ba675SRob Herring &pinctrl_nrts2_default 109724ba675SRob Herring &pinctrl_ndtr2_default 110724ba675SRob Herring &pinctrl_ndsr2_default 111724ba675SRob Herring &pinctrl_ncts2_default 112724ba675SRob Herring &pinctrl_ndcd2_default 113724ba675SRob Herring &pinctrl_nri2_default>; 114724ba675SRob Herring}; 115724ba675SRob Herring 116724ba675SRob Herring&uart3 { 117724ba675SRob Herring status = "okay"; 118724ba675SRob Herring pinctrl-names = "default"; 119724ba675SRob Herring pinctrl-0 = <&pinctrl_txd3_default 120724ba675SRob Herring &pinctrl_rxd3_default>; 121724ba675SRob Herring}; 122724ba675SRob Herring 123724ba675SRob Herring&uart5 { 124724ba675SRob Herring status = "okay"; 125724ba675SRob Herring}; 126724ba675SRob Herring 127724ba675SRob Herring&ibt { 128724ba675SRob Herring status = "okay"; 129724ba675SRob Herring}; 130724ba675SRob Herring 131724ba675SRob Herring&mac0 { 132724ba675SRob Herring status = "okay"; 133724ba675SRob Herring 134724ba675SRob Herring pinctrl-names = "default"; 135724ba675SRob Herring pinctrl-0 = <&pinctrl_rmii1_default>; 136724ba675SRob Herring clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>, 137724ba675SRob Herring <&syscon ASPEED_CLK_MAC1RCLK>; 138724ba675SRob Herring clock-names = "MACCLK", "RCLK"; 139724ba675SRob Herring use-ncsi; 140724ba675SRob Herring}; 141724ba675SRob Herring 142724ba675SRob Herring&mac1 { 143724ba675SRob Herring status = "okay"; 144724ba675SRob Herring 145724ba675SRob Herring pinctrl-names = "default"; 146724ba675SRob Herring pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>; 147724ba675SRob Herring}; 148724ba675SRob Herring 149724ba675SRob Herring&adc { 150724ba675SRob Herring status = "okay"; 151724ba675SRob Herring 152724ba675SRob Herring pinctrl-names = "default"; 153724ba675SRob Herring pinctrl-0 = <&pinctrl_adc0_default 154724ba675SRob Herring &pinctrl_adc1_default 155724ba675SRob Herring &pinctrl_adc2_default 156724ba675SRob Herring &pinctrl_adc3_default 157724ba675SRob Herring &pinctrl_adc4_default 158724ba675SRob Herring &pinctrl_adc5_default 159724ba675SRob Herring &pinctrl_adc6_default 160724ba675SRob Herring &pinctrl_adc7_default 161724ba675SRob Herring &pinctrl_adc8_default 162724ba675SRob Herring &pinctrl_adc9_default 163724ba675SRob Herring &pinctrl_adc10_default 164724ba675SRob Herring &pinctrl_adc12_default 165724ba675SRob Herring &pinctrl_adc13_default 166724ba675SRob Herring &pinctrl_adc14_default>; 167724ba675SRob Herring}; 168724ba675SRob Herring 169724ba675SRob Herring&i2c0 { 170724ba675SRob Herring status = "okay"; 171724ba675SRob Herring /* temp1 inlet */ 172724ba675SRob Herring tmp75@4e { 173724ba675SRob Herring compatible = "national,lm75"; 174724ba675SRob Herring reg = <0x4e>; 175724ba675SRob Herring }; 176724ba675SRob Herring}; 177724ba675SRob Herring 178724ba675SRob Herring&i2c1 { 179724ba675SRob Herring status = "okay"; 180724ba675SRob Herring /* temp2 outlet */ 181724ba675SRob Herring tmp75@4d { 182724ba675SRob Herring compatible = "national,lm75"; 183724ba675SRob Herring reg = <0x4d>; 184724ba675SRob Herring }; 185724ba675SRob Herring}; 186724ba675SRob Herring 187724ba675SRob Herring&i2c2 { 188724ba675SRob Herring status = "okay"; 189724ba675SRob Herring}; 190724ba675SRob Herring 191724ba675SRob Herring&i2c3 { 192724ba675SRob Herring status = "okay"; 193724ba675SRob Herring}; 194724ba675SRob Herring 195724ba675SRob Herring&i2c4 { 196724ba675SRob Herring status = "okay"; 197724ba675SRob Herring}; 198724ba675SRob Herring 199724ba675SRob Herring&i2c5 { 200724ba675SRob Herring status = "okay"; 201724ba675SRob Herring}; 202724ba675SRob Herring 203724ba675SRob Herring&i2c6 { 204724ba675SRob Herring status = "okay"; 205724ba675SRob Herring /* Slot 0, 206724ba675SRob Herring * Slot 1, 207724ba675SRob Herring * Slot 2, 208724ba675SRob Herring * Slot 3 209724ba675SRob Herring */ 210724ba675SRob Herring 211*4b46d86cSGeert Uytterhoeven i2c-mux@70 { 212724ba675SRob Herring compatible = "nxp,pca9545"; 213724ba675SRob Herring reg = <0x70>; 214724ba675SRob Herring #address-cells = <1>; 215724ba675SRob Herring #size-cells = <0>; 216724ba675SRob Herring i2c-mux-idle-disconnect; /* may use mux@70 next. */ 217724ba675SRob Herring 218724ba675SRob Herring i2c_rbp: i2c@0 { 219724ba675SRob Herring #address-cells = <1>; 220724ba675SRob Herring #size-cells = <0>; 221724ba675SRob Herring reg = <0>; 222724ba675SRob Herring }; 223724ba675SRob Herring 224724ba675SRob Herring i2c_fbp1: i2c@1 { 225724ba675SRob Herring #address-cells = <1>; 226724ba675SRob Herring #size-cells = <0>; 227724ba675SRob Herring reg = <1>; 228724ba675SRob Herring }; 229724ba675SRob Herring 230724ba675SRob Herring i2c_fbp2: i2c@2 { 231724ba675SRob Herring #address-cells = <1>; 232724ba675SRob Herring #size-cells = <0>; 233724ba675SRob Herring reg = <2>; 234724ba675SRob Herring }; 235724ba675SRob Herring 236724ba675SRob Herring i2c_fbp3: i2c@3 { 237724ba675SRob Herring #address-cells = <1>; 238724ba675SRob Herring #size-cells = <0>; 239724ba675SRob Herring reg = <3>; 240724ba675SRob Herring }; 241724ba675SRob Herring }; 242724ba675SRob Herring}; 243724ba675SRob Herring 244724ba675SRob Herring&i2c7 { 245724ba675SRob Herring status = "okay"; 246724ba675SRob Herring 247724ba675SRob Herring /* Slot 0, 248724ba675SRob Herring * Slot 1, 249724ba675SRob Herring * Slot 2, 250724ba675SRob Herring * Slot 3 251724ba675SRob Herring */ 252*4b46d86cSGeert Uytterhoeven i2c-mux@76 { 253724ba675SRob Herring compatible = "nxp,pca9546"; 254724ba675SRob Herring reg = <0x76>; 255724ba675SRob Herring #address-cells = <1>; 256724ba675SRob Herring #size-cells = <0>; 257724ba675SRob Herring i2c-mux-idle-disconnect; /* may use mux@76 next. */ 258724ba675SRob Herring 259724ba675SRob Herring i2c_riser2: i2c@0 { 260724ba675SRob Herring #address-cells = <1>; 261724ba675SRob Herring #size-cells = <0>; 262724ba675SRob Herring reg = <0>; 263724ba675SRob Herring }; 264724ba675SRob Herring 265724ba675SRob Herring i2c_pcie4: i2c@1 { 266724ba675SRob Herring #address-cells = <1>; 267724ba675SRob Herring #size-cells = <0>; 268724ba675SRob Herring reg = <1>; 269724ba675SRob Herring }; 270724ba675SRob Herring 271724ba675SRob Herring i2c_riser1: i2c@2 { 272724ba675SRob Herring #address-cells = <1>; 273724ba675SRob Herring #size-cells = <0>; 274724ba675SRob Herring reg = <2>; 275724ba675SRob Herring }; 276724ba675SRob Herring 277724ba675SRob Herring i2c_ocp: i2c@3 { 278724ba675SRob Herring #address-cells = <1>; 279724ba675SRob Herring #size-cells = <0>; 280724ba675SRob Herring reg = <3>; 281724ba675SRob Herring }; 282724ba675SRob Herring }; 283724ba675SRob Herring}; 284724ba675SRob Herring 285724ba675SRob Herring&i2c8 { 286724ba675SRob Herring status = "okay"; 287724ba675SRob Herring 288724ba675SRob Herring eeprom@57 { 289724ba675SRob Herring compatible = "atmel,24c256"; 290724ba675SRob Herring reg = <0x57>; 291724ba675SRob Herring pagesize = <16>; 292724ba675SRob Herring }; 293724ba675SRob Herring}; 294724ba675SRob Herring 295724ba675SRob Herring&i2c9 { 296724ba675SRob Herring status = "okay"; 297724ba675SRob Herring}; 298724ba675SRob Herring 299724ba675SRob Herring&i2c10 { 300724ba675SRob Herring status = "okay"; 301724ba675SRob Herring}; 302724ba675SRob Herring 303724ba675SRob Herring&i2c11 { 304724ba675SRob Herring status = "okay"; 305724ba675SRob Herring}; 306724ba675SRob Herring 307724ba675SRob Herring&i2c12 { 308724ba675SRob Herring status = "okay"; 309724ba675SRob Herring}; 310724ba675SRob Herring 311724ba675SRob Herring&ehci1 { 312724ba675SRob Herring status = "okay"; 313724ba675SRob Herring}; 314724ba675SRob Herring 315724ba675SRob Herring&uhci { 316724ba675SRob Herring status = "okay"; 317724ba675SRob Herring}; 318724ba675SRob Herring 319724ba675SRob Herring&gfx { 320724ba675SRob Herring status = "okay"; 321724ba675SRob Herring memory-region = <&gfx_memory>; 322724ba675SRob Herring}; 323724ba675SRob Herring 324724ba675SRob Herring&pwm_tacho { 325724ba675SRob Herring status = "okay"; 326724ba675SRob Herring pinctrl-names = "default"; 327724ba675SRob Herring pinctrl-0 = <&pinctrl_pwm0_default 328724ba675SRob Herring &pinctrl_pwm1_default 329724ba675SRob Herring &pinctrl_pwm2_default 330724ba675SRob Herring &pinctrl_pwm3_default 331724ba675SRob Herring &pinctrl_pwm4_default 332724ba675SRob Herring &pinctrl_pwm5_default 333724ba675SRob Herring &pinctrl_pwm6_default>; 334724ba675SRob Herring 335724ba675SRob Herring fan@0 { 336724ba675SRob Herring reg = <0x00>; 337724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x00>; 338724ba675SRob Herring }; 339724ba675SRob Herring 340724ba675SRob Herring fan@1 { 341724ba675SRob Herring reg = <0x00>; 342724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x01>; 343724ba675SRob Herring }; 344724ba675SRob Herring 345724ba675SRob Herring fan@2 { 346724ba675SRob Herring reg = <0x01>; 347724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x02>; 348724ba675SRob Herring }; 349724ba675SRob Herring 350724ba675SRob Herring fan@3 { 351724ba675SRob Herring reg = <0x01>; 352724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x03>; 353724ba675SRob Herring }; 354724ba675SRob Herring 355724ba675SRob Herring fan@4 { 356724ba675SRob Herring reg = <0x02>; 357724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x04>; 358724ba675SRob Herring }; 359724ba675SRob Herring 360724ba675SRob Herring fan@5 { 361724ba675SRob Herring reg = <0x02>; 362724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x05>; 363724ba675SRob Herring }; 364724ba675SRob Herring 365724ba675SRob Herring fan@6 { 366724ba675SRob Herring reg = <0x03>; 367724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x06>; 368724ba675SRob Herring }; 369724ba675SRob Herring 370724ba675SRob Herring fan@7 { 371724ba675SRob Herring reg = <0x03>; 372724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x07>; 373724ba675SRob Herring }; 374724ba675SRob Herring 375724ba675SRob Herring fan@8 { 376724ba675SRob Herring reg = <0x04>; 377724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x08>; 378724ba675SRob Herring }; 379724ba675SRob Herring 380724ba675SRob Herring fan@9 { 381724ba675SRob Herring reg = <0x04>; 382724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x09>; 383724ba675SRob Herring }; 384724ba675SRob Herring 385724ba675SRob Herring fan@10 { 386724ba675SRob Herring reg = <0x05>; 387724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x0a>; 388724ba675SRob Herring }; 389724ba675SRob Herring 390724ba675SRob Herring fan@11 { 391724ba675SRob Herring reg = <0x05>; 392724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x0b>; 393724ba675SRob Herring }; 394724ba675SRob Herring 395724ba675SRob Herring fan@12 { 396724ba675SRob Herring reg = <0x06>; 397724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x0c>; 398724ba675SRob Herring }; 399724ba675SRob Herring 400724ba675SRob Herring fan@13 { 401724ba675SRob Herring reg = <0x06>; 402724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x0d>; 403724ba675SRob Herring }; 404724ba675SRob Herring}; 405724ba675SRob Herring 406724ba675SRob Herring&gpio { 407724ba675SRob Herring 408724ba675SRob Herring pin_gpio_b5 { 409724ba675SRob Herring gpio-hog; 410724ba675SRob Herring gpios = <ASPEED_GPIO(B, 5) GPIO_ACTIVE_HIGH>; 411724ba675SRob Herring output-high; 412724ba675SRob Herring line-name = "IRQ_BMC_PCH_SMI_LPC_N"; 413724ba675SRob Herring }; 414724ba675SRob Herring 415724ba675SRob Herring pin_gpio_f0 { 416724ba675SRob Herring gpio-hog; 417724ba675SRob Herring gpios = <ASPEED_GPIO(F, 0) GPIO_ACTIVE_HIGH>; 418724ba675SRob Herring output-low; 419724ba675SRob Herring line-name = "IRQ_BMC_PCH_NMI_R"; 420724ba675SRob Herring }; 421724ba675SRob Herring 422724ba675SRob Herring pin_gpio_f3 { 423724ba675SRob Herring gpio-hog; 424724ba675SRob Herring gpios = <ASPEED_GPIO(F, 3) GPIO_ACTIVE_HIGH>; 425724ba675SRob Herring output-high; 426724ba675SRob Herring line-name = "I2C_BUS0_RST_OUT_N"; 427724ba675SRob Herring }; 428724ba675SRob Herring 429724ba675SRob Herring pin_gpio_f4 { 430724ba675SRob Herring gpio-hog; 431724ba675SRob Herring gpios = <ASPEED_GPIO(F, 4) GPIO_ACTIVE_HIGH>; 432724ba675SRob Herring output-low; 433724ba675SRob Herring line-name = "FM_SKT0_FAULT_LED"; 434724ba675SRob Herring }; 435724ba675SRob Herring 436724ba675SRob Herring pin_gpio_f5 { 437724ba675SRob Herring gpio-hog; 438724ba675SRob Herring gpios = <ASPEED_GPIO(F, 5) GPIO_ACTIVE_HIGH>; 439724ba675SRob Herring output-low; 440724ba675SRob Herring line-name = "FM_SKT1_FAULT_LED"; 441724ba675SRob Herring }; 442724ba675SRob Herring 443724ba675SRob Herring pin_gpio_g4 { 444724ba675SRob Herring gpio-hog; 445724ba675SRob Herring gpios = <ASPEED_GPIO(G, 4) GPIO_ACTIVE_HIGH>; 446724ba675SRob Herring output-high; 447724ba675SRob Herring line-name = "FAN_PWR_CTL_N"; 448724ba675SRob Herring }; 449724ba675SRob Herring 450724ba675SRob Herring pin_gpio_g7 { 451724ba675SRob Herring gpio-hog; 452724ba675SRob Herring gpios = <ASPEED_GPIO(G, 7) GPIO_ACTIVE_HIGH>; 453724ba675SRob Herring output-high; 454724ba675SRob Herring line-name = "RST_BMC_PCIE_I2CMUX_N"; 455724ba675SRob Herring }; 456724ba675SRob Herring 457724ba675SRob Herring pin_gpio_h2 { 458724ba675SRob Herring gpio-hog; 459724ba675SRob Herring gpios = <ASPEED_GPIO(H, 2) GPIO_ACTIVE_HIGH>; 460724ba675SRob Herring output-high; 461724ba675SRob Herring line-name = "PSU1_FFS_N_R"; 462724ba675SRob Herring }; 463724ba675SRob Herring 464724ba675SRob Herring pin_gpio_h3 { 465724ba675SRob Herring gpio-hog; 466724ba675SRob Herring gpios = <ASPEED_GPIO(H, 3) GPIO_ACTIVE_HIGH>; 467724ba675SRob Herring output-high; 468724ba675SRob Herring line-name = "PSU2_FFS_N_R"; 469724ba675SRob Herring }; 470724ba675SRob Herring 471724ba675SRob Herring pin_gpio_i3 { 472724ba675SRob Herring gpio-hog; 473724ba675SRob Herring gpios = <ASPEED_GPIO(I, 3) GPIO_ACTIVE_HIGH>; 474724ba675SRob Herring output-high; 475724ba675SRob Herring line-name = "BMC_INTRUDED_COVER"; 476724ba675SRob Herring }; 477724ba675SRob Herring 478724ba675SRob Herring pin_gpio_j2 { 479724ba675SRob Herring gpio-hog; 480724ba675SRob Herring gpios = <ASPEED_GPIO(J, 2) GPIO_ACTIVE_HIGH>; 481724ba675SRob Herring output-high; 482724ba675SRob Herring line-name = "BMC_BIOS_UPDATE_N"; 483724ba675SRob Herring }; 484724ba675SRob Herring 485724ba675SRob Herring pin_gpio_j3 { 486724ba675SRob Herring gpio-hog; 487724ba675SRob Herring gpios = <ASPEED_GPIO(J, 3) GPIO_ACTIVE_HIGH>; 488724ba675SRob Herring output-high; 489724ba675SRob Herring line-name = "RST_BMC_HDD_I2CMUX_N"; 490724ba675SRob Herring }; 491724ba675SRob Herring 492724ba675SRob Herring pin_gpio_s2 { 493724ba675SRob Herring gpio-hog; 494724ba675SRob Herring gpios = <ASPEED_GPIO(S, 2) GPIO_ACTIVE_HIGH>; 495724ba675SRob Herring output-high; 496724ba675SRob Herring line-name = "BMC_VGA_SW"; 497724ba675SRob Herring }; 498724ba675SRob Herring 499724ba675SRob Herring pin_gpio_s4 { 500724ba675SRob Herring gpio-hog; 501724ba675SRob Herring gpios = <ASPEED_GPIO(S, 4) GPIO_ACTIVE_HIGH>; 502724ba675SRob Herring output; 503724ba675SRob Herring line-name = "VBAT_EN_N"; 504724ba675SRob Herring }; 505724ba675SRob Herring 506724ba675SRob Herring pin_gpio_s6 { 507724ba675SRob Herring gpio-hog; 508724ba675SRob Herring gpios = <ASPEED_GPIO(S, 6) GPIO_ACTIVE_HIGH>; 509724ba675SRob Herring output-high; 510724ba675SRob Herring line-name = "PU_BMC_GPIOS6"; 511724ba675SRob Herring }; 512724ba675SRob Herring 513724ba675SRob Herring pin_gpio_y0 { 514724ba675SRob Herring gpio-hog; 515724ba675SRob Herring gpios = <ASPEED_GPIO(Y, 0) GPIO_ACTIVE_HIGH>; 516724ba675SRob Herring output-low; 517724ba675SRob Herring line-name = "BMC_NCSI_MUX_CTL_S0"; 518724ba675SRob Herring }; 519724ba675SRob Herring 520724ba675SRob Herring pin_gpio_y1 { 521724ba675SRob Herring gpio-hog; 522724ba675SRob Herring gpios = <ASPEED_GPIO(Y, 1) GPIO_ACTIVE_HIGH>; 523724ba675SRob Herring output-low; 524724ba675SRob Herring line-name = "BMC_NCSI_MUX_CTL_S1"; 525724ba675SRob Herring }; 526724ba675SRob Herring 527724ba675SRob Herring pin_gpio_z0 { 528724ba675SRob Herring gpio-hog; 529724ba675SRob Herring gpios = <ASPEED_GPIO(Z, 0) GPIO_ACTIVE_HIGH>; 530724ba675SRob Herring output-high; 531724ba675SRob Herring line-name = "I2C_RISER2_INT_N"; 532724ba675SRob Herring }; 533724ba675SRob Herring 534724ba675SRob Herring pin_gpio_z2 { 535724ba675SRob Herring gpio-hog; 536724ba675SRob Herring gpios = <ASPEED_GPIO(Z, 2) GPIO_ACTIVE_HIGH>; 537724ba675SRob Herring output-high; 538724ba675SRob Herring line-name = "I2C_RISER2_RESET_N"; 539724ba675SRob Herring }; 540724ba675SRob Herring 541724ba675SRob Herring pin_gpio_z3 { 542724ba675SRob Herring gpio-hog; 543724ba675SRob Herring gpios = <ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>; 544724ba675SRob Herring output-high; 545724ba675SRob Herring line-name = "FM_BMC_PCH_SCI_LPC_N"; 546724ba675SRob Herring }; 547724ba675SRob Herring 548724ba675SRob Herring pin_gpio_z7 { 549724ba675SRob Herring gpio-hog; 550724ba675SRob Herring gpios = <ASPEED_GPIO(Z, 7) GPIO_ACTIVE_HIGH>; 551724ba675SRob Herring output-low; 552724ba675SRob Herring line-name = "BMC_POST_CMPLT_N"; 553724ba675SRob Herring }; 554724ba675SRob Herring 555724ba675SRob Herring pin_gpio_aa0 { 556724ba675SRob Herring gpio-hog; 557724ba675SRob Herring gpios = <ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>; 558724ba675SRob Herring output-low; 559724ba675SRob Herring line-name = "HOST_BMC_USB_SEL"; 560724ba675SRob Herring }; 561724ba675SRob Herring 562724ba675SRob Herring pin_gpio_aa5 { 563724ba675SRob Herring gpio-hog; 564724ba675SRob Herring gpios = <ASPEED_GPIO(AA, 5) GPIO_ACTIVE_HIGH>; 565724ba675SRob Herring output-high; 566724ba675SRob Herring line-name = "I2C_BUS1_RST_OUT_N"; 567724ba675SRob Herring }; 568724ba675SRob Herring 569724ba675SRob Herring}; 570