Commit aa32dec6 authored by Arnd Bergmann's avatar Arnd Bergmann

Merge tag 'aspeed-6.10-devicetree' of...

Merge tag 'aspeed-6.10-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc into soc/dt-late

ASPEED device tree updates for 6.10

 - New and removed machines:

  * IBM System1 AST2600 BMC, a x86 server
  * ASUS X4TF AST2600 BMC, a x86 server
  * ASRock SPC621D8HM3 AST2500 BMC, a Intel Xeon system
  * ASRock E3C256D4I AST2500 BMC, a Intel Xeon system
  * Add ASRock X570D4U's AST2500 BMC, an AMD Ryzen 5000 system
  * Facebook Harma's AST2600 BMC
  * Facebook Cloudripper is removed

 - Updates to machines merged this cycle, as well as bonnell,
   yosemite4, minerva and others

* tag 'aspeed-6.10-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc: (52 commits)
  ARM: dts: aspeed: Add ASRock E3C256D4I BMC
  dt-bindings: arm: aspeed: document ASRock E3C256D4I
  dt-bindings: trivial-devices: add isil,isl69269
  ARM: dts: aspeed: x4tf: Add dts for asus x4tf project
  dt-bindings: arm: aspeed: add ASUS X4TF board
  ARM: dts: aspeed: Remove Facebook Cloudripper dts
  ARM: dts: aspeed: drop unused ref_voltage ADC property
  ARM: dts: aspeed: harma: correct Mellanox multi-host property
  ARM: dts: aspeed: yosemitev2: correct Mellanox multi-host property
  ARM: dts: aspeed: yosemite4: correct Mellanox multi-host property
  ARM: dts: aspeed: greatlakes: correct Mellanox multi-host property
  ARM: dts: aspeed: Modify I2C bus configuration
  ARM: dts: aspeed: Disable unused ADC channels for Asrock X570D4U BMC
  ARM: dts: aspeed: Modify GPIO table for Asrock X570D4U BMC
  ARM: dts: aspeed: yosemite4: set bus13 frequency to 100k
  ARM: dts: Aspeed: Bonnell: Fix NVMe LED labels
  ARM: dts: aspeed: yosemite4: Enable ipmb device for OCP debug card
  ARM: dts: aspeed: ahe50dc: Update lm25066 regulator name
  ARM: dts: aspeed: Add vendor prefixes to lm25066 compat strings
  ARM: dts: aspeed: asrock: Use MAC address from FRU EEPROM
  ...

