1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 3 4 #include "aspeed-g5.dtsi" 5 #include <dt-bindings/gpio/aspeed-gpio.h> 6 #include <dt-bindings/interrupt-controller/irq 7 8 /{ 9 model = "ASRock ROMED8HM3 BMC v1.00"; 10 compatible = "asrock,romed8hm3-bmc", " 11 12 aliases { 13 serial4 = &uart5; 14 }; 15 16 chosen { 17 stdout-path = &uart5; 18 bootargs = "console=tty0 conso 19 }; 20 21 memory@80000000 { 22 reg = <0x80000000 0x20000000>; 23 }; 24 25 leds { 26 compatible = "gpio-leds"; 27 28 heartbeat { 29 gpios = <&gpio ASPEED_ 30 linux,default-trigger 31 }; 32 33 system-fault { 34 gpios = <&gpio ASPEED_ 35 panic-indicator; 36 }; 37 }; 38 39 iio-hwmon { 40 compatible = "iio-hwmon"; 41 io-channels = <&adc 0>, <&adc 42 <&adc 4>, <&adc 5>, <& 43 <&adc 8>, <&adc 9>, <& 44 <&adc 12>, <&adc 13>, 45 }; 46 }; 47 48 &fmc { 49 status = "okay"; 50 flash@0 { 51 status = "okay"; 52 m25p,fast-read; 53 label = "bmc"; 54 spi-max-frequency = <50000000> 55 #include "openbmc-flash-layout-64.dtsi" 56 }; 57 }; 58 59 &uart5 { 60 status = "okay"; 61 }; 62 63 &vuart { 64 status = "okay"; 65 aspeed,lpc-io-reg = <0x2f8>; 66 aspeed,lpc-interrupts = <3 IRQ_TYPE_LE 67 }; 68 69 &mac0 { 70 status = "okay"; 71 72 pinctrl-names = "default"; 73 pinctrl-0 = <&pinctrl_rgmii1_default & 74 75 nvmem-cells = <ð0_macaddress>; 76 nvmem-cell-names = "mac-address"; 77 }; 78 79 &i2c0 { 80 status = "okay"; 81 82 /* inlet temp sensor */ 83 w83773g@4c { 84 compatible = "nuvoton,w83773g" 85 reg = <0x4c>; 86 }; 87 }; 88 89 &i2c1 { 90 status = "okay"; 91 }; 92 93 &i2c2 { 94 status = "okay"; 95 96 /* IPB temp sensor */ 97 w83773g@4c { 98 compatible = "nuvoton,w83773g" 99 reg = <0x4c>; 100 }; 101 102 /* IPB PMIC */ 103 lm25066@40 { 104 compatible = "ti,lm25066"; 105 reg = <0x40>; 106 shunt-resistor-micro-ohms = <1 107 }; 108 109 /* 12VSB PMIC */ 110 lm25066@41 { 111 compatible = "ti,lm25066"; 112 reg = <0x41>; 113 shunt-resistor-micro-ohms = <1 114 }; 115 }; 116 117 &i2c4 { 118 status = "okay"; 119 }; 120 121 &i2c5 { 122 status = "okay"; 123 }; 124 125 &i2c6 { 126 status = "okay"; 127 }; 128 129 &i2c7 { 130 status = "okay"; 131 132 /* Baseboard FRU eeprom */ 133 eeprom@50 { 134 compatible = "st,24c128", "atm 135 reg = <0x50>; 136 pagesize = <16>; 137 #address-cells = <1>; 138 #size-cells = <1>; 139 140 eth0_macaddress: macaddress@3f 141 reg = <0x3f80 6>; 142 }; 143 }; 144 }; 145 146 &i2c8 { 147 status = "okay"; 148 }; 149 150 &i2c9 { 151 status = "okay"; 152 }; 153 154 &video { 155 status = "okay"; 156 }; 157 158 &vhub { 159 status = "okay"; 160 }; 161 162 &lpc_ctrl { 163 status = "okay"; 164 }; 165 166 &lpc_snoop { 167 status = "okay"; 168 snoop-ports = <0x80>; 169 }; 170 171 &kcs3 { 172 status = "okay"; 173 aspeed,lpc-io-reg = <0xca2>; 174 }; 175 176 &pwm_tacho { 177 status = "okay"; 178 pinctrl-names = "default"; 179 pinctrl-0 = <&pinctrl_pwm3_default 180 &pinctrl_pwm4_default 181 &pinctrl_pwm5_default 182 &pinctrl_pwm6_default>; 183 184 fan@3 { 185 reg = <0x03>; 186 aspeed,fan-tach-ch = /bits/ 8 187 }; 188 189 fan@4 { 190 reg = <0x04>; 191 aspeed,fan-tach-ch = /bits/ 8 192 }; 193 194 fan@5 { 195 reg = <0x05>; 196 aspeed,fan-tach-ch = /bits/ 8 197 }; 198 199 fan@6 { 200 reg = <0x06>; 201 aspeed,fan-tach-ch = /bits/ 8 202 }; 203 }; 204 205 &gpio { 206 status = "okay"; 207 gpio-line-names = 208 /* A */ "LOCATORLED_STATUS_N" 209 "", "", "", "", 210 /* B */ "POST_COMPLETE_N", "" 211 /* C */ "", "", "", "", "PCIE 212 /* D */ "BMC_PSIN", "BMC_PSOU 213 "", "", "", "PSU_FAN_F 214 /* E */ "", "", "", "", "", " 215 /* F */ "NIC_PWR_GOOD", "PRSN 216 "PRSNTB3", "", "3VSB_P 217 /* G */ "HWM_BAT_EN", "CHASSI 218 "BMC_ALERT1_N_R", "BMC 219 /* H */ "X24_C1_PRSNT", "X24_ 220 "FACMODE", "BMC_RTCRST 221 /* I */ "", "", "", "", "", " 222 /* J */ "BMC_READY", "BMC_PCH 223 "", "", "", "", 224 /* K */ "", "", "", "", "", " 225 /* L */ "", "", "", "", "", " 226 /* M */ "", "", "MEZZ_PWRBRK_ 227 "MAIN_PWR_EN_G", "BMC_ 228 /* N */ "", "", "", "", "", " 229 /* O */ "", "", "", "", "", " 230 /* P */ "", "", "", "", "", " 231 /* Q */ "", "", "", "", 232 "BMC_SMB_PRESENT_1_N", 233 "BMC_SMB_PRESENT_3_N", 234 /* R */ "", "", "THERMALTRIP_ 235 /* S */ "", "", "", "", "", " 236 /* T */ "", "", "", "", "", " 237 /* U */ "", "", "", "", "", " 238 /* V */ "", "", "", "", "", " 239 /* W */ "", "", "", "", "", " 240 /* X */ "", "", "", "", "", " 241 /* Y */ "SLP_S3", "SLP_S4_S5" 242 /* Z */ "", "", "SYSTEM_FAULT 243 "", "", "", "", 244 /* AA */ "FM_CPU0_IBMC_THERMTR 245 "", "", "", "", 246 /* AB */ "BMC_FORCE_SELFREFRES 247 "", "", "", "", 248 /* AC */ "", "", "", "", "", " 249 }; 250 251 &adc { 252 status = "okay"; 253 pinctrl-names = "default"; 254 pinctrl-0 = <&pinctrl_adc0_default 255 &pinctrl_adc1_default 256 &pinctrl_adc2_default 257 &pinctrl_adc3_default 258 &pinctrl_adc4_default 259 &pinctrl_adc5_default 260 &pinctrl_adc6_default 261 &pinctrl_adc7_default 262 &pinctrl_adc8_default 263 &pinctrl_adc9_default 264 &pinctrl_adc10_default 265 &pinctrl_adc11_default 266 &pinctrl_adc12_default 267 &pinctrl_adc13_default 268 &pinctrl_adc14_default 269 &pinctrl_adc15_default>; 270 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.