~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/aspeed/aspeed-bmc-asrock-e3c246d4i.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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.h>
  8 
  9 /{
 10         model = "ASRock E3C246D4I BMC";
 11         compatible = "asrock,e3c246d4i-bmc", "aspeed,ast2500";
 12 
 13         aliases {
 14                 serial4 = &uart5;
 15         };
 16 
 17         chosen {
 18                 stdout-path = &uart5;
 19                 bootargs = "console=tty0 console=ttyS4,115200 earlycon";
 20         };
 21 
 22         memory@80000000 {
 23                 reg = <0x80000000 0x20000000>;
 24         };
 25 
 26         leds {
 27                 compatible = "gpio-leds";
 28 
 29                 heartbeat {
 30                         /* BMC_HB_LED_N */
 31                         gpios = <&gpio ASPEED_GPIO(H, 6) GPIO_ACTIVE_LOW>;
 32                         linux,default-trigger = "timer";
 33                 };
 34 
 35                 system-fault {
 36                         /* SYSTEM_FAULT_LED_N */
 37                         gpios = <&gpio ASPEED_GPIO(Z, 2) GPIO_ACTIVE_LOW>;
 38                         panic-indicator;
 39                 };
 40         };
 41 
 42         gpio-keys {
 43                 compatible = "gpio-keys";
 44 
 45                 uid-button {
 46                         label = "uid-button";
 47                         gpios = <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>;
 48                         linux,code = <ASPEED_GPIO(F, 1)>;
 49                 };
 50         };
 51 
 52         iio-hwmon {
 53                 compatible = "iio-hwmon";
 54                 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>,
 55                         <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>,
 56                         <&adc 10>, <&adc 11>, <&adc 12>;
 57         };
 58 };
 59 
 60 &fmc {
 61         status = "okay";
 62         flash@0 {
 63                 status = "okay";
 64                 m25p,fast-read;
 65                 label = "bmc";
 66                 spi-max-frequency = <50000000>; /* 50 MHz */
 67 #include "openbmc-flash-layout.dtsi"
 68         };
 69 };
 70 
 71 &uart5 {
 72         status = "okay";
 73 };
 74 
 75 &vuart {
 76         status = "okay";
 77         aspeed,lpc-io-reg = <0x2f8>;
 78         aspeed,lpc-interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
 79 };
 80 
 81 &mac0 {
 82         status = "okay";
 83 
 84         pinctrl-names = "default";
 85         pinctrl-0 = <&pinctrl_rgmii1_default &pinctrl_mdio1_default>;
 86 
 87         nvmem-cells = <&eth0_macaddress>;
 88         nvmem-cell-names = "mac-address";
 89 };
 90 
 91 &i2c1 {
 92         status = "okay";
 93 
 94         /* thermal sensor, one diode run to a disconnected header */
 95         w83773g@4c {
 96                 compatible = "nuvoton,w83773g";
 97                 reg = <0x4c>;
 98         };
 99 };
