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/i2c/i2c.h> 7 #include <dt-bindings/interrupt-controller/irq 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/watchdog/aspeed-wdt.h> 10 11 /{ 12 model = "ASRock E3C256D4I BMC"; 13 compatible = "asrock,e3c256d4i-bmc", " 14 15 aliases { 16 serial4 = &uart5; 17 18 i2c20 = &i2c2mux0ch0; 19 i2c21 = &i2c2mux0ch1; 20 i2c22 = &i2c2mux0ch2; 21 i2c23 = &i2c2mux0ch3; 22 }; 23 24 chosen { 25 stdout-path = &uart5; 26 }; 27 28 memory@80000000 { 29 reg = <0x80000000 0x20000000>; 30 }; 31 32 leds { 33 compatible = "gpio-leds"; 34 35 /* BMC heartbeat */ 36 led-0 { 37 gpios = <&gpio ASPEED_ 38 function = LED_FUNCTIO 39 color = <LED_COLOR_ID_ 40 linux,default-trigger 41 }; 42 43 /* system fault */ 44 led-1 { 45 gpios = <&gpio ASPEED_ 46 function = LED_FUNCTIO 47 color = <LED_COLOR_ID_ 48 panic-indicator; 49 }; 50 }; 51 52 iio-hwmon { 53 compatible = "iio-hwmon"; 54 io-channels = <&adc 0>, <&adc 55 <&adc 4>, <&adc 5>, <& 56 <&adc 8>, <&adc 9>, <& 57 <&adc 12>, <&adc 13>, 58 }; 59 }; 60 61 &fmc { 62 status = "okay"; 63 flash@0 { 64 status = "okay"; 65 m25p,fast-read; 66 label = "bmc"; 67 spi-max-frequency = <100000000 68 #include "openbmc-flash-layout-64.dtsi" 69 }; 70 }; 71 72 &uart1 { 73 status = "okay"; 74 }; 75 76 &uart2 { 77 status = "okay"; 78 }; 79 80 &uart3 { 81 status = "okay"; 82 }; 83 84 &uart4 { 85 status = "okay"; 86 }; 87 88 &uart5 { 89 status = "okay"; 90 }; 91 92 &uart_routing { 93 status = "okay"; 94 }; 95 96 &mac0 { 97 status = "okay"; 98 99 pinctrl-names = "default"; 100 pinctrl-0 = <&pinctrl_rgmii1_default & 101 102 nvmem-cells = <ð0_macaddress>; 103 nvmem-cell-names = "mac-address"; 104 }; 105 106 &i2c0 { 107 status = "okay"; 108 }; 109 110 &i2c1 { 111 status = "okay"; 112 }; 113 114 &i2c2 { 115 status = "okay"; 116 117 i2c-mux@70 { 118 compatible = "nxp,pca9545"; 119 reg = <0x70>; 120 #address-cells = <1>; 121 #size-cells = <0>; 122 123 i2c2mux0ch0: i2c@0 { 124 #address-cells = <1>; 125 #size-cells = <0>; 126 reg = <0>; 127 }; 128 129 i2c2mux0ch1: i2c@1 { 130 #address-cells = <1>; 131 #size-cells = <0>; 132 reg = <1>; 133 }; 134 135 i2c2mux0ch2: i2c@2 { 136 #address-cells = <1>; 137 #size-cells = <0>; 138 reg = <2>; 139 }; 140 141 i2c2mux0ch3: i2c@3 { 142 #address-cells = <1>; 143 #size-cells = <0>; 144 reg = <3>; 145 }; 146 }; 147 }; 148 149 &i2c3 { 150 status = "okay"; 151 }; 152 153 &i2c4 { 154 status = "okay"; 155 }; 156 157 &i2c5 { 158 status = "okay"; 159 }; 160 161 &i2c6 { 162 status = "okay"; 163 }; 164 165 &i2c7 { 166 status = "okay"; 167 }; 168 169 &i2c9 { 170 status = "okay"; 171 }; 172 173 &i2c10 { 174 status = "okay"; 175 }; 176 177 &i2c11 { 178 status = "okay"; 179 180 vrm@60 { 181 compatible = "isil,isl69269"; 182 reg = <0x60>; 183 }; 184 }; 185 186 &i2c12 { 187 status = "okay"; 188 189 /* FRU eeprom */ 190 eeprom@57 { 191 compatible = "st,24c128", "atm 192 reg = <0x57>; 193 pagesize = <16>; 194 #address-cells = <1>; 195 #size-cells = <1>; 196 197 eth0_macaddress: macaddress@3f 198 reg = <0x3f80 6>; 199 }; 200 }; 201 }; 202 203 &video { 204 status = "okay"; 205 }; 206 207 &vhub { 208 status = "okay"; 209 }; 210 211 &lpc_ctrl { 212 status = "okay"; 213 }; 214 215 &lpc_snoop { 216 status = "okay"; 217 snoop-ports = <0x80>; 218 }; 219 220 &kcs3 { 221 status = "okay"; 222 aspeed,lpc-io-reg = <0xca2>; 223 }; 224 225 &peci0 { 226 status = "okay"; 227 }; 228 229 &wdt1 { 230 aspeed,reset-mask = <(AST2500_WDT_RESE 231 }; 232 233 &wdt2 { 234 aspeed,reset-mask = <(AST2500_WDT_RESE 235 }; 236 237 &pwm_tacho { 238 status = "okay"; 239 pinctrl-names = "default"; 240 pinctrl-0 = <&pinctrl_pwm0_default /* 241 &pinctrl_pwm2_default /* 242 &pinctrl_pwm4_default>; /* 243 244 /* CPU */ 245 fan@0 { 246 reg = <0x00>; 247 aspeed,fan-tach-ch = /bits/ 8 248 }; 249 250 /* rear */ 251 fan@2 { 252 reg = <0x02>; 253 aspeed,fan-tach-ch = /bits/ 8 254 }; 255 256 /* front */ 257 fan@4 { 258 reg = <0x04>; 259 aspeed,fan-tach-ch = /bits/ 8 260 }; 261 }; 262 263 &gpio { 264 status = "okay"; 265 gpio-line-names = 266 /* A */ "", "", "NMI_BTN_N", 267 /* B */ "", "", "", "", "", " 268 /* C */ "", "", "", "", "", " 269 /* D */ "BMC_PSIN", "BMC_PSOU 270 "", "", "", "", 271 /* E */ "", "", "", "", "", " 272 /* F */ "LOCATORLED_STATUS_N" 273 "", "", "BMC_PCH_SCI_L 274 /* G */ "HWM_BAT_EN", "CHASSI 275 "", "", "", "", 276 /* H */ "FM_ME_RCVR_N", "O_PW 277 "MFG_MODE_N", "BMC_RTC 278 /* I */ "", "", "", "", "", " 279 /* J */ "BMC_READY", "BMC_PCH 280 /* K */ "", "", "", "", "", " 281 /* L */ "", "", "", "", "", " 282 /* M */ "", "", "", "", "", " 283 /* N */ "", "", "", "", "", " 284 /* O */ "", "", "", "", "", " 285 /* P */ "", "", "", "", "", " 286 /* Q */ "", "", "", "", "", " 287 /* R */ "", "", "", "", "", " 288 /* S */ "PCHHOT_BMC_N", "", " 289 /* T */ "", "", "", "", "", " 290 /* U */ "", "", "", "", "", " 291 /* V */ "", "", "", "", "", " 292 /* W */ "", "", "", "", "", " 293 /* X */ "", "", "", "", "", " 294 /* Y */ "SLP_S3", "SLP_S5", " 295 /* Z */ "CPU_CATERR_BMC_N", " 296 "", "", "", "", 297 /* AA */ "CPU1_THERMTRIP_LATCH 298 "", "", "IRQ_SMI_ACTIV 299 /* AB */ "", "", "ME_OVERRIDE" 300 /* AC */ "", "", "", "", "", " 301 }; 302 303 &adc { 304 status = "okay"; 305 pinctrl-names = "default"; 306 pinctrl-0 = <&pinctrl_adc0_default /* 307 &pinctrl_adc1_default /* 308 &pinctrl_adc2_default /* 309 &pinctrl_adc3_default /* 310 &pinctrl_adc4_default /* 311 &pinctrl_adc5_default /* 312 &pinctrl_adc6_default /* 313 &pinctrl_adc7_default /* 314 &pinctrl_adc8_default /* 315 &pinctrl_adc9_default /* 316 &pinctrl_adc10_default /* 317 &pinctrl_adc11_default /* 318 &pinctrl_adc12_default /* 319 &pinctrl_adc13_default /* 320 &pinctrl_adc14_default /* 321 &pinctrl_adc15_default>; /* 322 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.