Lines Matching +full:flash +full:- +full:gpios

1 // SPDX-License-Identifier: GPL-2.0+
3 /dts-v1/;
5 #include "aspeed-g5.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
10 compatible = "inventec,lanyang-bmc", "aspeed,ast2500";
13 stdout-path = &uart5;
21 reserved-memory {
22 #address-cells = <1>;
23 #size-cells = <1>;
27 no-map;
33 compatible = "gpio-leds";
37 gpios = <&gpio ASPEED_GPIO(B, 6) GPIO_ACTIVE_LOW>;
42 gpios = <&gpio ASPEED_GPIO(B, 7) GPIO_ACTIVE_HIGH>;
47 gpios = <&gpio ASPEED_GPIO(B, 1) GPIO_ACTIVE_HIGH>;
52 gpios = <&gpio ASPEED_GPIO(B, 3) GPIO_ACTIVE_HIGH>;
56 gpios = <&gpio ASPEED_GPIO(H, 6) GPIO_ACTIVE_HIGH>;
61 gpios = <&gpio ASPEED_GPIO(H, 7) GPIO_ACTIVE_HIGH>;
65 fsi: gpio-fsi {
66 compatible = "fsi-master-gpio", "fsi-master";
67 #address-cells = <2>;
68 #size-cells = <0>;
70 clock-gpios = <&gpio ASPEED_GPIO(J, 0) GPIO_ACTIVE_HIGH>;
71 data-gpios = <&gpio ASPEED_GPIO(J, 1) GPIO_ACTIVE_HIGH>;
72 trans-gpios = <&gpio ASPEED_GPIO(D, 5) GPIO_ACTIVE_HIGH>;
73 enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
74 mux-gpios = <&gpio ASPEED_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
77 iio-hwmon {
78 compatible = "iio-hwmon";
79 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
85 iio-hwmon-battery {
86 compatible = "iio-hwmon";
87 io-channels = <&adc 12>;
93 pinctrl-names = "default";
94 pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default
99 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
104 aspeed,fan-tach-ch = /bits/ 8 <0x01>;
109 aspeed,fan-tach-ch = /bits/ 8 <0x02>;
114 aspeed,fan-tach-ch = /bits/ 8 <0x03>;
120 flash@0 {
122 m25p,fast-read;
124 #include "openbmc-flash-layout.dtsi"
130 pinctrl-names = "default";
131 pinctrl-0 = <&pinctrl_spi1_default>;
133 flash@0 {
136 m25p,fast-read;
142 pinctrl-names = "default";
143 pinctrl-0 = <&pinctrl_spi2ck_default
149 flash@0 {
156 pinctrl-names = "default";
157 pinctrl-0 = <&pinctrl_txd1_default
163 memory-region = <&flash_memory>;
164 flash = <&spi1>;
169 snoop-ports = <0x80>;
179 pinctrl-names = "default";
180 pinctrl-0 = <&pinctrl_rmii1_default>;
183 clock-names = "MACCLK", "RCLK";
184 use-ncsi;
190 pinctrl-names = "default";
191 pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
267 aspeed,external-nodes = <&gfx &lhc>;
272 gpio-hog;
273 gpios = <ASPEED_GPIO(B, 0) GPIO_ACTIVE_HIGH>;
274 output-high;
275 line-name = "BMC_HDD1_PWR_EN";
279 gpio-hog;
280 gpios = <ASPEED_GPIO(B, 5) GPIO_ACTIVE_HIGH>;
282 line-name = "BMC_USB1_OCI2";
286 gpio-hog;
287 gpios = <ASPEED_GPIO(H, 5) GPIO_ACTIVE_HIGH>;
288 output-high;
289 line-name = "BMC_CP0_PERST_ENABLE_R";
293 gpio-hog;
294 gpios = <ASPEED_GPIO(Z, 2) GPIO_ACTIVE_HIGH>;
295 output-high;
296 line-name = "RST_PCA9546_U177_N";
300 gpio-hog;
301 gpios = <ASPEED_GPIO(AA, 6) GPIO_ACTIVE_HIGH>;
302 output-high;
303 line-name = "BMC_CP0_RESET_N";
307 gpio-hog;
308 gpios = <ASPEED_GPIO(AA, 7) GPIO_ACTIVE_HIGH>;
309 output-high;
310 line-name = "BMC_TPM_RESET_N";
314 gpio-hog;
315 gpios = <ASPEED_GPIO(AB, 0) GPIO_ACTIVE_LOW>;
316 output-high;
317 line-name = "BMC_USB_PWRON_N";
329 #include "ibm-power9-dual.dtsi"