100 
101 &i2c3 {
102         status = "okay";
103 
104         /* FRU EEPROM */
105         eeprom@57 {
106                 compatible = "st,24c128", "atmel,24c128";
107                 reg = <0x57>;
108                 pagesize = <16>;
109                 #address-cells = <1>;
110                 #size-cells = <1>;
111 
112                 eth0_macaddress: macaddress@3f80 {
113                         reg = <0x3f80 6>;
114                 };
115         };
116 };
117 
118 &video {
119         status = "okay";
120 };
121 
122 &vhub {
123         status = "okay";
124 };
125 
126 &lpc_ctrl {
127         status = "okay";
128 };
129 
130 &lpc_snoop {
131         status = "okay";
132         snoop-ports = <0x80>;
133 };
134 
135 &gpio {
136         status = "okay";
137         gpio-line-names =
138                 /*  A */ "BMC_MAC1_INTB", "BMC_MAC2_INTB", "NMI_BTN_N", "BMC_NMI",
139                         "", "", "", "",
140                 /*  B */ "", "", "", "", "", "IRQ_BMC_PCH_SMI_LPC_N", "", "",
141                 /*  C */ "", "", "", "", "", "", "", "",
142                 /*  D */ "BMC_PSIN", "BMC_PSOUT", "BMC_RESETCON", "RESETCON",
143                         "", "", "", "",
144                 /*  E */ "", "", "", "", "", "", "", "",
145                 /*  F */ "LOCATORLED_STATUS_N", "LOCATORBTN", "", "",
146                         "", "", "BMC_PCH_SCI_LPC", "BMC_NCSI_MUX_CTL",
147                 /*  G */ "HWM_BAT_EN", "CHASSIS_ID0", "CHASSIS_ID1", "CHASSIS_ID2",
148                         "BMC_ALERT1_N_R", "BMC_ALERT2_N_R", "BMC_ALERT3_N", "SML0ALERT",
149                 /*  H */ "FM_ME_RCVR_N", "O_PWROK", "SKL_CNL_R", "D4_DIMM_EVENT_3V_N",
150                         "MFG_MODE_N", "BMC_RTCRST", "BMC_HB_LED_N", "BMC_CASEOPEN",
151                 /*  I */ "", "", "", "", "", "", "", "",
152                 /*  J */ "BMC_READY", "BMC_PCH_BIOS_CS_N", "BMC_SMI", "",
153                         "", "", "", "",
154                 /*  K */ "", "", "", "", "", "", "", "",
155                 /*  L */ "BMC_CTS1", "BMC_DCD1", "BMC_DSR1", "BMC_RI1",
156                         "BMC_DTR1", "BMC_RTS1", "BMC_TXD1", "BMC_RXD1",
157                 /*  M */ "BMC_LAN0_DIS_N", "BMC_LAN1_DIS_N", "", "",
158                         "", "", "", "",
159                 /*  N */ "", "", "", "", "", "", "", "",
160                 /*  O */ "", "", "", "", "", "", "", "",
161                 /*  P */ "", "", "", "", "", "", "", "",
162                 /*  Q */ "", "", "", "",
163                         "BMC_SBM_PRESENT_1_N", "BMC_SBM_PRESENT_2_N",
164                         "BMC_SBM_PRESENT_3_N", "BMC_PCIE_WAKE_N",
165                 /*  R */ "", "", "", "", "", "", "", "",
166                 /*  S */ "PCHHOT_BMC_N", "", "RSMRST",
167                         "", "", "", "", "",
168                 /*  T */ "", "", "", "", "", "", "", "",
169                 /*  U */ "", "", "", "", "", "", "", "",
170                 /*  V */ "", "", "", "", "", "", "", "",
171                 /*  W */ "PS_PWROK", /* dummy always-high signal */
172                         "", "", "", "", "", "", "",
173                 /*  X */ "", "", "", "", "", "", "", "",
174                 /*  Y */ "SLP_S3", "SLP_S5", "", "", "", "", "", "",
175                 /*  Z */ "CPU_CATERR_BMC_PCH_N", "", "SYSTEM_FAULT_LED_N", "BMC_THROTTLE_N",
176                         "", "", "", "",
177                 /* AA */ "CPU1_THERMTRIP_LATCH_N", "", "CPU1_PROCHOT_N", "",
178                         "", "", "IRQ_SMI_ACTIVE_N", "FM_BIOS_POST_CMPLT_N",
179                 /* AB */ "", "", "ME_OVERRIDE", "BMC_DMI_MODIFY",
180                         "", "", "", "",
181                 /* AC */ "LAD0", "LAD1", "LAD2", "LAD3",
182                         "CK_33M_BMC", "LFRAME", "SERIRQ", "S_PLTRST";
183 
184         /* Assert BMC_READY so BIOS doesn't sit around waiting for it */
185         bmc-ready {
186                 gpio-hog;
187                 gpios = <ASPEED_GPIO(J, 0) GPIO_ACTIVE_LOW>;
188                 output-high;
189         };
190 };
191 
192 &adc {
193         status = "okay";
194         pinctrl-names = "default";
195         pinctrl-0 = <&pinctrl_adc0_default
196                         &pinctrl_adc1_default
197                         &pinctrl_adc2_default
198                         &pinctrl_adc3_default
199                         &pinctrl_adc4_default
200                         &pinctrl_adc5_default
201                         &pinctrl_adc6_default
202                         &pinctrl_adc7_default
203                         &pinctrl_adc8_default
204                         &pinctrl_adc9_default
205                         &pinctrl_adc10_default
206                         &pinctrl_adc11_default
207                         &pinctrl_adc12_default>;
208 };
209 
210 &kcs3 {
211         status = "okay";
212         aspeed,lpc-io-reg = <0xca2>;
213 };
214 
215 &peci0 {
216         status = "okay";
217 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php