mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-27 03:55:37 +08:00
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc.git
This commit is contained in:
commit
1eac313ae4
@ -35,7 +35,10 @@ properties:
|
||||
- ampere,mtjade-bmc
|
||||
- aspeed,ast2500-evb
|
||||
- asrock,e3c246d4i-bmc
|
||||
- asrock,e3c256d4i-bmc
|
||||
- asrock,romed8hm3-bmc
|
||||
- asrock,spc621d8hm3-bmc
|
||||
- asrock,x570d4u-bmc
|
||||
- bytedance,g220a-bmc
|
||||
- facebook,cmm-bmc
|
||||
- facebook,minipack-bmc
|
||||
@ -74,15 +77,18 @@ properties:
|
||||
- ampere,mtmitchell-bmc
|
||||
- aspeed,ast2600-evb
|
||||
- aspeed,ast2600-evb-a1
|
||||
- asus,x4tf
|
||||
- facebook,bletchley-bmc
|
||||
- facebook,cloudripper-bmc
|
||||
- facebook,elbert-bmc
|
||||
- facebook,fuji-bmc
|
||||
- facebook,greatlakes-bmc
|
||||
- facebook,harma-bmc
|
||||
- facebook,minerva-cmc
|
||||
- facebook,yosemite4-bmc
|
||||
- ibm,everest-bmc
|
||||
- ibm,rainier-bmc
|
||||
- ibm,system1-bmc
|
||||
- ibm,tacoma-bmc
|
||||
- inventec,starscream-bmc
|
||||
- inventec,transformer-bmc
|
||||
|
@ -9,7 +9,11 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
|
||||
aspeed-bmc-ampere-mtmitchell.dtb \
|
||||
aspeed-bmc-arm-stardragon4800-rep2.dtb \
|
||||
aspeed-bmc-asrock-e3c246d4i.dtb \
|
||||
aspeed-bmc-asrock-e3c256d4i.dtb \
|
||||
aspeed-bmc-asrock-romed8hm3.dtb \
|
||||
aspeed-bmc-asrock-spc621d8hm3.dtb \
|
||||
aspeed-bmc-asrock-x570d4u.dtb \
|
||||
aspeed-bmc-asus-x4tf.dtb \
|
||||
aspeed-bmc-bytedance-g220a.dtb \
|
||||
aspeed-bmc-delta-ahe50dc.dtb \
|
||||
aspeed-bmc-facebook-bletchley.dtb \
|
||||
@ -19,7 +23,8 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
|
||||
aspeed-bmc-facebook-fuji.dtb \
|
||||
aspeed-bmc-facebook-galaxy100.dtb \
|
||||
aspeed-bmc-facebook-greatlakes.dtb \
|
||||
aspeed-bmc-facebook-minerva-cmc.dtb \
|
||||
aspeed-bmc-facebook-harma.dtb \
|
||||
aspeed-bmc-facebook-minerva.dtb \
|
||||
aspeed-bmc-facebook-minipack.dtb \
|
||||
aspeed-bmc-facebook-tiogapass.dtb \
|
||||
aspeed-bmc-facebook-wedge40.dtb \
|
||||
@ -33,6 +38,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
|
||||
aspeed-bmc-ibm-rainier.dtb \
|
||||
aspeed-bmc-ibm-rainier-1s4u.dtb \
|
||||
aspeed-bmc-ibm-rainier-4u.dtb \
|
||||
aspeed-bmc-ibm-system1.dtb \
|
||||
aspeed-bmc-intel-s2600wf.dtb \
|
||||
aspeed-bmc-inspur-fp5280g2.dtb \
|
||||
aspeed-bmc-inspur-nf5280m6.dtb \
|
||||
|
322
arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-e3c256d4i.dts
Normal file
322
arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-e3c256d4i.dts
Normal file
@ -0,0 +1,322 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/dts-v1/;
|
||||
|
||||
#include "aspeed-g5.dtsi"
|
||||
#include <dt-bindings/gpio/aspeed-gpio.h>
|
||||
#include <dt-bindings/i2c/i2c.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
#include <dt-bindings/leds/common.h>
|
||||
#include <dt-bindings/watchdog/aspeed-wdt.h>
|
||||
|
||||
/{
|
||||
model = "ASRock E3C256D4I BMC";
|
||||
compatible = "asrock,e3c256d4i-bmc", "aspeed,ast2500";
|
||||
|
||||
aliases {
|
||||
serial4 = &uart5;
|
||||
|
||||
i2c20 = &i2c2mux0ch0;
|
||||
i2c21 = &i2c2mux0ch1;
|
||||
i2c22 = &i2c2mux0ch2;
|
||||
i2c23 = &i2c2mux0ch3;
|
||||
};
|
||||
|
||||
chosen {
|
||||
stdout-path = &uart5;
|
||||
};
|
||||
|
||||
memory@80000000 {
|
||||
reg = <0x80000000 0x20000000>;
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
/* BMC heartbeat */
|
||||
led-0 {
|
||||
gpios = <&gpio ASPEED_GPIO(H, 6) GPIO_ACTIVE_LOW>;
|
||||
function = LED_FUNCTION_HEARTBEAT;
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
linux,default-trigger = "timer";
|
||||
};
|
||||
|
||||
/* system fault */
|
||||
led-1 {
|
||||
gpios = <&gpio ASPEED_GPIO(Z, 2) GPIO_ACTIVE_LOW>;
|
||||
function = LED_FUNCTION_FAULT;
|
||||
color = <LED_COLOR_ID_RED>;
|
||||
panic-indicator;
|
||||
};
|
||||
};
|
||||
|
||||
iio-hwmon {
|
||||
compatible = "iio-hwmon";
|
||||
io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
|
||||
<&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>,
|
||||
<&adc 8>, <&adc 9>, <&adc 10>, <&adc 11>,
|
||||
<&adc 12>, <&adc 13>, <&adc 14>, <&adc 15>;
|
||||
};
|
||||
};
|
||||
|
||||
&fmc {
|
||||
status = "okay";
|
||||
flash@0 {
|
||||
status = "okay";
|
||||
m25p,fast-read;
|
||||
label = "bmc";
|
||||
spi-max-frequency = <100000000>; /* 100 MHz */
|
||||
#include "openbmc-flash-layout-64.dtsi"
|
||||
};
|
||||
};
|
||||
|
||||
&uart1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart4 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart5 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart_routing {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&mac0 {
|
||||
status = "okay";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_rgmii1_default &pinctrl_mdio1_default>;
|
||||
|
||||
nvmem-cells = <ð0_macaddress>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c2 {
|
||||
status = "okay";
|
||||
|
||||
i2c-mux@70 {
|
||||
compatible = "nxp,pca9545";
|
||||
reg = <0x70>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
i2c2mux0ch0: i2c@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0>;
|
||||
};
|
||||
|
||||
i2c2mux0ch1: i2c@1 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <1>;
|
||||
};
|
||||
|
||||
i2c2mux0ch2: i2c@2 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <2>;
|
||||
};
|
||||
|
||||
i2c2mux0ch3: i2c@3 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <3>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&i2c3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c4 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c5 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c6 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c7 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c9 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c10 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c11 {
|
||||
status = "okay";
|
||||
|
||||
vrm@60 {
|
||||
compatible = "renesas,isl69269", "isl69269";
|
||||
reg = <0x60>;
|
||||
};
|
||||
};
|
||||
|
||||
&i2c12 {
|
||||
status = "okay";
|
||||
|
||||
/* FRU eeprom */
|
||||
eeprom@57 {
|
||||
compatible = "st,24c128", "atmel,24c128";
|
||||
reg = <0x57>;
|
||||
pagesize = <16>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
eth0_macaddress: macaddress@3f80 {
|
||||
reg = <0x3f80 6>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&video {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&vhub {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&lpc_ctrl {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&lpc_snoop {
|
||||
status = "okay";
|
||||
snoop-ports = <0x80>;
|
||||
};
|
||||
|
||||
&kcs3 {
|
||||
status = "okay";
|
||||
aspeed,lpc-io-reg = <0xca2>;
|
||||
};
|
||||
|
||||
&peci0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&wdt1 {
|
||||
aspeed,reset-mask = <(AST2500_WDT_RESET_DEFAULT & ~AST2500_WDT_RESET_LPC)>;
|
||||
};
|
||||
|
||||
&wdt2 {
|
||||
aspeed,reset-mask = <(AST2500_WDT_RESET_DEFAULT & ~AST2500_WDT_RESET_LPC)>;
|
||||
};
|
||||
|
||||
&pwm_tacho {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pwm0_default /* CPU */
|
||||
&pinctrl_pwm2_default /* rear */
|
||||
&pinctrl_pwm4_default>; /* front */
|
||||
|
||||
/* CPU */
|
||||
fan@0 {
|
||||
reg = <0x00>;
|
||||
aspeed,fan-tach-ch = /bits/ 8 <0x00>;
|
||||
};
|
||||
|
||||
/* rear */
|
||||
fan@2 {
|
||||
reg = <0x02>;
|
||||
aspeed,fan-tach-ch = /bits/ 8 <0x02>;
|
||||
};
|
||||
|
||||
/* front */
|
||||
fan@4 {
|
||||
reg = <0x04>;
|
||||
aspeed,fan-tach-ch = /bits/ 8 <0x04>;
|
||||
};
|
||||
};
|
||||
|
||||
&gpio {
|
||||
status = "okay";
|
||||
gpio-line-names =
|
||||
/* A */ "", "", "NMI_BTN_N", "BMC_NMI", "", "", "", "",
|
||||
/* B */ "", "", "", "", "", "", "", "",
|
||||
/* C */ "", "", "", "", "", "", "", "",
|
||||
/* D */ "BMC_PSIN", "BMC_PSOUT", "BMC_RESETCON", "RESETCON",
|
||||
"", "", "", "",
|
||||
/* E */ "", "", "", "", "", "", "", "",
|
||||
/* F */ "LOCATORLED_STATUS_N", "LOCATORBTN", "", "",
|
||||
"", "", "BMC_PCH_SCI_LPC", "BMC_NCSI_MUX_CTL",
|
||||
/* G */ "HWM_BAT_EN", "CHASSIS_ID0", "CHASSIS_ID1", "CHASSIS_ID2",
|
||||
"", "", "", "",
|
||||
/* H */ "FM_ME_RCVR_N", "O_PWROK", "", "D4_DIMM_EVENT_3V_N",
|
||||
"MFG_MODE_N", "BMC_RTCRST", "BMC_HB_LED_N", "BMC_CASEOPEN",
|
||||
/* I */ "", "", "", "", "", "", "", "",
|
||||
/* J */ "BMC_READY", "BMC_PCH_BIOS_CS_N", "BMC_SMI", "", "", "", "", "",
|
||||
/* K */ "", "", "", "", "", "", "", "",
|
||||
/* L */ "", "", "", "", "", "", "", "",
|
||||
/* M */ "", "", "", "", "", "", "", "",
|
||||
/* N */ "", "", "", "", "", "", "", "",
|
||||
/* O */ "", "", "", "", "", "", "", "",
|
||||
/* P */ "", "", "", "", "", "", "", "",
|
||||
/* Q */ "", "", "", "", "", "", "", "",
|
||||
/* R */ "", "", "", "", "", "", "", "",
|
||||
/* S */ "PCHHOT_BMC_N", "", "RSMRST", "", "", "", "", "",
|
||||
/* T */ "", "", "", "", "", "", "", "",
|
||||
/* U */ "", "", "", "", "", "", "", "",
|
||||
/* V */ "", "", "", "", "", "", "", "",
|
||||
/* W */ "", "", "", "", "", "", "", "",
|
||||
/* X */ "", "", "", "", "", "", "", "",
|
||||
/* Y */ "SLP_S3", "SLP_S5", "", "", "", "", "", "",
|
||||
/* Z */ "CPU_CATERR_BMC_N", "", "SYSTEM_FAULT_LED_N", "BMC_THROTTLE_N",
|
||||
"", "", "", "",
|
||||
/* AA */ "CPU1_THERMTRIP_LATCH_N", "", "CPU1_PROCHOT_N", "",
|
||||
"", "", "IRQ_SMI_ACTIVE_N", "FM_BIOS_POST_CMPLT_N",
|
||||
/* AB */ "", "", "ME_OVERRIDE", "BMC_DMI_MODIFY", "", "", "", "",
|
||||
/* AC */ "", "", "", "", "", "", "", "";
|
||||
};
|
||||
|
||||
&adc {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_adc0_default /* 3VSB */
|
||||
&pinctrl_adc1_default /* 5VSB */
|
||||
&pinctrl_adc2_default /* CPU1 */
|
||||
&pinctrl_adc3_default /* VCCSA */
|
||||
&pinctrl_adc4_default /* VCCM */
|
||||
&pinctrl_adc5_default /* V10M */
|
||||
&pinctrl_adc6_default /* VCCIO */
|
||||
&pinctrl_adc7_default /* VCCGT */
|
||||
&pinctrl_adc8_default /* VPPM */
|
||||
&pinctrl_adc9_default /* BAT */
|
||||
&pinctrl_adc10_default /* 3V */
|
||||
&pinctrl_adc11_default /* 5V */
|
||||
&pinctrl_adc12_default /* 12V */
|
||||
&pinctrl_adc13_default /* GND */
|
||||
&pinctrl_adc14_default /* GND */
|
||||
&pinctrl_adc15_default>; /* GND */
|
||||
};
|
324
arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-spc621d8hm3.dts
Normal file
324
arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-spc621d8hm3.dts
Normal file
@ -0,0 +1,324 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/dts-v1/;
|
||||
|
||||
#include "aspeed-g5.dtsi"
|
||||
#include <dt-bindings/gpio/aspeed-gpio.h>
|
||||
#include <dt-bindings/i2c/i2c.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
/{
|
||||
model = "ASRock SPC621D8HM3 BMC";
|
||||
compatible = "asrock,spc621d8hm3-bmc", "aspeed,ast2500";
|
||||
|
||||
aliases {
|
||||
serial4 = &uart5;
|
||||
|
||||
i2c20 = &i2c1mux0ch0;
|
||||
i2c21 = &i2c1mux0ch1;
|
||||
};
|
||||
|
||||
chosen {
|
||||
stdout-path = &uart5;
|
||||
};
|
||||
|
||||
memory@80000000 {
|
||||
reg = <0x80000000 0x20000000>;
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
/* BMC heartbeat */
|
||||
led-0 {
|
||||
gpios = <&gpio ASPEED_GPIO(H, 6) GPIO_ACTIVE_LOW>;
|
||||
function = LED_FUNCTION_HEARTBEAT;
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
linux,default-trigger = "timer";
|
||||
};
|
||||
|
||||
/* system fault */
|
||||
led-1 {
|
||||
gpios = <&gpio ASPEED_GPIO(Z, 2) GPIO_ACTIVE_LOW>;
|
||||
function = LED_FUNCTION_FAULT;
|
||||
color = <LED_COLOR_ID_RED>;
|
||||
panic-indicator;
|
||||
};
|
||||
};
|
||||
|
||||
iio-hwmon {
|
||||
compatible = "iio-hwmon";
|
||||
io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
|
||||
<&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>,
|
||||
<&adc 8>, <&adc 9>, <&adc 10>, <&adc 11>,
|
||||
<&adc 12>, <&adc 13>, <&adc 14>, <&adc 15>;
|
||||
};
|
||||
};
|
||||
|
||||
&fmc {
|
||||
status = "okay";
|
||||
flash@0 {
|
||||
status = "okay";
|
||||
m25p,fast-read;
|
||||
label = "bmc";
|
||||
spi-max-frequency = <50000000>; /* 50 MHz */
|
||||
#include "openbmc-flash-layout-64.dtsi"
|
||||
};
|
||||
};
|
||||
|
||||
&uart5 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&vuart {
|
||||
status = "okay";
|
||||
aspeed,lpc-io-reg = <0x2f8>;
|
||||
aspeed,lpc-interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
|
||||
};
|
||||
|
||||
&mac0 {
|
||||
status = "okay";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_rgmii1_default &pinctrl_mdio1_default>;
|
||||
|
||||
nvmem-cells = <ð0_macaddress>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c1 {
|
||||
status = "okay";
|
||||
|
||||
/* hardware monitor/thermal sensor */
|
||||
temperature-sensor@29 {
|
||||
compatible = "nuvoton,nct7802";
|
||||
reg = <0x29>;
|
||||
};
|
||||
|
||||
/* motherboard temp sensor (TMP1, near BMC) */
|
||||
temperature-sensor@4c {
|
||||
compatible = "nuvoton,w83773g";
|
||||
reg = <0x4c>;
|
||||
};
|
||||
|
||||
/* motherboard FRU eeprom */
|
||||
eeprom@50 {
|
||||
compatible = "st,24c128", "atmel,24c128";
|
||||
reg = <0x50>;
|
||||
pagesize = <16>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
eth0_macaddress: macaddress@3f80 {
|
||||
reg = <0x3f80 6>;
|
||||
};
|
||||
};
|
||||
|
||||
/* M.2 slot smbus mux */
|
||||
i2c-mux@71 {
|
||||
compatible = "nxp,pca9545";
|
||||
reg = <0x71>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
i2c1mux0ch0: i2c@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0>;
|
||||
};
|
||||
|
||||
i2c1mux0ch1: i2c@1 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&i2c2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c4 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c5 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c6 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c7 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c8 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c9 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c10 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c11 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c12 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c13 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&video {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&vhub {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&lpc_ctrl {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&lpc_snoop {
|
||||
status = "okay";
|
||||
snoop-ports = <0x80>;
|
||||
};
|
||||
|
||||
&kcs3 {
|
||||
status = "okay";
|
||||
aspeed,lpc-io-reg = <0xca2>;
|
||||
};
|
||||
|
||||
&peci0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pwm_tacho {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pwm0_default
|
||||
&pinctrl_pwm2_default
|
||||
&pinctrl_pwm3_default
|
||||
&pinctrl_pwm4_default>;
|
||||
|
||||
fan@0 {
|
||||
reg = <0x00>;
|
||||
aspeed,fan-tach-ch = /bits/ 8 <0x00>;
|
||||
};
|
||||
|
||||
fan@2 {
|
||||
reg = <0x02>;
|
||||
aspeed,fan-tach-ch = /bits/ 8 <0x02>;
|
||||
};
|
||||
|
||||
fan@3 {
|
||||
reg = <0x03>;
|
||||
aspeed,fan-tach-ch = /bits/ 8 <0x03>;
|
||||
};
|
||||
|
||||
fan@4 {
|
||||
reg = <0x04>;
|
||||
aspeed,fan-tach-ch = /bits/ 8 <0x04>;
|
||||
};
|
||||
};
|
||||
|
||||
&gpio {
|
||||
status = "okay";
|
||||
gpio-line-names =
|
||||
/* A */ "LOCATORLED_STATUS_N", "LOCATORBTN_N",
|
||||
"BMC_READY_N", "FM_SPD_DDRCPU_LVLSHFT_EN",
|
||||
"", "", "", "",
|
||||
/* B */ "NODE_ID_1", "NODE_ID_2", "PSU_FAN_FAIL_N", "",
|
||||
"", "", "", "GPIO_RST",
|
||||
/* C */ "", "", "", "", "", "", "", "",
|
||||
/* D */ "FP_PWR_BTN_MUX_N", "FM_BMC_PWRBTN_OUT_N",
|
||||
"FP_RST_BTN_N", "RST_BMC_RSTBTN_OUT_N",
|
||||
"NMI_BTN_N", "BMC_NMI",
|
||||
"", "",
|
||||
/* E */ "", "", "", "FM_ME_RCVR_N", "", "", "", "",
|
||||
/* F */ "BMC_SMB_SEL_N", "FM_CPU2_DISABLE_COD_N",
|
||||
"FM_REMOTE_DEBUG_BMC_EN", "FM_CPU_ERR0_LVT3_EN",
|
||||
"FM_CPU_ERR1_LVT3_EN", "FM_CPU_ERR2_LVT3_EN",
|
||||
"FM_MEM_THERM_EVENT_CPU1_LVT3_N", "FM_MEM_THERM_EVENT_CPU2_LVT3_N",
|
||||
/* G */ "HWM_BAT_EN", "", "BMC_PHYRST_N", "FM_BIOS_SPI_BMC_CTRL",
|
||||
"BMC_ALERT1_N", "BMC_ALERT2_N", "BMC_ALERT3_N", "IRQ_SML0_ALERT_N",
|
||||
/* H */ "BMC_SMB_PRESENT_1_N", "FM_PCH_CORE_VID_0", "FM_PCH_CORE_VID_1", "",
|
||||
"FM_MFG_MODE", "BMC_RTCRST", "BMC_HB_LED_N", "BMC_CASEOPEN",
|
||||
/* I */ "IRQ_PVDDQ_ABCD_CPU1_VRHOT_LVC3_N", "IRQ_PVDDQ_ABCD_CPU2_VRHOT_LVC3_N",
|
||||
"IRQ_PVDDQ_EFGH_CPU1_VRHOT_LVC3_N", "IRQ_PVDDQ_EFGH_CPU2_VRHOT_LVC3_N",
|
||||
"", "", "", "",
|
||||
/* J */ "", "", "", "", "", "", "", "",
|
||||
/* K */ "", "", "", "", "", "", "", "",
|
||||
/* L */ "", "", "", "", "", "", "", "",
|
||||
/* M */ "FM_PVCCIN_CPU1_PWR_IN_ALERT_N", "FM_PVCCIN_CPU2_PWR_IN_ALERT_N",
|
||||
"IRQ_PVCCIN_CPU1_VRHOT_LVC3_N", "IRQ_PVCCIN_CPU2_VRHOT_LVC3_N",
|
||||
"FM_CPU1_PROCHOT_BMC_LVC3_N", "",
|
||||
"FM_CPU1_MEMHOT_OUT_N", "FM_CPU2_MEMHOT_OUT_N",
|
||||
/* N */ "", "", "", "", "", "", "", "",
|
||||
/* O */ "", "", "", "", "", "", "", "",
|
||||
/* P */ "", "", "", "", "", "", "", "",
|
||||
/* Q */ "", "", "", "", "", "", "RST_GLB_RST_WARN_N", "PCIE_WAKE_N",
|
||||
/* R */ "", "", "FM_BMC_SUSACK_N", "FM_BMC_EUP_LOT6_N",
|
||||
"", "FM_BMC_PCH_SCI_LPC_N", "", "",
|
||||
/* S */ "FM_DBP_PRESENT_N", "FM_CPU2_SKTOCC_LCT3_N",
|
||||
"FM_CPU1_FIVR_FAULT_LVT3", "FM_CPU2_FIVR_FAULT_LVT3",
|
||||
"", "", "", "",
|
||||
/* T */ "", "", "", "", "", "", "", "",
|
||||
/* U */ "", "", "", "", "", "", "", "",
|
||||
/* V */ "", "", "", "", "", "", "", "",
|
||||
/* W */ "", "", "", "", "", "", "", "",
|
||||
/* X */ "", "", "", "", "", "", "", "",
|
||||
/* Y */ "FM_SLPS3_N", "FM_SLPS4_N", "", "FM_BMC_ONCTL_N_PLD",
|
||||
"", "", "", "",
|
||||
/* Z */ "FM_CPU_MSMI_CATERR_LVT3_N", "", "SYSTEM_FAULT_LED_N", "BMC_THROTTLE_N",
|
||||
"", "", "", "",
|
||||
/* AA */ "FM_CPU1_THERMTRIP_LATCH_LVT3_N", "FM_CPU2_THERMTRIP_LATCH_LVT3_N",
|
||||
"FM_BIOS_POST_COMPLT_N", "DBP_BMC_SYSPWROK",
|
||||
"", "IRQ_SML0_ALERT_MUX_N",
|
||||
"IRQ_SMI_ACTIVE_N", "IRQ_NMI_EVENT_N",
|
||||
/* AB */ "FM_PCH_BMC_THERMTRIP_N", "PWRGD_SYS_PWROK",
|
||||
"ME_OVERRIDE", "IRQ_BMC_PCH_SMI_LPC_N",
|
||||
"", "", "", "",
|
||||
/* AC */ "", "", "", "", "", "", "", "";
|
||||
};
|
||||
|
||||
&adc {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_adc0_default /* 3VSB */
|
||||
&pinctrl_adc1_default /* 5VSB */
|
||||
&pinctrl_adc2_default /* CPU1 */
|
||||
&pinctrl_adc3_default /* NC */
|
||||
&pinctrl_adc4_default /* VCCMABCD */
|
||||
&pinctrl_adc5_default /* VCCMEFGH */
|
||||
&pinctrl_adc6_default /* NC */
|
||||
&pinctrl_adc7_default /* NC */
|
||||
&pinctrl_adc8_default /* PVNN_PCH */
|
||||
&pinctrl_adc9_default /* 1P05PCH */
|
||||
&pinctrl_adc10_default /* 1P8PCH */
|
||||
&pinctrl_adc11_default /* BAT */
|
||||
&pinctrl_adc12_default /* 3V */
|
||||
&pinctrl_adc13_default /* 5V */
|
||||
&pinctrl_adc14_default /* 12V */
|
||||
&pinctrl_adc15_default>; /* GND */
|
||||
};
|
377
arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-x570d4u.dts
Normal file
377
arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-x570d4u.dts
Normal file
@ -0,0 +1,377 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/dts-v1/;
|
||||
#include "aspeed-g5.dtsi"
|
||||
#include <dt-bindings/gpio/aspeed-gpio.h>
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
/ {
|
||||
model = "Asrock Rack X570D4U BMC";
|
||||
compatible = "asrock,x570d4u-bmc", "aspeed,ast2500";
|
||||
|
||||
aliases {
|
||||
i2c40 = &i2c4mux0ch0;
|
||||
i2c41 = &i2c4mux0ch1;
|
||||
i2c42 = &i2c4mux0ch2;
|
||||
i2c43 = &i2c4mux0ch3;
|
||||
};
|
||||
|
||||
chosen {
|
||||
stdout-path = &uart5;
|
||||
};
|
||||
|
||||
memory@80000000 {
|
||||
reg = <0x80000000 0x20000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
|
||||
pci_memory: region@9a000000 {
|
||||
no-map;
|
||||
reg = <0x9a000000 0x00010000>; /* 64K */
|
||||
};
|
||||
|
||||
video_engine_memory: jpegbuffer {
|
||||
size = <0x02800000>; /* 40M */
|
||||
alignment = <0x01000000>;
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
};
|
||||
|
||||
gfx_memory: framebuffer {
|
||||
size = <0x01000000>;
|
||||
alignment = <0x01000000>;
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
};
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
led-0 {
|
||||
/* led-heartbeat-n */
|
||||
gpios = <&gpio ASPEED_GPIO(H, 6) GPIO_ACTIVE_LOW>;
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
function = LED_FUNCTION_HEARTBEAT;
|
||||
linux,default-trigger = "timer";
|
||||
};
|
||||
|
||||
led-1 {
|
||||
/* led-fault-n */
|
||||
gpios = <&gpio ASPEED_GPIO(Z, 2) GPIO_ACTIVE_LOW>;
|
||||
color = <LED_COLOR_ID_AMBER>;
|
||||
function = LED_FUNCTION_FAULT;
|
||||
panic-indicator;
|
||||
};
|
||||
};
|
||||
|
||||
iio-hwmon {
|
||||
compatible = "iio-hwmon";
|
||||
io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>,
|
||||
<&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>,
|
||||
<&adc 10>, <&adc 11>, <&adc 12>;
|
||||
};
|
||||
};
|
||||
|
||||
&gpio {
|
||||
status = "okay";
|
||||
gpio-line-names =
|
||||
/*A0-A3*/ "status-locatorled-n", "", "button-nmi-n", "",
|
||||
/*A4-A7*/ "", "", "", "",
|
||||
/*B0-B3*/ "input-bios-post-cmplt-n", "", "", "",
|
||||
/*B4-B7*/ "", "", "", "",
|
||||
/*C0-C3*/ "", "", "", "",
|
||||
/*C4-C7*/ "", "", "control-locatorbutton", "",
|
||||
/*D0-D3*/ "button-power", "control-power", "button-reset", "control-reset",
|
||||
/*D4-D7*/ "", "", "", "",
|
||||
/*E0-E3*/ "", "", "", "",
|
||||
/*E4-E7*/ "", "", "", "",
|
||||
/*F0-F3*/ "", "", "", "",
|
||||
/*F4-F7*/ "", "", "", "",
|
||||
/*G0-G3*/ "output-rtc-battery-voltage-read-enable", "input-id0", "input-id1", "input-id2",
|
||||
/*G4-G7*/ "input-alert1-n", "input-alert2-n", "input-alert3-n", "",
|
||||
/*H0-H3*/ "", "", "", "",
|
||||
/*H4-H7*/ "input-mfg", "", "led-heartbeat-n", "input-caseopen",
|
||||
/*I0-I3*/ "", "", "", "",
|
||||
/*I4-I7*/ "", "", "", "",
|
||||
/*J0-J3*/ "output-bmc-ready", "", "", "",
|
||||
/*J4-J7*/ "", "", "", "",
|
||||
/*K0-K3*/ "", "", "", "",
|
||||
/*K4-K7*/ "", "", "", "",
|
||||
/*L0-L3*/ "", "", "", "",
|
||||
/*L4-L7*/ "", "", "", "",
|
||||
/*M0-M3*/ "", "", "", "",
|
||||
/*M4-M7*/ "", "", "", "",
|
||||
/*N0-N3*/ "", "", "", "",
|
||||
/*N4-N7*/ "", "", "", "",
|
||||
/*O0-O3*/ "", "", "", "",
|
||||
/*O4-O7*/ "", "", "", "",
|
||||
/*P0-P3*/ "", "", "", "",
|
||||
/*P4-P7*/ "", "", "", "",
|
||||
/*Q0-Q3*/ "", "", "", "",
|
||||
/*Q4-Q7*/ "", "", "", "",
|
||||
/*R0-R3*/ "", "", "", "",
|
||||
/*R4-R7*/ "", "", "", "",
|
||||
/*S0-S3*/ "input-bmc-pchhot-n", "", "", "",
|
||||
/*S4-S7*/ "", "", "", "",
|
||||
/*T0-T3*/ "", "", "", "",
|
||||
/*T4-T7*/ "", "", "", "",
|
||||
/*U0-U3*/ "", "", "", "",
|
||||
/*U4-U7*/ "", "", "", "",
|
||||
/*V0-V3*/ "", "", "", "",
|
||||
/*V4-V7*/ "", "", "", "",
|
||||
/*W0-W3*/ "", "", "", "",
|
||||
/*W4-W7*/ "", "", "", "",
|
||||
/*X0-X3*/ "", "", "", "",
|
||||
/*X4-X7*/ "", "", "", "",
|
||||
/*Y0-Y3*/ "", "", "", "",
|
||||
/*Y4-Y7*/ "", "", "", "",
|
||||
/*Z0-Z3*/ "", "", "led-fault-n", "output-bmc-throttle-n",
|
||||
/*Z4-Z7*/ "", "", "", "",
|
||||
/*AA0-AA3*/ "input-cpu1-thermtrip-latch-n", "", "input-cpu1-prochot-n", "",
|
||||
/*AA4-AC7*/ "", "", "", "",
|
||||
/*AB0-AB3*/ "", "", "", "",
|
||||
/*AB4-AC7*/ "", "", "", "",
|
||||
/*AC0-AC3*/ "", "", "", "",
|
||||
/*AC4-AC7*/ "", "", "", "";
|
||||
};
|
||||
|
||||
&fmc {
|
||||
status = "okay";
|
||||
flash@0 {
|
||||
status = "okay";
|
||||
label = "bmc";
|
||||
m25p,fast-read;
|
||||
spi-max-frequency = <10000000>;
|
||||
#include "openbmc-flash-layout-64.dtsi"
|
||||
};
|
||||
};
|
||||
|
||||
&uart5 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&vuart {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&mac0 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_rgmii1_default &pinctrl_mdio1_default>;
|
||||
|
||||
nvmem-cells = <ð0_macaddress>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
};
|
||||
|
||||
&mac1 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_rmii2_default &pinctrl_mdio2_default>;
|
||||
use-ncsi;
|
||||
|
||||
nvmem-cells = <ð1_macaddress>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
/* SMBus on auxiliary panel header (AUX_PANEL1) */
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c1 {
|
||||
status = "okay";
|
||||
|
||||
w83773g@4c {
|
||||
compatible = "nuvoton,w83773g";
|
||||
reg = <0x4c>;
|
||||
};
|
||||
};
|
||||
|
||||
&i2c2 {
|
||||
/* PSU SMBus (PSU_SMB1) */
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c4 {
|
||||
status = "okay";
|
||||
|
||||
i2c-mux@70 {
|
||||
compatible = "nxp,pca9545";
|
||||
reg = <0x70>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
i2c4mux0ch0: i2c@0 {
|
||||
/* SMBus on PCI express 16x slot */
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0>;
|
||||
};
|
||||
|
||||
i2c4mux0ch1: i2c@1 {
|
||||
/* SMBus on PCI express 8x slot */
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <1>;
|
||||
};
|
||||
|
||||
i2c4mux0ch2: i2c@2 {
|
||||
/* Unknown */
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <2>;
|
||||
};
|
||||
|
||||
i2c4mux0ch3: i2c@3 {
|
||||
/* SMBus on PCI express 1x slot */
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <3>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&i2c5 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c7 {
|
||||
/* FRU and SPD EEPROM SMBus */
|
||||
status = "okay";
|
||||
|
||||
eeprom@57 {
|
||||
compatible = "st,24c128", "atmel,24c128";
|
||||
reg = <0x57>;
|
||||
pagesize = <16>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
eth0_macaddress: macaddress@3f80 {
|
||||
reg = <0x3f80 6>;
|
||||
};
|
||||
|
||||
eth1_macaddress: macaddress@3f88 {
|
||||
reg = <0x3f88 6>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gfx {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
aspeed,external-nodes = <&gfx &lhc>;
|
||||
};
|
||||
|
||||
&vhub {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ehci1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uhci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&kcs3 {
|
||||
aspeed,lpc-io-reg = <0xca2>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&lpc_ctrl {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&lpc_snoop {
|
||||
status = "okay";
|
||||
snoop-ports = <0x80>;
|
||||
};
|
||||
|
||||
&p2a {
|
||||
status = "okay";
|
||||
memory-region = <&pci_memory>;
|
||||
};
|
||||
|
||||
&video {
|
||||
status = "okay";
|
||||
memory-region = <&video_engine_memory>;
|
||||
};
|
||||
|
||||
&pwm_tacho {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pwm0_default
|
||||
&pinctrl_pwm1_default
|
||||
&pinctrl_pwm2_default
|
||||
&pinctrl_pwm3_default
|
||||
&pinctrl_pwm4_default
|
||||
&pinctrl_pwm5_default>;
|
||||
|
||||
fan@0 {
|
||||
/* FAN1 (4-pin) */
|
||||
reg = <0x00>;
|
||||
aspeed,fan-tach-ch = /bits/ 8 <0x00>;
|
||||
};
|
||||
|
||||
fan@1 {
|
||||
/* FAN2 (4-pin) */
|
||||
reg = <0x01>;
|
||||
aspeed,fan-tach-ch = /bits/ 8 <0x01>;
|
||||
};
|
||||
|
||||
fan@2 {
|
||||
/* FAN3 (4-pin) */
|
||||
reg = <0x02>;
|
||||
aspeed,fan-tach-ch = /bits/ 8 <0x02>;
|
||||
};
|
||||
|
||||
fan@3 {
|
||||
/* FAN4 (6-pin) */
|
||||
reg = <0x03>;
|
||||
aspeed,fan-tach-ch = /bits/ 8 <0x04 0x0b>;
|
||||
};
|
||||
|
||||
fan@4 {
|
||||
/* FAN6 (6-pin) */
|
||||
reg = <0x04>;
|
||||
aspeed,fan-tach-ch = /bits/ 8 <0x06 0x0d>;
|
||||
};
|
||||
|
||||
fan@5 {
|
||||
/* FAN5 (6-pin) */
|
||||
reg = <0x05>;
|
||||
aspeed,fan-tach-ch = /bits/ 8 <0x05 0x0c>;
|
||||
};
|
||||
};
|
||||
|
||||
&adc {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_adc0_default
|
||||
&pinctrl_adc1_default
|
||||
&pinctrl_adc2_default
|
||||
&pinctrl_adc3_default
|
||||
&pinctrl_adc4_default
|
||||
&pinctrl_adc5_default
|
||||
&pinctrl_adc6_default
|
||||
&pinctrl_adc7_default
|
||||
&pinctrl_adc8_default
|
||||
&pinctrl_adc9_default
|
||||
&pinctrl_adc10_default
|
||||
&pinctrl_adc11_default
|
||||
&pinctrl_adc12_default
|
||||
&pinctrl_adc13_default
|
||||
&pinctrl_adc14_default
|
||||
&pinctrl_adc15_default>;
|
||||
};
|
592
arch/arm/boot/dts/aspeed/aspeed-bmc-asus-x4tf.dts
Normal file
592
arch/arm/boot/dts/aspeed/aspeed-bmc-asus-x4tf.dts
Normal file
@ -0,0 +1,592 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
// Copyright 2024 ASUS Corp.
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "aspeed-g6.dtsi"
|
||||
#include "aspeed-g6-pinctrl.dtsi"
|
||||
#include <dt-bindings/i2c/i2c.h>
|
||||
#include <dt-bindings/gpio/aspeed-gpio.h>
|
||||
|
||||
/ {
|
||||
model = "ASUS-X4TF";
|
||||
compatible = "asus,x4tf", "aspeed,ast2600";
|
||||
|
||||
aliases {
|
||||
serial4 = &uart5;
|
||||
};
|
||||
|
||||
chosen {
|
||||
stdout-path = "serial4:115200n8";
|
||||
};
|
||||
|
||||
memory@80000000 {
|
||||
device_type = "memory";
|
||||
reg = <0x80000000 0x40000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
|
||||
video_engine_memory: video {
|
||||
size = <0x04000000>;
|
||||
alignment = <0x01000000>;
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
};
|
||||
};
|
||||
|
||||
iio-hwmon {
|
||||
compatible = "iio-hwmon";
|
||||
io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
|
||||
<&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>,
|
||||
<&adc1 0>, <&adc1 1>, <&adc1 2>, <&adc1 3>,
|
||||
<&adc1 4>, <&adc1 5>, <&adc1 6>, <&adc1 7>;
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
led-heartbeat {
|
||||
gpios = <&gpio0 ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
|
||||
led-uid {
|
||||
gpios = <&gpio0 ASPEED_GPIO(P, 1) (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
|
||||
default-state = "off";
|
||||
};
|
||||
|
||||
led-status_Y {
|
||||
gpios = <&gpio1 ASPEED_GPIO(B, 1) GPIO_ACTIVE_LOW>;
|
||||
default-state = "off";
|
||||
};
|
||||
|
||||
led-sys_boot_status {
|
||||
gpios = <&gpio1 ASPEED_GPIO(B, 0) GPIO_ACTIVE_LOW>;
|
||||
default-state = "off";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&adc0 {
|
||||
vref = <2500>;
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
|
||||
&pinctrl_adc2_default &pinctrl_adc3_default
|
||||
&pinctrl_adc4_default &pinctrl_adc5_default
|
||||
&pinctrl_adc6_default &pinctrl_adc7_default>;
|
||||
};
|
||||
|
||||
&adc1 {
|
||||
vref = <2500>;
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default
|
||||
&pinctrl_adc10_default &pinctrl_adc11_default
|
||||
&pinctrl_adc12_default &pinctrl_adc13_default
|
||||
&pinctrl_adc14_default &pinctrl_adc15_default>;
|
||||
};
|
||||
|
||||
&peci0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&lpc_snoop {
|
||||
snoop-ports = <0x80>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&mac2 {
|
||||
status = "okay";
|
||||
phy-mode = "rmii";
|
||||
use-ncsi;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_rmii3_default>;
|
||||
};
|
||||
|
||||
&mac3 {
|
||||
status = "okay";
|
||||
phy-mode = "rmii";
|
||||
use-ncsi;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_rmii4_default>;
|
||||
};
|
||||
|
||||
&fmc {
|
||||
status = "okay";
|
||||
|
||||
flash@0 {
|
||||
status = "okay";
|
||||
m25p,fast-read;
|
||||
label = "bmc-spi";
|
||||
spi-max-frequency = <50000000>;
|
||||
#include "openbmc-flash-layout-128.dtsi"
|
||||
};
|
||||
};
|
||||
|
||||
&spi1 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_spi1_default>;
|
||||
|
||||
flash@0 {
|
||||
status = "okay";
|
||||
label = "bios-spi";
|
||||
spi-max-frequency = <50000000>;
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
biosfullimg@0 {
|
||||
reg = <0x0 0x2000000>; //32768 *1024 = 32 MB
|
||||
label = "biosfullimg";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c4 {
|
||||
status = "okay";
|
||||
|
||||
temperature-sensor@48 {
|
||||
compatible = "ti,tmp75";
|
||||
reg = <0x48>;
|
||||
};
|
||||
|
||||
temperature-sensor@49 {
|
||||
compatible = "ti,tmp75";
|
||||
reg = <0x49>;
|
||||
};
|
||||
|
||||
pca9555_4_20: gpio@20 {
|
||||
compatible = "nxp,pca9555";
|
||||
reg = <0x20>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
};
|
||||
|
||||
pca9555_4_22: gpio@22 {
|
||||
compatible = "nxp,pca9555";
|
||||
reg = <0x22>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
};
|
||||
|
||||
pca9555_4_24: gpio@24 {
|
||||
compatible = "nxp,pca9555";
|
||||
reg = <0x24>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
gpio-line-names =
|
||||
/*A0 - A3 0*/ "", "STRAP_BMC_BATTERY_GPIO1", "", "",
|
||||
/*A4 - A7 4*/ "", "", "", "",
|
||||
/*B0 - B7 8*/ "", "", "", "", "", "", "", "";
|
||||
};
|
||||
|
||||
pca9555_4_26: gpio@26 {
|
||||
compatible = "nxp,pca9555";
|
||||
reg = <0x26>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
};
|
||||
|
||||
i2c-mux@70 {
|
||||
compatible = "nxp,pca9546";
|
||||
status = "okay";
|
||||
reg = <0x70>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
channel_1: i2c@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0>;
|
||||
};
|
||||
|
||||
channel_2: i2c@1 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <1>;
|
||||
};
|
||||
|
||||
channel_3: i2c@2 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <2>;
|
||||
};
|
||||
|
||||
channel_4: i2c@3 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <3>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&i2c5 {
|
||||
status = "okay";
|
||||
|
||||
pca9555_5_24: gpio@24 {
|
||||
compatible = "nxp,pca9555";
|
||||
reg = <0x24>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
};
|
||||
|
||||
i2c-mux@70 {
|
||||
compatible = "nxp,pca9546";
|
||||
status = "okay";
|
||||
reg = <0x70 >;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
channel_5: i2c@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0>;
|
||||
|
||||
pca9555_5_5_20: gpio@20 {
|
||||
compatible = "nxp,pca9555";
|
||||
reg = <0x20>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
gpio-line-names =
|
||||
"", "", "", "", "", "", "", "",
|
||||
"", "", "SYS_FAN6", "SYS_FAN5",
|
||||
"SYS_FAN4", "SYS_FAN3",
|
||||
"SYS_FAN2", "SYS_FAN1";
|
||||
};
|
||||
|
||||
pca9555_5_5_21: gpio@21 {
|
||||
compatible = "nxp,pca9555";
|
||||
reg = <0x21>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
};
|
||||
|
||||
power-monitor@44 {
|
||||
compatible = "ti,ina219";
|
||||
reg = <0x44>;
|
||||
shunt-resistor = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
channel_6: i2c@1 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <1>;
|
||||
};
|
||||
|
||||
channel_7: i2c@2 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <2>;
|
||||
};
|
||||
|
||||
channel_8: i2c@3 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <3>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&i2c6 {
|
||||
status = "okay";
|
||||
|
||||
pca9555_6_27: gpio@27 {
|
||||
compatible = "nxp,pca9555";
|
||||
reg = <0x27>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
};
|
||||
|
||||
pca9555_6_20: gpio@20 {
|
||||
compatible = "nxp,pca9555";
|
||||
reg = <0x20>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
gpio-line-names =
|
||||
/*A0 0*/ "", "", "", "", "", "", "", "",
|
||||
/*B0 8*/ "Drive_NVMe1", "Drive_NVMe2", "", "",
|
||||
/*B4 12*/ "", "", "", "";
|
||||
};
|
||||
|
||||
pca9555_6_21: gpio@21 {
|
||||
compatible = "nxp,pca9555";
|
||||
reg = <0x21>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
&i2c7 {
|
||||
status = "okay";
|
||||
|
||||
i2c-mux@70 {
|
||||
compatible = "nxp,pca9546";
|
||||
status = "okay";
|
||||
reg = <0x70>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
idle-state = <1>;
|
||||
|
||||
channel_9: i2c@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0>;
|
||||
|
||||
temperature-sensor@48 {
|
||||
compatible = "ti,tmp75";
|
||||
reg = <0x48>;
|
||||
};
|
||||
|
||||
temperature-sensor@49 {
|
||||
compatible = "ti,tmp75";
|
||||
reg = <0x49>;
|
||||
};
|
||||
|
||||
power-monitor@40 {
|
||||
compatible = "ti,ina219";
|
||||
reg = <0x40>;
|
||||
shunt-resistor = <2>;
|
||||
};
|
||||
|
||||
power-monitor@41 {
|
||||
compatible = "ti,ina219";
|
||||
reg = <0x41>;
|
||||
shunt-resistor = <5>;
|
||||
};
|
||||
};
|
||||
|
||||
channel_10: i2c@1 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <1>;
|
||||
};
|
||||
|
||||
channel_11: i2c@2 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <2>;
|
||||
};
|
||||
|
||||
channel_12: i2c@3 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <3>;
|
||||
};
|
||||
};
|
||||
|
||||
i2c-mux@71 {
|
||||
compatible = "nxp,pca9546";
|
||||
status = "okay";
|
||||
reg = <0x71>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
i2c-mux-idle-disconnect;
|
||||
|
||||
channel_13: i2c@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0>;
|
||||
};
|
||||
|
||||
channel_14: i2c@1 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <1>;
|
||||
};
|
||||
|
||||
channel_15: i2c@2 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <2>;
|
||||
};
|
||||
|
||||
channel_16: i2c@3 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <3>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&i2c8 {
|
||||
status = "okay";
|
||||
|
||||
i2c-mux@70 {
|
||||
compatible = "nxp,pca9546";
|
||||
status = "okay";
|
||||
reg = <0x70>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
i2c-mux-idle-disconnect;
|
||||
|
||||
channel_17: i2c@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0>;
|
||||
};
|
||||
|
||||
channel_18: i2c@1 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <1>;
|
||||
|
||||
temperature-sensor@48 {
|
||||
compatible = "ti,tmp75";
|
||||
reg = <0x48>;
|
||||
};
|
||||
|
||||
power-monitor@41 {
|
||||
compatible = "ti,ina219";
|
||||
reg = <0x41>;
|
||||
shunt-resistor = <5>;
|
||||
};
|
||||
};
|
||||
|
||||
channel_19: i2c@2 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <2>;
|
||||
};
|
||||
|
||||
channel_20: i2c@3 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <3>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&i2c9 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c10 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c11 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c14 {
|
||||
status = "okay";
|
||||
multi-master;
|
||||
|
||||
eeprom@50 {
|
||||
compatible = "atmel,24c08";
|
||||
reg = <0x50>;
|
||||
};
|
||||
|
||||
eeprom@51 {
|
||||
compatible = "atmel,24c08";
|
||||
reg = <0x51>;
|
||||
};
|
||||
};
|
||||
|
||||
&sgpiom0 {
|
||||
status = "okay";
|
||||
ngpios = <128>;
|
||||
};
|
||||
|
||||
&video {
|
||||
status = "okay";
|
||||
memory-region = <&video_engine_memory>;
|
||||
};
|
||||
|
||||
&sdc {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&lpc_snoop {
|
||||
status = "okay";
|
||||
snoop-ports = <0x80>;
|
||||
};
|
||||
|
||||
&kcs1 {
|
||||
aspeed,lpc-io-reg = <0xca0>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&kcs2 {
|
||||
aspeed,lpc-io-reg = <0xca8>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&kcs3 {
|
||||
aspeed,lpc-io-reg = <0xca2>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart5 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart_routing {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&vhub {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
gpio-line-names =
|
||||
/*A0 0*/ "", "", "", "", "", "", "", "",
|
||||
/*B0 8*/ "", "", "", "", "", "", "PS_PWROK", "",
|
||||
/*C0 16*/ "", "", "", "", "", "", "", "",
|
||||
/*D0 24*/ "", "", "", "", "", "", "", "",
|
||||
/*E0 32*/ "", "", "", "", "", "", "", "",
|
||||
/*F0 40*/ "", "", "", "", "", "", "", "",
|
||||
/*G0 48*/ "", "", "", "", "", "", "", "",
|
||||
/*H0 56*/ "", "", "", "", "", "", "", "",
|
||||
/*I0 64*/ "", "", "", "", "", "", "", "",
|
||||
/*J0 72*/ "", "", "", "", "", "", "", "",
|
||||
/*K0 80*/ "", "", "", "", "", "", "", "",
|
||||
/*L0 88*/ "", "", "", "", "", "", "", "",
|
||||
/*M0 96*/ "", "", "", "", "", "", "", "",
|
||||
/*N0 104*/ "", "", "", "",
|
||||
/*N4 108*/ "POST_COMPLETE", "ESR1_GPIO_AST_SPISEL", "", "",
|
||||
/*O0 112*/ "", "", "", "", "", "", "", "",
|
||||
/*P0 120*/ "ID_BUTTON", "ID_OUT", "POWER_BUTTON", "POWER_OUT",
|
||||
/*P4 124*/ "RESET_BUTTON", "RESET_OUT", "", "HEARTBEAT",
|
||||
/*Q0 128*/ "", "", "", "", "", "", "", "",
|
||||
/*R0 136*/ "", "", "", "", "", "", "", "",
|
||||
/*S0 144*/ "", "", "", "", "", "", "", "",
|
||||
/*T0 152*/ "", "", "", "", "", "", "", "",
|
||||
/*U0 160*/ "", "", "", "", "", "", "", "",
|
||||
/*V0 168*/ "", "", "", "", "", "", "", "",
|
||||
/*W0 176*/ "", "", "", "", "", "", "", "",
|
||||
/*X0 184*/ "", "", "", "", "", "", "", "",
|
||||
/*Y0 192*/ "", "", "", "", "", "", "", "",
|
||||
/*Z0 200*/ "", "", "", "", "", "", "", "";
|
||||
};
|
620
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts
Normal file
620
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts
Normal file
@ -0,0 +1,620 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
// Copyright 2023 Facebook Inc.
|
||||
|
||||
/dts-v1/;
|
||||
#include "aspeed-g6.dtsi"
|
||||
#include <dt-bindings/gpio/aspeed-gpio.h>
|
||||
#include <dt-bindings/i2c/i2c.h>
|
||||
|
||||
/ {
|
||||
model = "Facebook Harma";
|
||||
compatible = "facebook,harma-bmc", "aspeed,ast2600";
|
||||
|
||||
aliases {
|
||||
serial0 = &uart1;
|
||||
serial1 = &uart2;
|
||||
serial2 = &uart4;
|
||||
serial4 = &uart5;
|
||||
|
||||
i2c20 = &imux20;
|
||||
i2c21 = &imux21;
|
||||
i2c22 = &imux22;
|
||||
i2c23 = &imux23;
|
||||
i2c24 = &imux24;
|
||||
i2c25 = &imux25;
|
||||
i2c26 = &imux26;
|
||||
i2c27 = &imux27;
|
||||
i2c28 = &imux28;
|
||||
i2c29 = &imux29;
|
||||
i2c30 = &imux30;
|
||||
i2c31 = &imux31;
|
||||
|
||||
spi1 = &spi_gpio;
|
||||
};
|
||||
|
||||
chosen {
|
||||
stdout-path = &uart5;
|
||||
};
|
||||
|
||||
memory@80000000 {
|
||||
device_type = "memory";
|
||||
reg = <0x80000000 0x80000000>;
|
||||
};
|
||||
|
||||
iio-hwmon {
|
||||
compatible = "iio-hwmon";
|
||||
io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
|
||||
<&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>,
|
||||
<&adc1 2>;
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
led-0 {
|
||||
label = "bmc_heartbeat_amber";
|
||||
gpios = <&gpio0 ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
|
||||
led-1 {
|
||||
label = "fp_id_amber";
|
||||
default-state = "off";
|
||||
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
led-2 {
|
||||
label = "power_blue";
|
||||
default-state = "off";
|
||||
gpios = <&gpio0 124 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
};
|
||||
|
||||
spi_gpio: spi-gpio {
|
||||
status = "okay";
|
||||
compatible = "spi-gpio";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
gpio-sck = <&gpio0 ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>;
|
||||
gpio-mosi = <&gpio0 ASPEED_GPIO(Z, 4) GPIO_ACTIVE_HIGH>;
|
||||
gpio-miso = <&gpio0 ASPEED_GPIO(Z, 5) GPIO_ACTIVE_HIGH>;
|
||||
num-chipselects = <1>;
|
||||
cs-gpios = <&gpio0 ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>;
|
||||
|
||||
tpmdev@0 {
|
||||
compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
|
||||
spi-max-frequency = <33000000>;
|
||||
reg = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
// HOST BIOS Debug
|
||||
&uart1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
// SOL Host Console
|
||||
&uart2 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <>;
|
||||
};
|
||||
|
||||
// SOL BMC Console
|
||||
&uart4 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <>;
|
||||
};
|
||||
|
||||
// BMC Debug Console
|
||||
&uart5 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
// MTIA
|
||||
&uart6 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart_routing {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&wdt1 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_wdtrst1_default>;
|
||||
aspeed,reset-type = "soc";
|
||||
aspeed,external-signal;
|
||||
aspeed,ext-push-pull;
|
||||
aspeed,ext-active-high;
|
||||
aspeed,ext-pulse-duration = <256>;
|
||||
};
|
||||
|
||||
&mac3 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_rmii4_default>;
|
||||
use-ncsi;
|
||||
mlx,multi-host;
|
||||
};
|
||||
|
||||
&rtc {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&fmc {
|
||||
status = "okay";
|
||||
|
||||
flash@0 {
|
||||
status = "okay";
|
||||
m25p,fast-read;
|
||||
label = "bmc";
|
||||
spi-max-frequency = <50000000>;
|
||||
#include "openbmc-flash-layout-128.dtsi"
|
||||
};
|
||||
|
||||
flash@1 {
|
||||
status = "okay";
|
||||
m25p,fast-read;
|
||||
label = "alt-bmc";
|
||||
spi-max-frequency = <50000000>;
|
||||
};
|
||||
};
|
||||
|
||||
// BIOS Flash
|
||||
&spi2 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_spi2_default>;
|
||||
|
||||
flash@0 {
|
||||
status = "okay";
|
||||
m25p,fast-read;
|
||||
label = "pnor";
|
||||
spi-max-frequency = <12000000>;
|
||||
spi-tx-bus-width = <2>;
|
||||
spi-rx-bus-width = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
&kcs2 {
|
||||
status = "okay";
|
||||
aspeed,lpc-io-reg = <0xca8>;
|
||||
};
|
||||
|
||||
&kcs3 {
|
||||
status = "okay";
|
||||
aspeed,lpc-io-reg = <0xca2>;
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
status = "okay";
|
||||
|
||||
max31790@5e{
|
||||
compatible = "max31790";
|
||||
reg = <0x5e>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
&i2c1 {
|
||||
status = "okay";
|
||||
|
||||
tmp75@4b {
|
||||
compatible = "ti,tmp75";
|
||||
reg = <0x4b>;
|
||||
};
|
||||
|
||||
// MB NIC FRU
|
||||
eeprom@50 {
|
||||
compatible = "atmel,24c64";
|
||||
reg = <0x50>;
|
||||
};
|
||||
};
|
||||
|
||||
&i2c2 {
|
||||
status = "okay";
|
||||
|
||||
max31790@5e{
|
||||
compatible = "max31790";
|
||||
reg = <0x5e>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
&i2c3 {
|
||||
status = "okay";
|
||||
|
||||
i2c-mux@70 {
|
||||
compatible = "nxp,pca9543";
|
||||
reg = <0x70>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
imux20: i2c@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0>;
|
||||
//Retimer Flash
|
||||
eeprom@50 {
|
||||
compatible = "atmel,24c2048";
|
||||
reg = <0x50>;
|
||||
pagesize = <128>;
|
||||
};
|
||||
};
|
||||
imux21: i2c@1 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&i2c4 {
|
||||
status = "okay";
|
||||
// PDB FRU
|
||||
eeprom@52 {
|
||||
compatible = "atmel,24c64";
|
||||
reg = <0x52>;
|
||||
};
|
||||
|
||||
delta_brick@69 {
|
||||
compatible = "pmbus";
|
||||
reg = <0x69>;
|
||||
};
|
||||
|
||||
tmp75@49 {
|
||||
compatible = "ti,tmp75";
|
||||
reg = <0x49>;
|
||||
};
|
||||
|
||||
power-monitor@22 {
|
||||
compatible = "lltc,ltc4286";
|
||||
reg = <0x22>;
|
||||
adi,vrange-low-enable;
|
||||
shunt-resistor-micro-ohms = <500>;
|
||||
};
|
||||
};
|
||||
|
||||
&i2c5 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c6 {
|
||||
status = "okay";
|
||||
|
||||
i2c-mux@70 {
|
||||
compatible = "nxp,pca9543";
|
||||
reg = <0x70>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
imux22: i2c@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0>;
|
||||
};
|
||||
imux23: i2c@1 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&i2c7 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c8 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c9 {
|
||||
status = "okay";
|
||||
|
||||
gpio@30 {
|
||||
compatible = "nxp,pca9555";
|
||||
reg = <0x30>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
};
|
||||
gpio@31 {
|
||||
compatible = "nxp,pca9555";
|
||||
reg = <0x31>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
};
|
||||
|
||||
i2c-mux@71 {
|
||||
compatible = "nxp,pca9546";
|
||||
reg = <0x71>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
imux24: i2c@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0>;
|
||||
};
|
||||
imux25: i2c@1 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <1>;
|
||||
};
|
||||
imux26: i2c@2 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <2>;
|
||||
};
|
||||
imux27: i2c@3 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <3>;
|
||||
};
|
||||
};
|
||||
// PTTV FRU
|
||||
eeprom@52 {
|
||||
compatible = "atmel,24c64";
|
||||
reg = <0x52>;
|
||||
};
|
||||
};
|
||||
|
||||
&i2c11 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c12 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c13 {
|
||||
status = "okay";
|
||||
|
||||
i2c-mux@70 {
|
||||
compatible = "nxp,pca9545";
|
||||
reg = <0x70>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
imux28: i2c@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0>;
|
||||
};
|
||||
imux29: i2c@1 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <1>;
|
||||
//MB FRU
|
||||
eeprom@54 {
|
||||
compatible = "atmel,24c64";
|
||||
reg = <0x54>;
|
||||
};
|
||||
};
|
||||
imux30: i2c@2 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <2>;
|
||||
};
|
||||
imux31: i2c@3 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <3>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
// To Debug card
|
||||
&i2c14 {
|
||||
status = "okay";
|
||||
multi-master;
|
||||
|
||||
ipmb@10 {
|
||||
compatible = "ipmb-dev";
|
||||
reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
|
||||
i2c-protocol;
|
||||
};
|
||||
};
|
||||
|
||||
&i2c15 {
|
||||
status = "okay";
|
||||
|
||||
// SCM FRU
|
||||
eeprom@50 {
|
||||
compatible = "atmel,24c64";
|
||||
reg = <0x50>;
|
||||
};
|
||||
|
||||
// BSM FRU
|
||||
eeprom@56 {
|
||||
compatible = "atmel,24c64";
|
||||
reg = <0x56>;
|
||||
};
|
||||
};
|
||||
|
||||
&adc0 {
|
||||
aspeed,int-vref-microvolt = <2500000>;
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
|
||||
&pinctrl_adc2_default &pinctrl_adc3_default
|
||||
&pinctrl_adc4_default &pinctrl_adc5_default
|
||||
&pinctrl_adc6_default &pinctrl_adc7_default>;
|
||||
};
|
||||
|
||||
&adc1 {
|
||||
aspeed,int-vref-microvolt = <2500000>;
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_adc10_default>;
|
||||
};
|
||||
|
||||
&ehci0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
pinctrl-names = "default";
|
||||
gpio-line-names =
|
||||
/*A0-A7*/ "","","","","","","","",
|
||||
/*B0-B7*/ "","","","",
|
||||
"bmc-spi-mux-select-0","led-identify","","",
|
||||
/*C0-C7*/ "","","","","","","","",
|
||||
/*D0-D7*/ "","","sol-uart-select","","","","","",
|
||||
/*E0-E7*/ "","","","","","","","",
|
||||
/*F0-F7*/ "","","","","","","","",
|
||||
/*G0-G7*/ "","","","","","","","",
|
||||
/*H0-H7*/ "","","","","","","","",
|
||||
/*I0-I7*/ "","","","","","","","",
|
||||
/*J0-J7*/ "","","","","","","","",
|
||||
/*K0-K7*/ "","","","","","","","",
|
||||
/*L0-L7*/ "","","","","","","","",
|
||||
/*M0-M7*/ "","","","","","","","",
|
||||
/*N0-N7*/ "led-postcode-0","led-postcode-1",
|
||||
"led-postcode-2","led-postcode-3",
|
||||
"led-postcode-4","led-postcode-5",
|
||||
"led-postcode-6","led-postcode-7",
|
||||
/*O0-O7*/ "","","","","","","","",
|
||||
/*P0-P7*/ "power-button","power-host-control",
|
||||
"reset-button","","led-power","","","",
|
||||
/*Q0-Q7*/ "","","","","","","","",
|
||||
/*R0-R7*/ "","","","","","","","",
|
||||
/*S0-S7*/ "","","","","","","","",
|
||||
/*T0-T7*/ "","","","","","","","",
|
||||
/*U0-U7*/ "","","","","","","led-identify-gate","",
|
||||
/*V0-V7*/ "","","","",
|
||||
"rtc-battery-voltage-read-enable","","","",
|
||||
/*W0-W7*/ "","","","","","","","",
|
||||
/*X0-X7*/ "","","","","","","","",
|
||||
/*Y0-Y7*/ "","","","","","","","",
|
||||
/*Z0-Z7*/ "","","","","","","","";
|
||||
};
|
||||
|
||||
&sgpiom0 {
|
||||
status = "okay";
|
||||
max-ngpios = <128>;
|
||||
ngpios = <128>;
|
||||
bus-frequency = <2000000>;
|
||||
gpio-line-names =
|
||||
/*in - out - in - out */
|
||||
/*A0-A3 line 0-7*/
|
||||
"presence-scm-cable","power-config-disable-e1s-0",
|
||||
"","",
|
||||
"","power-config-disable-e1s-1",
|
||||
"","",
|
||||
/*A4-A7 line 8-15*/
|
||||
"","power-config-asic-module-enable",
|
||||
"","power-config-asic-power-good",
|
||||
"","power-config-pdb-power-good",
|
||||
"presence-cpu","smi-control-n",
|
||||
/*B0-B3 line 16-23*/
|
||||
"","nmi-control-n",
|
||||
"","nmi-control-sync-flood-n",
|
||||
"","",
|
||||
"","",
|
||||
/*B4-B7 line 24-31*/
|
||||
"","FM_CPU_SP5R1",
|
||||
"reset-cause-rsmrst","FM_CPU_SP5R2",
|
||||
"","FM_CPU_SP5R3",
|
||||
"","FM_CPU_SP5R4",
|
||||
/*C0-C3 line 32-39*/
|
||||
"","FM_CPU0_SA0",
|
||||
"","FM_CPU0_SA1",
|
||||
"","rt-cpu0-p0-enable",
|
||||
"","rt-cpu0-p1-enable",
|
||||
/*C4-C7 line 40-47*/
|
||||
"","smb-rt-rom-p0-select",
|
||||
"","smb-rt-rom-p1-select",
|
||||
"","i3c-cpu-mux0-oe-n",
|
||||
"","i3c-cpu-mux0-select",
|
||||
/*D0-D3 line 48-55*/
|
||||
"","i3c-cpu-mux1-oe-n",
|
||||
"","i3c-cpu-mux1-select",
|
||||
"","reset-control-bmc",
|
||||
"","reset-control-cpu0-p0-mux",
|
||||
/*D4-D7 line 56-63*/
|
||||
"","reset-control-cpu0-p1-mux",
|
||||
"","reset-control-e1s-mux",
|
||||
"power-host-good","reset-control-mb-mux",
|
||||
"power-cpu-good","reset-control-smb-e1s-0",
|
||||
/*E0-E3 line 64-71*/
|
||||
"","reset-control-smb-e1s-1",
|
||||
"host-ready-n","reset-control-srst",
|
||||
"presence-e1s-0","reset-control-usb-hub",
|
||||
"","reset-control",
|
||||
/*E4-E7 line 72-79*/
|
||||
"presence-e1s-1","reset-control-cpu-kbrst",
|
||||
"","reset-control-platrst",
|
||||
"","bmc-jtag-mux-select-0",
|
||||
"","bmc-jtag-mux-select-1",
|
||||
/*F0-F3 line 80-87*/
|
||||
"","bmc-jtag-select",
|
||||
"","bmc-ready-n",
|
||||
"","bmc-ready-sgpio",
|
||||
"","rt-cpu0-p0-force-enable",
|
||||
/*F4-F7 line 88-95*/
|
||||
"presence-asic-modules-0","rt-cpu0-p1-force-enable",
|
||||
"presence-asic-modules-1","bios-debug-msg-disable",
|
||||
"","uart-control-buffer-select",
|
||||
"","ac-control-n",
|
||||
/*G0-G3 line 96-103*/
|
||||
"FM_CPU_CORETYPE2","",
|
||||
"FM_CPU_CORETYPE1","",
|
||||
"FM_CPU_CORETYPE0","",
|
||||
"FM_BOARD_REV_ID5","",
|
||||
/*G4-G7 line 104-111*/
|
||||
"FM_BOARD_REV_ID4","",
|
||||
"FM_BOARD_REV_ID3","",
|
||||
"FM_BOARD_REV_ID2","",
|
||||
"FM_BOARD_REV_ID1","",
|
||||
/*H0-H3 line 112-119*/
|
||||
"FM_BOARD_REV_ID0","",
|
||||
"","","","","","",
|
||||
/*H4-H7 line 120-127*/
|
||||
"","",
|
||||
"reset-control-pcie-expansion-3","",
|
||||
"reset-control-pcie-expansion-2","",
|
||||
"reset-control-pcie-expansion-1","",
|
||||
/*I0-I3 line 128-135*/
|
||||
"reset-control-pcie-expansion-0","",
|
||||
"FM_EXP_SLOT_ID1","",
|
||||
"FM_EXP_SLOT_ID0","",
|
||||
"","",
|
||||
/*I4-I7 line 136-143*/
|
||||
"","","","","","","","",
|
||||
/*J0-J3 line 144-151*/
|
||||
"","","","","","","","",
|
||||
/*J4-J7 line 152-159*/
|
||||
"SLOT_ID_BCB_0","",
|
||||
"SLOT_ID_BCB_1","",
|
||||
"SLOT_ID_BCB_2","",
|
||||
"SLOT_ID_BCB_3","",
|
||||
/*K0-K3 line 160-167*/
|
||||
"","","","","","","","",
|
||||
/*K4-K7 line 168-175*/
|
||||
"","","","","","","","",
|
||||
/*L0-L3 line 176-183*/
|
||||
"","","","","","","","",
|
||||
/*L4-L7 line 184-191*/
|
||||
"","","","","","","","",
|
||||
/*M0-M3 line 192-199*/
|
||||
"","","","","","","","",
|
||||
/*M4-M7 line 200-207*/
|
||||
"","","","","","","","",
|
||||
/*N0-N3 line 208-215*/
|
||||
"","","","","","","","",
|
||||
/*N4-N7 line 216-223*/
|
||||
"","","","","","","","",
|
||||
/*O0-O3 line 224-231*/
|
||||
"","","","","","","","",
|
||||
/*O4-O7 line 232-239*/
|
||||
"","","","","","","","",
|
||||
/*P0-P3 line 240-247*/
|
||||
"","","","","","","","",
|
||||
/*P4-P7 line 248-255*/
|
||||
"","","","","","","","";
|
||||
};
|
@ -1,265 +0,0 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
// Copyright (c) 2023 Facebook Inc.
|
||||
/dts-v1/;
|
||||
|
||||
#include "aspeed-g6.dtsi"
|
||||
#include <dt-bindings/gpio/aspeed-gpio.h>
|
||||
#include <dt-bindings/i2c/i2c.h>
|
||||
|
||||
/ {
|
||||
model = "Facebook Minerva CMC";
|
||||
compatible = "facebook,minerva-cmc", "aspeed,ast2600";
|
||||
|
||||
aliases {
|
||||
serial5 = &uart5;
|
||||
};
|
||||
|
||||
chosen {
|
||||
stdout-path = "serial5:57600n8";
|
||||
};
|
||||
|
||||
memory@80000000 {
|
||||
device_type = "memory";
|
||||
reg = <0x80000000 0x80000000>;
|
||||
};
|
||||
|
||||
iio-hwmon {
|
||||
compatible = "iio-hwmon";
|
||||
io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
|
||||
<&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>,
|
||||
<&adc1 2>;
|
||||
};
|
||||
};
|
||||
|
||||
&uart6 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&wdt1 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_wdtrst1_default>;
|
||||
aspeed,reset-type = "soc";
|
||||
aspeed,external-signal;
|
||||
aspeed,ext-push-pull;
|
||||
aspeed,ext-active-high;
|
||||
aspeed,ext-pulse-duration = <256>;
|
||||
};
|
||||
|
||||
&mac3 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_rmii4_default>;
|
||||
use-ncsi;
|
||||
mlx,multi-host;
|
||||
};
|
||||
|
||||
&fmc {
|
||||
status = "okay";
|
||||
flash@0 {
|
||||
status = "okay";
|
||||
m25p,fast-read;
|
||||
label = "bmc";
|
||||
spi-max-frequency = <50000000>;
|
||||
#include "openbmc-flash-layout-128.dtsi"
|
||||
};
|
||||
flash@1 {
|
||||
status = "okay";
|
||||
m25p,fast-read;
|
||||
label = "alt-bmc";
|
||||
spi-max-frequency = <50000000>;
|
||||
};
|
||||
};
|
||||
|
||||
&rtc {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&sgpiom1 {
|
||||
status = "okay";
|
||||
ngpios = <128>;
|
||||
bus-frequency = <2000000>;
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c1 {
|
||||
status = "okay";
|
||||
|
||||
temperature-sensor@4b {
|
||||
compatible = "ti,tmp75";
|
||||
reg = <0x4B>;
|
||||
};
|
||||
|
||||
eeprom@51 {
|
||||
compatible = "atmel,24c128";
|
||||
reg = <0x51>;
|
||||
};
|
||||
};
|
||||
|
||||
&i2c2 {
|
||||
status = "okay";
|
||||
|
||||
i2c-mux@77 {
|
||||
compatible = "nxp,pca9548";
|
||||
reg = <0x77>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
i2c-mux-idle-disconnect;
|
||||
|
||||
i2c@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0>;
|
||||
|
||||
eeprom@50 {
|
||||
compatible = "atmel,24c128";
|
||||
reg = <0x50>;
|
||||
};
|
||||
};
|
||||
|
||||
i2c@1 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <1>;
|
||||
|
||||
eeprom@50 {
|
||||
compatible = "atmel,24c128";
|
||||
reg = <0x50>;
|
||||
};
|
||||
};
|
||||
|
||||
i2c@2 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <2>;
|
||||
|
||||
eeprom@50 {
|
||||
compatible = "atmel,24c128";
|
||||
reg = <0x50>;
|
||||
};
|
||||
};
|
||||
|
||||
i2c@3 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <3>;
|
||||
|
||||
eeprom@50 {
|
||||
compatible = "atmel,24c128";
|
||||
reg = <0x50>;
|
||||
};
|
||||
};
|
||||
|
||||
i2c@4 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <4>;
|
||||
|
||||
eeprom@50 {
|
||||
compatible = "atmel,24c128";
|
||||
reg = <0x50>;
|
||||
};
|
||||
};
|
||||
|
||||
i2c@5 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <5>;
|
||||
|
||||
eeprom@50 {
|
||||
compatible = "atmel,24c128";
|
||||
reg = <0x50>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&i2c3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c4 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c5 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c6 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c7 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c8 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c9 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c10 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c11 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c12 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c13 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c14 {
|
||||
status = "okay";
|
||||
multi-master;
|
||||
|
||||
ipmb@10 {
|
||||
compatible = "ipmb-dev";
|
||||
reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
|
||||
i2c-protocol;
|
||||
};
|
||||
};
|
||||
|
||||
&i2c15 {
|
||||
status = "okay";
|
||||
|
||||
eeprom@50 {
|
||||
compatible = "atmel,24c128";
|
||||
reg = <0x50>;
|
||||
};
|
||||
};
|
||||
|
||||
&adc0 {
|
||||
aspeed,int-vref-microvolt = <2500000>;
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
|
||||
&pinctrl_adc2_default &pinctrl_adc3_default
|
||||
&pinctrl_adc4_default &pinctrl_adc5_default
|
||||
&pinctrl_adc6_default &pinctrl_adc7_default>;
|
||||
};
|
||||
|
||||
&adc1 {
|
||||
aspeed,int-vref-microvolt = <2500000>;
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pinctrl_adc10_default>;
|
||||
};
|
||||
|
||||
&ehci1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uhci {
|
||||
status = "okay";
|
||||
};
|
543
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts
Normal file
543
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts
Normal file
@ -0,0 +1,543 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
// Copyright (c) 2023 Facebook Inc.
|
||||
/dts-v1/;
|
||||
|
||||
#include "aspeed-g6.dtsi"
|
||||
#include <dt-bindings/gpio/aspeed-gpio.h>
|
||||
#include <dt-bindings/i2c/i2c.h>
|
||||
|
||||
/ {
|
||||
model = "Facebook Minerva CMM";
|
||||
compatible = "facebook,minerva-cmc", "aspeed,ast2600";
|
||||
|
||||
aliases {
|
||||
serial5 = &uart5;
|
||||
/*
|
||||
* PCA9548 (2-0077) provides 8 channels connecting to
|
||||
* 6 pcs of FCB (Fan Controller Board).
|
||||
*/
|
||||
i2c16 = &imux16;
|
||||
i2c17 = &imux17;
|
||||
i2c18 = &imux18;
|
||||
i2c19 = &imux19;
|
||||
i2c20 = &imux20;
|
||||
i2c21 = &imux21;
|
||||
};
|
||||
|
||||
chosen {
|
||||
stdout-path = "serial5:57600n8";
|
||||
};
|
||||
|
||||
memory@80000000 {
|
||||
device_type = "memory";
|
||||
reg = <0x80000000 0x80000000>;
|
||||
};
|
||||
|
||||
iio-hwmon {
|
||||
compatible = "iio-hwmon";
|
||||
io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
|
||||
<&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>,
|
||||
<&adc1 2>;
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
led-fan-fault {
|
||||
label = "led-fan-fault";
|
||||
gpios = <&leds_gpio 9 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "off";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart6 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&wdt1 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_wdtrst1_default>;
|
||||
aspeed,reset-type = "soc";
|
||||
aspeed,external-signal;
|
||||
aspeed,ext-push-pull;
|
||||
aspeed,ext-active-high;
|
||||
aspeed,ext-pulse-duration = <256>;
|
||||
};
|
||||
|
||||
&mac3 {
|
||||
status = "okay";
|
||||
phy-mode = "rmii";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_rmii4_default>;
|
||||
fixed-link {
|
||||
speed = <100>;
|
||||
full-duplex;
|
||||
};
|
||||
};
|
||||
|
||||
&fmc {
|
||||
status = "okay";
|
||||
flash@0 {
|
||||
status = "okay";
|
||||
m25p,fast-read;
|
||||
label = "bmc";
|
||||
spi-max-frequency = <50000000>;
|
||||
#include "openbmc-flash-layout-128.dtsi"
|
||||
};
|
||||
flash@1 {
|
||||
status = "okay";
|
||||
m25p,fast-read;
|
||||
label = "alt-bmc";
|
||||
spi-max-frequency = <50000000>;
|
||||
};
|
||||
};
|
||||
|
||||
&rtc {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&sgpiom0 {
|
||||
status = "okay";
|
||||
ngpios = <128>;
|
||||
bus-frequency = <2000000>;
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
status = "okay";
|
||||
|
||||
power-monitor@40 {
|
||||
compatible = "ti,ina230";
|
||||
reg = <0x40>;
|
||||
shunt-resistor = <1000>;
|
||||
};
|
||||
|
||||
power-monitor@41 {
|
||||
compatible = "ti,ina230";
|
||||
reg = <0x41>;
|
||||
shunt-resistor = <1000>;
|
||||
};
|
||||
|
||||
power-monitor@67 {
|
||||
compatible = "adi,ltc2945";
|
||||
reg = <0x67>;
|
||||
};
|
||||
|
||||
power-monitor@68 {
|
||||
compatible = "adi,ltc2945";
|
||||
reg = <0x68>;
|
||||
};
|
||||
|
||||
leds_gpio: gpio@19 {
|
||||
compatible = "nxp,pca9555";
|
||||
reg = <0x19>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
&i2c1 {
|
||||
status = "okay";
|
||||
|
||||
temperature-sensor@4b {
|
||||
compatible = "ti,tmp75";
|
||||
reg = <0x4b>;
|
||||
};
|
||||
|
||||
temperature-sensor@48 {
|
||||
compatible = "ti,tmp75";
|
||||
reg = <0x48>;
|
||||
};
|
||||
|
||||
eeprom@54 {
|
||||
compatible = "atmel,24c128";
|
||||
reg = <0x54>;
|
||||
};
|
||||
};
|
||||
|
||||
&i2c2 {
|
||||
status = "okay";
|
||||
|
||||
i2c-mux@77 {
|
||||
compatible = "nxp,pca9548";
|
||||
reg = <0x77>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
i2c-mux-idle-disconnect;
|
||||
|
||||
imux16: i2c@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0>;
|
||||
|
||||
eeprom@50 {
|
||||
compatible = "atmel,24c128";
|
||||
reg = <0x50>;
|
||||
};
|
||||
|
||||
pwm@5e{
|
||||
compatible = "max31790";
|
||||
reg = <0x5e>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
imux17: i2c@1 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <1>;
|
||||
|
||||
eeprom@50 {
|
||||
compatible = "atmel,24c128";
|
||||
reg = <0x50>;
|
||||
};
|
||||
|
||||
pwm@5e{
|
||||
compatible = "max31790";
|
||||
reg = <0x5e>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
imux18: i2c@2 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <2>;
|
||||
|
||||
eeprom@50 {
|
||||
compatible = "atmel,24c128";
|
||||
reg = <0x50>;
|
||||
};
|
||||
|
||||
pwm@5e{
|
||||
compatible = "max31790";
|
||||
reg = <0x5e>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
imux19: i2c@3 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <3>;
|
||||
|
||||
eeprom@50 {
|
||||
compatible = "atmel,24c128";
|
||||
reg = <0x50>;
|
||||
};
|
||||
|
||||
pwm@5e{
|
||||
compatible = "max31790";
|
||||
reg = <0x5e>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
imux20: i2c@4 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <4>;
|
||||
|
||||
eeprom@50 {
|
||||
compatible = "atmel,24c128";
|
||||
reg = <0x50>;
|
||||
};
|
||||
|
||||
pwm@5e{
|
||||
compatible = "max31790";
|
||||
reg = <0x5e>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
imux21: i2c@5 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <5>;
|
||||
|
||||
eeprom@50 {
|
||||
compatible = "atmel,24c128";
|
||||
reg = <0x50>;
|
||||
};
|
||||
|
||||
pwm@5e{
|
||||
compatible = "max31790";
|
||||
reg = <0x5e>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&i2c3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c4 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c5 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c6 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c7 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c8 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c9 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c10 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c11 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c12 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c13 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c14 {
|
||||
status = "okay";
|
||||
multi-master;
|
||||
|
||||
ipmb@10 {
|
||||
compatible = "ipmb-dev";
|
||||
reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
|
||||
i2c-protocol;
|
||||
};
|
||||
};
|
||||
|
||||
&i2c15 {
|
||||
status = "okay";
|
||||
|
||||
eeprom@50 {
|
||||
compatible = "atmel,24c128";
|
||||
reg = <0x50>;
|
||||
};
|
||||
};
|
||||
|
||||
&adc0 {
|
||||
aspeed,int-vref-microvolt = <2500000>;
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
|
||||
&pinctrl_adc2_default &pinctrl_adc3_default
|
||||
&pinctrl_adc4_default &pinctrl_adc5_default
|
||||
&pinctrl_adc6_default &pinctrl_adc7_default>;
|
||||
};
|
||||
|
||||
&adc1 {
|
||||
aspeed,int-vref-microvolt = <2500000>;
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pinctrl_adc10_default>;
|
||||
};
|
||||
|
||||
&ehci1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uhci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
gpio-line-names =
|
||||
/*A0-A7*/ "","","","","","","","",
|
||||
/*B0-B7*/ "","","","","","","","",
|
||||
/*C0-C7*/ "","","","","BLADE_UART_SEL2","","","",
|
||||
/*D0-D7*/ "","","","","","","","",
|
||||
/*E0-E7*/ "","","","","","","","",
|
||||
/*F0-F7*/ "","","","","","","","",
|
||||
/*G0-G7*/ "","","","","","","","",
|
||||
/*H0-H7*/ "","","","","","","","",
|
||||
/*I0-I7*/ "","","","","","","","",
|
||||
/*J0-J7*/ "","","","","","","","",
|
||||
/*K0-K7*/ "","","","","","","","",
|
||||
/*L0-L7*/ "","","","","BLADE_UART_SEL0","","","",
|
||||
/*M0-M7*/ "","","","","","BLADE_UART_SEL1","","",
|
||||
/*N0-N7*/ "","","","","","","","",
|
||||
/*O0-O7*/ "","","","","","","","",
|
||||
/*P0-P7*/ "","","","","","","","",
|
||||
/*Q0-Q7*/ "","","","","","","","",
|
||||
/*R0-R7*/ "","","","","","","","",
|
||||
/*S0-S7*/ "","","","","","","","",
|
||||
/*T0-T7*/ "","","","","","","","",
|
||||
/*U0-U7*/ "","","","","","","","",
|
||||
/*V0-V7*/ "","","","","BAT_DETECT","","","",
|
||||
/*W0-W7*/ "","","","","","","","",
|
||||
/*X0-X7*/ "","","BLADE_UART_SEL3","","","","","",
|
||||
/*Y0-Y7*/ "","","","","","","","",
|
||||
/*Z0-Z7*/ "","","","","","","","";
|
||||
};
|
||||
|
||||
&sgpiom0 {
|
||||
gpio-line-names =
|
||||
/*"input pin","output pin"*/
|
||||
/*A0 - A7*/
|
||||
"PRSNT_MTIA_BLADE0_N","PWREN_MTIA_BLADE0_EN",
|
||||
"PRSNT_MTIA_BLADE1_N","PWREN_MTIA_BLADE1_EN",
|
||||
"PRSNT_MTIA_BLADE2_N","PWREN_MTIA_BLADE2_EN",
|
||||
"PRSNT_MTIA_BLADE3_N","PWREN_MTIA_BLADE3_EN",
|
||||
"PRSNT_MTIA_BLADE4_N","PWREN_MTIA_BLADE4_EN",
|
||||
"PRSNT_MTIA_BLADE5_N","PWREN_MTIA_BLADE5_EN",
|
||||
"PRSNT_MTIA_BLADE6_N","PWREN_MTIA_BLADE6_EN",
|
||||
"PRSNT_MTIA_BLADE7_N","PWREN_MTIA_BLADE7_EN",
|
||||
/*B0 - B7*/
|
||||
"PRSNT_MTIA_BLADE8_N","PWREN_MTIA_BLADE8_EN",
|
||||
"PRSNT_MTIA_BLADE9_N","PWREN_MTIA_BLADE9_EN",
|
||||
"PRSNT_MTIA_BLADE10_N","PWREN_MTIA_BLADE10_EN",
|
||||
"PRSNT_MTIA_BLADE11_N","PWREN_MTIA_BLADE11_EN",
|
||||
"PRSNT_MTIA_BLADE12_N","PWREN_MTIA_BLADE12_EN",
|
||||
"PRSNT_MTIA_BLADE13_N","PWREN_MTIA_BLADE13_EN",
|
||||
"PRSNT_MTIA_BLADE14_N","PWREN_MTIA_BLADE14_EN",
|
||||
"PRSNT_MTIA_BLADE15_N","PWREN_MTIA_BLADE15_EN",
|
||||
/*C0 - C7*/
|
||||
"PRSNT_NW_BLADE0_N","PWREN_NW_BLADE0_EN",
|
||||
"PRSNT_NW_BLADE1_N","PWREN_NW_BLADE1_EN",
|
||||
"PRSNT_NW_BLADE2_N","PWREN_NW_BLADE2_EN",
|
||||
"PRSNT_NW_BLADE3_N","PWREN_NW_BLADE3_EN",
|
||||
"PRSNT_NW_BLADE4_N","PWREN_NW_BLADE4_EN",
|
||||
"PRSNT_NW_BLADE5_N","PWREN_NW_BLADE5_EN",
|
||||
"PRSNT_FCB_TOP_0_N","PWREN_MTIA_BLADE0_HSC_EN",
|
||||
"PRSNT_FCB_TOP_1_N","PWREN_MTIA_BLADE1_HSC_EN",
|
||||
/*D0 - D7*/
|
||||
"PRSNT_FCB_MIDDLE_0_N","PWREN_MTIA_BLADE2_HSC_EN",
|
||||
"PRSNT_FCB_MIDDLE_1_N","PWREN_MTIA_BLADE3_HSC_EN",
|
||||
"PRSNT_FCB_BOTTOM_0_N","PWREN_MTIA_BLADE4_HSC_EN",
|
||||
"PRSNT_FCB_BOTTOM_1_N","PWREN_MTIA_BLADE5_HSC_EN",
|
||||
"PWRGD_MTIA_BLADE0_PWROK_L_BUF","PWREN_MTIA_BLADE6_HSC_EN",
|
||||
"PWRGD_MTIA_BLADE1_PWROK_L_BUF","PWREN_MTIA_BLADE7_HSC_EN",
|
||||
"PWRGD_MTIA_BLADE2_PWROK_L_BUF","PWREN_MTIA_BLADE8_HSC_EN",
|
||||
"PWRGD_MTIA_BLADE3_PWROK_L_BUF","PWREN_MTIA_BLADE9_HSC_EN",
|
||||
/*E0 - E7*/
|
||||
"PWRGD_MTIA_BLADE4_PWROK_L_BUF","PWREN_MTIA_BLADE10_HSC_EN",
|
||||
"PWRGD_MTIA_BLADE5_PWROK_L_BUF","PWREN_MTIA_BLADE11_HSC_EN",
|
||||
"PWRGD_MTIA_BLADE6_PWROK_L_BUF","PWREN_MTIA_BLADE12_HSC_EN",
|
||||
"PWRGD_MTIA_BLADE7_PWROK_L_BUF","PWREN_MTIA_BLADE13_HSC_EN",
|
||||
"PWRGD_MTIA_BLADE8_PWROK_L_BUF","PWREN_MTIA_BLADE14_HSC_EN",
|
||||
"PWRGD_MTIA_BLADE9_PWROK_L_BUF","PWREN_MTIA_BLADE15_HSC_EN",
|
||||
"PWRGD_MTIA_BLADE10_PWROK_L_BUF","PWREN_NW_BLADE0_HSC_EN",
|
||||
"PWRGD_MTIA_BLADE11_PWROK_L_BUF","PWREN_NW_BLADE1_HSC_EN",
|
||||
/*F0 - F7*/
|
||||
"PWRGD_MTIA_BLADE12_PWROK_L_BUF","PWREN_NW_BLADE2_HSC_EN",
|
||||
"PWRGD_MTIA_BLADE13_PWROK_L_BUF","PWREN_NW_BLADE3_HSC_EN",
|
||||
"PWRGD_MTIA_BLADE14_PWROK_L_BUF","PWREN_NW_BLADE4_HSC_EN",
|
||||
"PWRGD_MTIA_BLADE15_PWROK_L_BUF","PWREN_NW_BLADE5_HSC_EN",
|
||||
"PWRGD_NW_BLADE0_PWROK_L_BUF","PWREN_FCB_TOP_L_EN",
|
||||
"PWRGD_NW_BLADE1_PWROK_L_BUF","PWREN_FCB_TOP_R_EN",
|
||||
"PWRGD_NW_BLADE2_PWROK_L_BUF","PWREN_FCB_MIDDLE_L_EN",
|
||||
"PWRGD_NW_BLADE3_PWROK_L_BUF","PWREN_FCB_MIDDLE_R_EN",
|
||||
/*G0 - G7*/
|
||||
"PWRGD_NW_BLADE4_PWROK_L_BUF","PWREN_FCB_BOTTOM_L_EN",
|
||||
"PWRGD_NW_BLADE5_PWROK_L_BUF","PWREN_FCB_BOTTOM_R_EN",
|
||||
"PWRGD_FCB_TOP_0_PWROK_L_BUF","FM_CMM_AC_CYCLE_N",
|
||||
"PWRGD_FCB_TOP_1_PWROK_L_BUF","MGMT_SFP_TX_DIS",
|
||||
"PWRGD_FCB_MIDDLE_0_PWROK_L_BUF","",
|
||||
"PWRGD_FCB_MIDDLE_1_PWROK_L_BUF","RST_I2CRST_MTIA_BLADE0_1_N",
|
||||
"PWRGD_FCB_BOTTOM_0_PWROK_L_BUF","RST_I2CRST_MTIA_BLADE2_3_N",
|
||||
"PWRGD_FCB_BOTTOM_1_PWROK_L_BUF","RST_I2CRST_MTIA_BLADE4_5_N",
|
||||
/*H0 - H7*/
|
||||
"LEAK_DETECT_MTIA_BLADE0_N_BUF","RST_I2CRST_MTIA_BLADE6_7_N",
|
||||
"LEAK_DETECT_MTIA_BLADE1_N_BUF","RST_I2CRST_MTIA_BLADE8_9_N",
|
||||
"LEAK_DETECT_MTIA_BLADE2_N_BUF","RST_I2CRST_MTIA_BLADE10_11_N",
|
||||
"LEAK_DETECT_MTIA_BLADE3_N_BUF","RST_I2CRST_MTIA_BLADE12_13_N",
|
||||
"LEAK_DETECT_MTIA_BLADE4_N_BUF","RST_I2CRST_MTIA_BLADE14_15_N",
|
||||
"LEAK_DETECT_MTIA_BLADE5_N_BUF","RST_I2CRST_NW_BLADE0_1_2_N",
|
||||
"LEAK_DETECT_MTIA_BLADE6_N_BUF","RST_I2CRST_NW_BLADE3_4_5_N",
|
||||
"LEAK_DETECT_MTIA_BLADE7_N_BUF","RST_I2CRST_FCB_N",
|
||||
/*I0 - I7*/
|
||||
"LEAK_DETECT_MTIA_BLADE8_N_BUF","RST_I2CRST_FCB_B_L_N",
|
||||
"LEAK_DETECT_MTIA_BLADE9_N_BUF","RST_I2CRST_FCB_B_R_N",
|
||||
"LEAK_DETECT_MTIA_BLADE10_N_BUF","RST_I2CRST_FCB_M_L_N",
|
||||
"LEAK_DETECT_MTIA_BLADE11_N_BUF","RST_I2CRST_FCB_M_R_N",
|
||||
"LEAK_DETECT_MTIA_BLADE12_N_BUF","RST_I2CRST_FCB_T_L_N",
|
||||
"LEAK_DETECT_MTIA_BLADE13_N_BUF","RST_I2CRST_FCB_T_R_N",
|
||||
"LEAK_DETECT_MTIA_BLADE14_N_BUF","BMC_READY",
|
||||
"LEAK_DETECT_MTIA_BLADE15_N_BUF","wFM_88E6393X_BIN_UPDATE_EN_N",
|
||||
/*J0 - J7*/
|
||||
"LEAK_DETECT_NW_BLADE0_N_BUF","WATER_VALVE_CLOSED_N",
|
||||
"LEAK_DETECT_NW_BLADE1_N_BUF","",
|
||||
"LEAK_DETECT_NW_BLADE2_N_BUF","",
|
||||
"LEAK_DETECT_NW_BLADE3_N_BUF","",
|
||||
"LEAK_DETECT_NW_BLADE4_N_BUF","",
|
||||
"LEAK_DETECT_NW_BLADE5_N_BUF","",
|
||||
"MTIA_BLADE0_STATUS_LED","",
|
||||
"MTIA_BLADE1_STATUS_LED","",
|
||||
/*K0 - K7*/
|
||||
"MTIA_BLADE2_STATUS_LED","",
|
||||
"MTIA_BLADE3_STATUS_LED","",
|
||||
"MTIA_BLADE4_STATUS_LED","",
|
||||
"MTIA_BLADE5_STATUS_LED","",
|
||||
"MTIA_BLADE6_STATUS_LED","",
|
||||
"MTIA_BLADE7_STATUS_LED","",
|
||||
"MTIA_BLADE8_STATUS_LED","",
|
||||
"MTIA_BLADE9_STATUS_LED","",
|
||||
/*L0 - L7*/
|
||||
"MTIA_BLADE10_STATUS_LED","",
|
||||
"MTIA_BLADE11_STATUS_LED","",
|
||||
"MTIA_BLADE12_STATUS_LED","",
|
||||
"MTIA_BLADE13_STATUS_LED","",
|
||||
"MTIA_BLADE14_STATUS_LED","",
|
||||
"MTIA_BLADE15_STATUS_LED","",
|
||||
"NW_BLADE0_STATUS_LED","",
|
||||
"NW_BLADE1_STATUS_LED","",
|
||||
/*M0 - M7*/
|
||||
"NW_BLADE2_STATUS_LED","",
|
||||
"NW_BLADE3_STATUS_LED","",
|
||||
"NW_BLADE4_STATUS_LED","",
|
||||
"NW_BLADE5_STATUS_LED","",
|
||||
"RPU_READY","",
|
||||
"IT_GEAR_RPU_LINK_N","",
|
||||
"IT_GEAR_LEAK","",
|
||||
"WATER_VALVE_CLOSED_N","",
|
||||
/*N0 - N7*/
|
||||
"VALVE_STS0","",
|
||||
"VALVE_STS1","",
|
||||
"VALVE_STS2","",
|
||||
"VALVE_STS3","",
|
||||
"CR_TOGGLE_BOOT_BUF_N","",
|
||||
"CMM_LC_RDY_LED_N","",
|
||||
"CMM_LC_UNRDY_LED_N","",
|
||||
"CMM_CABLE_CARTRIDGE_PRSNT_BOT_N","",
|
||||
/*O0 - O7*/
|
||||
"CMM_CABLE_CARTRIDGE_PRSNT_TOP_N","",
|
||||
"BOT_BCB_CABLE_PRSNT_N","",
|
||||
"TOP_BCB_CABLE_PRSNT_N","",
|
||||
"CHASSIS0_LEAK_Q_N","",
|
||||
"CHASSIS1_LEAK_Q_N","",
|
||||
"LEAK0_DETECT","",
|
||||
"LEAK1_DETECT","",
|
||||
"MGMT_SFP_PRSNT_N","",
|
||||
/*P0 - P7*/
|
||||
"MGMT_SFP_TX_FAULT","",
|
||||
"MGMT_SFP_RX_LOS","",
|
||||
"","",
|
||||
"","",
|
||||
"","",
|
||||
"","",
|
||||
"","",
|
||||
"","";
|
||||
};
|
1623
arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
Normal file
1623
arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
Normal file
File diff suppressed because it is too large
Load Diff
@ -867,22 +867,26 @@
|
||||
};
|
||||
|
||||
fsim0: fsi@1e79b000 {
|
||||
#interrupt-cells = <1>;
|
||||
compatible = "aspeed,ast2600-fsi-master", "fsi-master";
|
||||
reg = <0x1e79b000 0x94>;
|
||||
interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_fsi1_default>;
|
||||
clocks = <&syscon ASPEED_CLK_GATE_FSICLK>;
|
||||
interrupt-controller;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
fsim1: fsi@1e79b100 {
|
||||
#interrupt-cells = <1>;
|
||||
compatible = "aspeed,ast2600-fsi-master", "fsi-master";
|
||||
reg = <0x1e79b100 0x94>;
|
||||
interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_fsi2_default>;
|
||||
clocks = <&syscon ASPEED_CLK_GATE_FSICLK>;
|
||||
interrupt-controller;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -165,10 +165,12 @@
|
||||
};
|
||||
|
||||
fsi_hub0: hub@3400 {
|
||||
#interrupt-cells = <1>;
|
||||
compatible = "fsi-master-hub";
|
||||
reg = <0x3400 0x400>;
|
||||
#address-cells = <2>;
|
||||
#size-cells = <0>;
|
||||
interrupt-controller;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user