1 // SPDX-License-Identifier: GPL-2.0+
2 // Copyright (C) 2021 YADRO
4 #include "aspeed-g5.dtsi"
5 #include <dt-bindings/gpio/aspeed-gpio.h>
14 bootargs = "console=ttyS4,115200 earlyprintk";
18 reg = <0x80000000 0x20000000>;
26 video_engine_memory: jpegbuffer {
27 size = <0x02000000>; /* 32M */
28 alignment = <0x01000000>;
29 compatible = "shared-dma-pool";
34 compatible = "ramoops";
35 reg = <0x9eff0000 0x10000>;
36 record-size = <0x2000>;
37 console-size = <0x2000>;
42 compatible = "iio-hwmon";
43 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
44 <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>,
45 <&adc 8>, <&adc 9>, <&adc 10>, <&adc 11>,
46 <&adc 12>, <&adc 13>, <&adc 14>, <&adc 15>;
50 compatible = "gpio-leds";
53 label = "platform:blue:indicator";
54 linux,default-trigger = "heartbeat";
55 gpios = <&gpio ASPEED_GPIO(S, 6) GPIO_ACTIVE_LOW>;
59 label = "platform:red:status";
60 default-state = "off";
61 gpios = <&gpio ASPEED_GPIO(S, 5) GPIO_ACTIVE_LOW>;
65 label = "platform:green:status";
66 default-state = "off";
67 gpios = <&gpio ASPEED_GPIO(S, 4) GPIO_ACTIVE_LOW>;
71 label = "platform:red:power";
72 default-state = "off";
73 gpios = <&gpio ASPEED_GPIO(AA, 4) GPIO_ACTIVE_LOW>;
77 label = "platform:green:power";
78 default-state = "off";
79 gpios = <&gpio ASPEED_GPIO(AA, 5) GPIO_ACTIVE_LOW>;
84 compatible = "pwm-beeper";
85 pwms = <&timer 5 1000000 0>;
95 #include "openbmc-flash-layout-64.dtsi"
101 pinctrl-names = "default";
102 pinctrl-0 = <&pinctrl_spi2ck_default
103 &pinctrl_spi2miso_default
104 &pinctrl_spi2mosi_default
105 &pinctrl_spi2cs0_default>;
117 pinctrl-names = "default";
118 pinctrl-0 = <&pinctrl_rmii1_default>;
124 pinctrl-names = "default";
125 pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
130 #address-cells = <1>;
133 phy: ethernet-phy@1 {
135 compatible = "ethernet-phy-id0022.1640";
138 micrel,led-mode = <0>;
153 memory-region = <&video_engine_memory>;
163 pinctrl-names = "default";
164 pinctrl-0 = <&pinctrl_sd2_default>;
169 fttmr010,pwm-outputs = <5>;
170 pinctrl-names = "default";
171 pinctrl-0 = <&pinctrl_timer5_default>;
178 pinctrl-names = "default";
179 pinctrl-0 = <&pinctrl_txd1_default
180 &pinctrl_rxd1_default
181 &pinctrl_nrts1_default
182 &pinctrl_ndtr1_default
183 &pinctrl_ndsr1_default
184 &pinctrl_ncts1_default
185 &pinctrl_ndcd1_default
186 &pinctrl_nri1_default>;
198 aspeed,lpc-io-reg = <0xCA2>;
203 aspeed,lpc-io-reg = <0xCA4>;
208 snoop-ports = <0x80>;
218 pinctrl-names = "default";
224 pinctrl-names = "default";
230 pinctrl-names = "default";
235 /* SMB_IPMB_STBY_LVC3 */
241 /* SMB_CHASSENSOR_STBY_LVC3 */
246 /* SMB_PCIE_STBY_LVC3 */
251 /* SMB_HOST_STBY_LVC3 */
257 /* BMC_PMBUS2_STBY */
262 /* SMB_SMLINK0_STBY_LVC3 */
263 bus-frequency = <1000000>;
269 /* SMB_TEMPSENSOR_STBY_LVC3 */
275 /* SMB_SM_PMB1_SML1_STBY_LVC3 */
281 /* SMB_BMC_ETH3_LVC3 */
286 /* SMB_BMC_ETH2_LVC3 */
291 /* SMB_BMC_MGMT_LVC3 */
295 compatible = "atmel,24c64";
299 address-width = <16>;
304 /* SMB_BMC_FAULT_EXP_LVC3 */
309 /* SMB_PCIE2_STBY_LVC3 */