Link: https://lore.kernel.org/r/CACPK8Xd2Qc9MQUJ-8GuRjmyU50oMHpmmHPHLqAh9W_1Gyqi2ug@mail.gmail.comSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parents 24ae5d24 c44211af
...@@ -35,7 +35,10 @@ properties: ...@@ -35,7 +35,10 @@ properties:
- ampere,mtjade-bmc - ampere,mtjade-bmc
- aspeed,ast2500-evb - aspeed,ast2500-evb
- asrock,e3c246d4i-bmc - asrock,e3c246d4i-bmc
- asrock,e3c256d4i-bmc
- asrock,romed8hm3-bmc - asrock,romed8hm3-bmc
- asrock,spc621d8hm3-bmc
- asrock,x570d4u-bmc
- bytedance,g220a-bmc - bytedance,g220a-bmc
- facebook,cmm-bmc - facebook,cmm-bmc
- facebook,minipack-bmc - facebook,minipack-bmc
...@@ -74,15 +77,18 @@ properties: ...@@ -74,15 +77,18 @@ properties:
- ampere,mtmitchell-bmc - ampere,mtmitchell-bmc
- aspeed,ast2600-evb - aspeed,ast2600-evb
- aspeed,ast2600-evb-a1 - aspeed,ast2600-evb-a1
- asus,x4tf-bmc
- facebook,bletchley-bmc - facebook,bletchley-bmc
- facebook,cloudripper-bmc - facebook,cloudripper-bmc
- facebook,elbert-bmc - facebook,elbert-bmc
- facebook,fuji-bmc - facebook,fuji-bmc
- facebook,greatlakes-bmc - facebook,greatlakes-bmc
- facebook,harma-bmc
- facebook,minerva-cmc - facebook,minerva-cmc
- facebook,yosemite4-bmc - facebook,yosemite4-bmc
- ibm,everest-bmc - ibm,everest-bmc
- ibm,rainier-bmc - ibm,rainier-bmc
- ibm,system1-bmc
- ibm,tacoma-bmc - ibm,tacoma-bmc
- inventec,starscream-bmc - inventec,starscream-bmc
- inventec,transformer-bmc - inventec,transformer-bmc
......
...@@ -160,6 +160,8 @@ properties: ...@@ -160,6 +160,8 @@ properties:
- isil,isl29030 - isil,isl29030
# Intersil ISL68137 Digital Output Configurable PWM Controller # Intersil ISL68137 Digital Output Configurable PWM Controller
- isil,isl68137 - isil,isl68137
# Intersil ISL69269 PMBus Voltage Regulator
- isil,isl69269
# Intersil ISL76682 Ambient Light Sensor # Intersil ISL76682 Ambient Light Sensor
- isil,isl76682 - isil,isl76682
# Linear Technology LTC2488 # Linear Technology LTC2488
......
...@@ -9,17 +9,21 @@ dtb-$(CONFIG_ARCH_ASPEED) += \ ...@@ -9,17 +9,21 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
aspeed-bmc-ampere-mtmitchell.dtb \ aspeed-bmc-ampere-mtmitchell.dtb \
aspeed-bmc-arm-stardragon4800-rep2.dtb \ aspeed-bmc-arm-stardragon4800-rep2.dtb \
aspeed-bmc-asrock-e3c246d4i.dtb \ aspeed-bmc-asrock-e3c246d4i.dtb \
aspeed-bmc-asrock-e3c256d4i.dtb \
aspeed-bmc-asrock-romed8hm3.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-bytedance-g220a.dtb \
aspeed-bmc-delta-ahe50dc.dtb \ aspeed-bmc-delta-ahe50dc.dtb \
aspeed-bmc-facebook-bletchley.dtb \ aspeed-bmc-facebook-bletchley.dtb \
aspeed-bmc-facebook-cloudripper.dtb \
aspeed-bmc-facebook-cmm.dtb \ aspeed-bmc-facebook-cmm.dtb \
aspeed-bmc-facebook-elbert.dtb \ aspeed-bmc-facebook-elbert.dtb \
aspeed-bmc-facebook-fuji.dtb \ aspeed-bmc-facebook-fuji.dtb \
aspeed-bmc-facebook-galaxy100.dtb \ aspeed-bmc-facebook-galaxy100.dtb \
aspeed-bmc-facebook-greatlakes.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-minipack.dtb \
aspeed-bmc-facebook-tiogapass.dtb \ aspeed-bmc-facebook-tiogapass.dtb \
aspeed-bmc-facebook-wedge40.dtb \ aspeed-bmc-facebook-wedge40.dtb \
...@@ -33,6 +37,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \ ...@@ -33,6 +37,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
aspeed-bmc-ibm-rainier.dtb \ aspeed-bmc-ibm-rainier.dtb \
aspeed-bmc-ibm-rainier-1s4u.dtb \ aspeed-bmc-ibm-rainier-1s4u.dtb \
aspeed-bmc-ibm-rainier-4u.dtb \ aspeed-bmc-ibm-rainier-4u.dtb \
aspeed-bmc-ibm-system1.dtb \
aspeed-bmc-intel-s2600wf.dtb \ aspeed-bmc-intel-s2600wf.dtb \
aspeed-bmc-inspur-fp5280g2.dtb \ aspeed-bmc-inspur-fp5280g2.dtb \
aspeed-bmc-inspur-nf5280m6.dtb \ aspeed-bmc-inspur-nf5280m6.dtb \
......
...@@ -813,7 +813,6 @@ bmc_ast2600_cpu: temperature-sensor@35 { ...@@ -813,7 +813,6 @@ bmc_ast2600_cpu: temperature-sensor@35 {
}; };
&adc0 { &adc0 {
ref_voltage = <2500>;
status = "okay"; status = "okay";
pinctrl-names = "default"; pinctrl-names = "default";
......
...@@ -83,6 +83,9 @@ &mac0 { ...@@ -83,6 +83,9 @@ &mac0 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_rgmii1_default &pinctrl_mdio1_default>; pinctrl-0 = <&pinctrl_rgmii1_default &pinctrl_mdio1_default>;
nvmem-cells = <&eth0_macaddress>;
nvmem-cell-names = "mac-address";
}; };
&i2c1 { &i2c1 {
...@@ -103,6 +106,12 @@ eeprom@57 { ...@@ -103,6 +106,12 @@ eeprom@57 {
compatible = "st,24c128", "atmel,24c128"; compatible = "st,24c128", "atmel,24c128";
reg = <0x57>; reg = <0x57>;
pagesize = <16>; pagesize = <16>;
#address-cells = <1>;
#size-cells = <1>;
eth0_macaddress: macaddress@3f80 {
reg = <0x3f80 6>;
};
}; };
}; };
......
// 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 = <&eth0_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 = "isil,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 */
};
...@@ -71,6 +71,9 @@ &mac0 { ...@@ -71,6 +71,9 @@ &mac0 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_rgmii1_default &pinctrl_mdio1_default>; pinctrl-0 = <&pinctrl_rgmii1_default &pinctrl_mdio1_default>;
nvmem-cells = <&eth0_macaddress>;
nvmem-cell-names = "mac-address";
}; };
&i2c0 { &i2c0 {
...@@ -98,14 +101,14 @@ w83773g@4c { ...@@ -98,14 +101,14 @@ w83773g@4c {
/* IPB PMIC */ /* IPB PMIC */
lm25066@40 { lm25066@40 {
compatible = "lm25066"; compatible = "ti,lm25066";
reg = <0x40>; reg = <0x40>;
shunt-resistor-micro-ohms = <1000>; shunt-resistor-micro-ohms = <1000>;
}; };
/* 12VSB PMIC */ /* 12VSB PMIC */
lm25066@41 { lm25066@41 {
compatible = "lm25066"; compatible = "ti,lm25066";
reg = <0x41>; reg = <0x41>;
shunt-resistor-micro-ohms = <10000>; shunt-resistor-micro-ohms = <10000>;
}; };
...@@ -131,6 +134,12 @@ eeprom@50 { ...@@ -131,6 +134,12 @@ eeprom@50 {
compatible = "st,24c128", "atmel,24c128"; compatible = "st,24c128", "atmel,24c128";
reg = <0x50>; reg = <0x50>;
pagesize = <16>; pagesize = <16>;
#address-cells = <1>;
#size-cells = <1>;
eth0_macaddress: macaddress@3f80 {
reg = <0x3f80 6>;
};
}; };
}; };
......
// 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 = <&eth0_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 */
};
// 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 =
/* A */ "input-locatorled-n", "", "", "", "", "", "", "",
/* B */ "input-bios-post-cmplt-n", "", "", "", "", "", "", "",
/* C */ "", "", "", "", "", "", "control-locatorbutton-n", "",
/* D */ "button-power-n", "control-power-n", "button-reset-n",
"control-reset-n", "", "", "", "",
/* E */ "", "", "", "", "", "", "", "",
/* F */ "", "", "", "", "", "", "", "",
/* G */ "output-hwm-vbat-enable", "input-id0-n", "input-id1-n",
"input-id2-n", "input-aux-smb-alert-n", "",
"input-psu-smb-alert-n", "",
/* H */ "", "", "", "", "input-mfg-mode-n", "",
"led-heartbeat-n", "input-case-open-n",
/* I */ "", "", "", "", "", "", "", "",
/* J */ "output-bmc-ready-n", "", "", "", "", "", "", "",
/* K */ "", "", "", "", "", "", "", "",
/* L */ "", "", "", "", "", "", "", "",
/* M */ "", "", "", "", "", "", "", "",
/* N */ "", "", "", "", "", "", "", "",
/* O */ "", "", "", "", "", "", "", "",
/* P */ "", "", "", "", "", "", "", "",
/* Q */ "", "", "", "", "input-bmc-smb-present-n", "", "",
"input-pcie-wake-n",
/* R */ "", "", "", "", "", "", "", "",
/* S */ "input-bmc-pchhot-n", "", "", "", "", "", "", "",
/* T */ "", "", "", "", "", "", "", "",
/* U */ "", "", "", "", "", "", "", "",
/* V */ "", "", "", "", "", "", "", "",
/* W */ "", "", "", "", "", "", "", "",
/* X */ "", "", "", "", "", "", "", "",
/* Y */ "input-sleep-s3-n", "input-sleep-s5-n", "", "", "", "",
"", "",
/* Z */ "", "", "led-fault-n", "output-bmc-throttle-n", "", "",
"", "",
/* AA */ "input-cpu1-thermtrip-latch-n", "",
"input-cpu1-prochot-n", "", "", "", "", "",
/* AB */ "", "input-power-good", "", "", "", "", "", "",
/* AC */ "", "", "", "", "", "", "", "";
};
&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 = <&eth0_macaddress>;
nvmem-cell-names = "mac-address";
};
&mac1 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_rmii2_default &pinctrl_mdio2_default>;
use-ncsi;
nvmem-cells = <&eth1_macaddress>;
nvmem-cell-names = "mac-address";
};
&i2c0 {
/* SMBus on auxiliary panel header (AUX_PANEL1) */
status = "okay";
};
&i2c1 {
/* Hardware monitoring SMBus */
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 {
/* SMBus on BMC connector (BMC_SMB_1) */
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>;
};
};
};
&i2c8 {
/* SMBus on intelligent platform management bus header (IPMB_1) */
status = "okay";
};
&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 /* 3VSB */
&pinctrl_adc1_default /* 5VSB */
&pinctrl_adc2_default /* VCPU */
&pinctrl_adc3_default /* VSOC */
&pinctrl_adc4_default /* VCCM */
&pinctrl_adc5_default /* APU-VDDP */
&pinctrl_adc6_default /* PM-VDD-CLDO */
&pinctrl_adc7_default /* PM-VDDCR-S5 */
&pinctrl_adc8_default /* PM-VDDCR */
&pinctrl_adc9_default /* VBAT */
&pinctrl_adc10_default /* 3V */
&pinctrl_adc11_default /* 5V */
&pinctrl_adc12_default>; /* 12V */
};
This diff is collapsed.
...@@ -14,11 +14,11 @@ efuse##n { \ ...@@ -14,11 +14,11 @@ efuse##n { \
#define EFUSE(hexaddr, num) \ #define EFUSE(hexaddr, num) \
efuse@##hexaddr { \ efuse@##hexaddr { \
compatible = "lm25066"; \ compatible = "ti,lm25066"; \
reg = <0x##hexaddr>; \ reg = <0x##hexaddr>; \
shunt-resistor-micro-ohms = <675>; \ shunt-resistor-micro-ohms = <675>; \
regulators { \ regulators { \
efuse##num: vout0 { \ efuse##num: vout { \
regulator-name = __stringify(efuse##num##-reg); \ regulator-name = __stringify(efuse##num##-reg); \
}; \ }; \
}; \ }; \
......
// SPDX-License-Identifier: GPL-2.0+
// Copyright (c) 2020 Facebook Inc.
/dts-v1/;
#include <dt-bindings/leds/common.h>
#include "ast2600-facebook-netbmc-common.dtsi"
/ {
model = "Facebook Cloudripper BMC";
compatible = "facebook,cloudripper-bmc", "aspeed,ast2600";
aliases {
/*
* PCA9548 (1-0070) provides 8 channels connecting to
* SMB (Switch Main Board).
*/
i2c16 = &imux16;
i2c17 = &imux17;
i2c18 = &imux18;
i2c19 = &imux19;
i2c20 = &imux20;
i2c21 = &imux21;
i2c22 = &imux22;
i2c23 = &imux23;
/*
* PCA9548 (2-0070) provides 8 channels connecting to
* SCM (System Controller Module).
*/
i2c24 = &imux24;
i2c25 = &imux25;
i2c26 = &imux26;
i2c27 = &imux27;
i2c28 = &imux28;
i2c29 = &imux29;
i2c30 = &imux30;
i2c31 = &imux31;
/*
* PCA9548 (3-0070) provides 8 channels connecting to
* SMB (Switch Main Board).
*/
i2c32 = &imux32;
i2c33 = &imux33;
i2c34 = &imux34;
i2c35 = &imux35;
i2c36 = &imux36;
i2c37 = &imux37;
i2c38 = &imux38;
i2c39 = &imux39;
/*
* PCA9548 (8-0070) provides 8 channels connecting to
* PDB (Power Delivery Board).
*/
i2c40 = &imux40;
i2c41 = &imux41;
i2c42 = &imux42;
i2c43 = &imux43;
i2c44 = &imux44;
i2c45 = &imux45;
i2c46 = &imux46;
i2c47 = &imux47;
/*
* PCA9548 (15-0076) provides 8 channels connecting to
* FCM (Fan Controller Module).
*/
i2c48 = &imux48;
i2c49 = &imux49;
i2c50 = &imux50;
i2c51 = &imux51;
i2c52 = &imux52;
i2c53 = &imux53;
i2c54 = &imux54;
i2c55 = &imux55;
};
spi_gpio: spi {
num-chipselects = <2>;
cs-gpios = <&gpio0 ASPEED_GPIO(X, 0) GPIO_ACTIVE_LOW>,
<&gpio0 ASPEED_GPIO(X, 1) GPIO_ACTIVE_HIGH>;
eeprom@1 {
compatible = "atmel,at93c46d";
spi-max-frequency = <250000>;
data-size = <16>;
spi-cs-high;
reg = <1>;
};
};
};
&ehci1 {
status = "okay";
};
/*
* "mdio1" is connected to the MDC/MDIO interface of the on-board
* management switch (whose ports are connected to BMC, Host and front
* panel ethernet port).
*/
&mdio1 {
status = "okay";
};
&mdio3 {
status = "okay";
ethphy1: ethernet-phy@13 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <0x0d>;
};
};
&mac3 {
status = "okay";
phy-mode = "rgmii";
phy-handle = <&ethphy1>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_rgmii4_default>;
};
&i2c0 {
multi-master;
bus-frequency = <1000000>;
};
&i2c1 {
/*
* PCA9548 (1-0070) provides 8 channels connecting to SMB (Switch
* Main Board).
*/
i2c-mux@70 {
compatible = "nxp,pca9548";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x70>;
i2c-mux-idle-disconnect;
imux16: i2c@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
};
imux17: i2c@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
};
imux18: i2c@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>;
};
imux19: i2c@3 {
#address-cells = <1>;
#size-cells = <0>;
reg = <3>;
};
imux20: i2c@4 {
#address-cells = <1>;
#size-cells = <0>;
reg = <4>;
};
imux21: i2c@5 {
#address-cells = <1>;
#size-cells = <0>;
reg = <5>;
};
imux22: i2c@6 {
#address-cells = <1>;
#size-cells = <0>;
reg = <6>;
};
imux23: i2c@7 {
#address-cells = <1>;
#size-cells = <0>;
reg = <7>;
};
};
};
&i2c2 {
/*
* PCA9548 (2-0070) provides 8 channels connecting to SCM (System
* Controller Module).
*/
i2c-mux@70 {
compatible = "nxp,pca9548";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x70>;
i2c-mux-idle-disconnect;
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>;
};
imux28: i2c@4 {
#address-cells = <1>;
#size-cells = <0>;
reg = <4>;
};
imux29: i2c@5 {
#address-cells = <1>;
#size-cells = <0>;
reg = <5>;
};
imux30: i2c@6 {
#address-cells = <1>;
#size-cells = <0>;
reg = <6>;
};
imux31: i2c@7 {
#address-cells = <1>;
#size-cells = <0>;
reg = <7>;
};
};
};
&i2c3 {
/*
* PCA9548 (3-0070) provides 8 channels connecting to SMB (Switch
* Main Board).
*/
i2c-mux@70 {
compatible = "nxp,pca9548";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x70>;
i2c-mux-idle-disconnect;
imux32: i2c@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
};
imux33: i2c@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
};
imux34: i2c@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>;
};
imux35: i2c@3 {
#address-cells = <1>;
#size-cells = <0>;
reg = <3>;
};
imux36: i2c@4 {
#address-cells = <1>;
#size-cells = <0>;
reg = <4>;
};
imux37: i2c@5 {
#address-cells = <1>;
#size-cells = <0>;
reg = <5>;
};
imux38: i2c@6 {
#address-cells = <1>;
#size-cells = <0>;
reg = <6>;
};
imux39: i2c@7 {
#address-cells = <1>;
#size-cells = <0>;
reg = <7>;
};
};
};
&i2c6 {
lp5012@14 {
compatible = "ti,lp5012";
reg = <0x14>;
#address-cells = <1>;
#size-cells = <0>;
multi-led@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
color = <LED_COLOR_ID_MULTI>;
function = LED_FUNCTION_ACTIVITY;
label = "sys";
led@0 {
reg = <0>;
color = <LED_COLOR_ID_RED>;
};
led@1 {
reg = <1>;
color = <LED_COLOR_ID_BLUE>;
};
led@2 {
reg = <2>;
color = <LED_COLOR_ID_GREEN>;
};
};
multi-led@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
color = <LED_COLOR_ID_MULTI>;
function = LED_FUNCTION_ACTIVITY;
label = "fan";
led@0 {
reg = <0>;
color = <LED_COLOR_ID_RED>;
};
led@1 {
reg = <1>;
color = <LED_COLOR_ID_BLUE>;
};
led@2 {
reg = <2>;
color = <LED_COLOR_ID_GREEN>;
};
};
multi-led@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>;
color = <LED_COLOR_ID_MULTI>;
function = LED_FUNCTION_ACTIVITY;
label = "psu";
led@0 {
reg = <0>;
color = <LED_COLOR_ID_RED>;
};
led@1 {
reg = <1>;
color = <LED_COLOR_ID_BLUE>;
};
led@2 {
reg = <2>;
color = <LED_COLOR_ID_GREEN>;
};
};
multi-led@3 {
#address-cells = <1>;
#size-cells = <0>;
reg = <3>;
color = <LED_COLOR_ID_MULTI>;
function = LED_FUNCTION_ACTIVITY;
label = "scm";
led@0 {
reg = <0>;
color = <LED_COLOR_ID_RED>;
};
led@1 {
reg = <1>;
color = <LED_COLOR_ID_BLUE>;
};
led@2 {
reg = <2>;
color = <LED_COLOR_ID_GREEN>;
};
};
};
};
&i2c8 {
/*
* PCA9548 (8-0070) provides 8 channels connecting to PDB (Power
* Delivery Board).
*/
i2c-mux@70 {
compatible = "nxp,pca9548";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x70>;
i2c-mux-idle-disconnect;
imux40: i2c@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
};
imux41: i2c@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
};
imux42: i2c@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>;
};
imux43: i2c@3 {
#address-cells = <1>;
#size-cells = <0>;
reg = <3>;
};
imux44: i2c@4 {
#address-cells = <1>;
#size-cells = <0>;
reg = <4>;
};
imux45: i2c@5 {
#address-cells = <1>;
#size-cells = <0>;
reg = <5>;
};
imux46: i2c@6 {
#address-cells = <1>;
#size-cells = <0>;
reg = <6>;
};
imux47: i2c@7 {
#address-cells = <1>;
#size-cells = <0>;
reg = <7>;
};
};
};
&i2c15 {
/*
* PCA9548 (15-0076) provides 8 channels connecting to FCM (Fan
* Controller Module).
*/
i2c-mux@76 {
compatible = "nxp,pca9548";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x76>;
i2c-mux-idle-disconnect;
imux48: i2c@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
};
imux49: i2c@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
};
imux50: i2c@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>;
};
imux51: i2c@3 {
#address-cells = <1>;
#size-cells = <0>;
reg = <3>;
};
imux52: i2c@4 {
#address-cells = <1>;
#size-cells = <0>;
reg = <4>;
};
imux53: i2c@5 {
#address-cells = <1>;
#size-cells = <0>;
reg = <5>;
};
imux54: i2c@6 {
#address-cells = <1>;
#size-cells = <0>;
reg = <6>;
};
imux55: i2c@7 {
#address-cells = <1>;
#size-cells = <0>;
reg = <7>;
};
};
};
...@@ -66,7 +66,7 @@ &mac3 { ...@@ -66,7 +66,7 @@ &mac3 {
pinctrl-0 = <&pinctrl_rmii4_default>; pinctrl-0 = <&pinctrl_rmii4_default>;
no-hw-checksum; no-hw-checksum;
use-ncsi; use-ncsi;
mlx,multi-host; mellanox,multi-host;
ncsi-ctrl,start-redo-probe; ncsi-ctrl,start-redo-probe;
ncsi-ctrl,no-channel-monitor; ncsi-ctrl,no-channel-monitor;
ncsi-package = <1>; ncsi-package = <1>;
...@@ -211,7 +211,6 @@ &i2c13 { ...@@ -211,7 +211,6 @@ &i2c13 {
}; };
&adc0 { &adc0 {
ref_voltage = <2500>;
status = "okay"; status = "okay";
pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
&pinctrl_adc2_default &pinctrl_adc3_default &pinctrl_adc2_default &pinctrl_adc3_default
...@@ -220,7 +219,6 @@ &pinctrl_adc4_default &pinctrl_adc5_default ...@@ -220,7 +219,6 @@ &pinctrl_adc4_default &pinctrl_adc5_default
}; };
&adc1 { &adc1 {
ref_voltage = <2500>;
status = "okay"; status = "okay";
pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc10_default pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc10_default
&pinctrl_adc11_default &pinctrl_adc12_default &pinctrl_adc11_default &pinctrl_adc12_default
......
This diff is collapsed.
// 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";
};
This diff is collapsed.
...@@ -88,7 +88,7 @@ &mac2 { ...@@ -88,7 +88,7 @@ &mac2 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_rmii3_default>; pinctrl-0 = <&pinctrl_rmii3_default>;
use-ncsi; use-ncsi;
mlx,multi-host; mellanox,multi-host;
}; };
&mac3 { &mac3 {
...@@ -96,7 +96,7 @@ &mac3 { ...@@ -96,7 +96,7 @@ &mac3 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_rmii4_default>; pinctrl-0 = <&pinctrl_rmii4_default>;
use-ncsi; use-ncsi;
mlx,multi-host; mellanox,multi-host;
}; };
&fmc { &fmc {
...@@ -369,7 +369,14 @@ rtc@6f { ...@@ -369,7 +369,14 @@ rtc@6f {
&i2c13 { &i2c13 {
status = "okay"; status = "okay";
bus-frequency = <400000>; bus-frequency = <100000>;
multi-master;
ipmb@10 {
compatible = "ipmb-dev";
reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
i2c-protocol;
};
}; };
&i2c14 { &i2c14 {
...@@ -596,7 +603,6 @@ i2c-mux@72 { ...@@ -596,7 +603,6 @@ i2c-mux@72 {
}; };
&adc0 { &adc0 {
ref_voltage = <2500>;
status = "okay"; status = "okay";
pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
&pinctrl_adc2_default &pinctrl_adc3_default &pinctrl_adc2_default &pinctrl_adc3_default
...@@ -605,7 +611,6 @@ &pinctrl_adc4_default &pinctrl_adc5_default ...@@ -605,7 +611,6 @@ &pinctrl_adc4_default &pinctrl_adc5_default
}; };
&adc1 { &adc1 {
ref_voltage = <2500>;
status = "okay"; status = "okay";
pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default>; pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default>;
}; };
......
...@@ -95,7 +95,7 @@ &mac0 { ...@@ -95,7 +95,7 @@ &mac0 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_rmii1_default>; pinctrl-0 = <&pinctrl_rmii1_default>;
use-ncsi; use-ncsi;
mlx,multi-host; mellanox,multi-host;
}; };
&adc { &adc {
......
...@@ -488,7 +488,7 @@ pca9551@60 { ...@@ -488,7 +488,7 @@ pca9551@60 {
#gpio-cells = <2>; #gpio-cells = <2>;
led@0 { led@0 {
label = "nvme0"; label = "nvme3";
reg = <0>; reg = <0>;
retain-state-shutdown; retain-state-shutdown;
default-state = "keep"; default-state = "keep";
...@@ -496,7 +496,7 @@ led@0 { ...@@ -496,7 +496,7 @@ led@0 {
}; };
led@1 { led@1 {
label = "nvme1"; label = "nvme2";
reg = <1>; reg = <1>;
retain-state-shutdown; retain-state-shutdown;
default-state = "keep"; default-state = "keep";
...@@ -504,7 +504,7 @@ led@1 { ...@@ -504,7 +504,7 @@ led@1 {
}; };
led@2 { led@2 {
label = "nvme2"; label = "nvme1";
reg = <2>; reg = <2>;
retain-state-shutdown; retain-state-shutdown;
default-state = "keep"; default-state = "keep";
...@@ -512,7 +512,7 @@ led@2 { ...@@ -512,7 +512,7 @@ led@2 {
}; };
led@3 { led@3 {
label = "nvme3"; label = "nvme0";
reg = <3>; reg = <3>;
retain-state-shutdown; retain-state-shutdown;
default-state = "keep"; default-state = "keep";
......
This diff is collapsed.
...@@ -867,22 +867,26 @@ i2c: bus@1e78a000 { ...@@ -867,22 +867,26 @@ i2c: bus@1e78a000 {
}; };
fsim0: fsi@1e79b000 { fsim0: fsi@1e79b000 {
#interrupt-cells = <1>;
compatible = "aspeed,ast2600-fsi-master", "fsi-master"; compatible = "aspeed,ast2600-fsi-master", "fsi-master";
reg = <0x1e79b000 0x94>; reg = <0x1e79b000 0x94>;
interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_fsi1_default>; pinctrl-0 = <&pinctrl_fsi1_default>;
clocks = <&syscon ASPEED_CLK_GATE_FSICLK>; clocks = <&syscon ASPEED_CLK_GATE_FSICLK>;
interrupt-controller;
status = "disabled"; status = "disabled";
}; };
fsim1: fsi@1e79b100 { fsim1: fsi@1e79b100 {
#interrupt-cells = <1>;
compatible = "aspeed,ast2600-fsi-master", "fsi-master"; compatible = "aspeed,ast2600-fsi-master", "fsi-master";
reg = <0x1e79b100 0x94>; reg = <0x1e79b100 0x94>;
interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_fsi2_default>; pinctrl-0 = <&pinctrl_fsi2_default>;
clocks = <&syscon ASPEED_CLK_GATE_FSICLK>; clocks = <&syscon ASPEED_CLK_GATE_FSICLK>;
interrupt-controller;
status = "disabled"; status = "disabled";
}; };
......
...@@ -165,10 +165,12 @@ occ-hwmon { ...@@ -165,10 +165,12 @@ occ-hwmon {
}; };
fsi_hub0: hub@3400 { fsi_hub0: hub@3400 {
#interrupt-cells = <1>;
compatible = "fsi-master-hub"; compatible = "fsi-master-hub";
reg = <0x3400 0x400>; reg = <0x3400 0x400>;
#address-cells = <2>; #address-cells = <2>;
#size-cells = <0>; #size-cells = <0>;
interrupt-controller;
}; };
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment