ASPEED device tree updates for 5.18

- New machines
 
   * Quanta S6Q AST2600 BMC
   * ASRock ROMED8HM3 AST2500 BMC, a half-width, single-socket Epyc
     server board
 
  - Facebook's Bletchley has a large update for production hardware
 
  - Ampere's Mt Jade has a number of updates
 
  - Small clenaups and additions for Everest, Rainier and Tacoma, and the
    flash layout
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE+nHMAt9PCBDH63wBa3ZZB4FHcJ4FAmIcYboACgkQa3ZZB4FH
 cJ7d6hAAheMqTkP70chFz3wTE49vLG9ZDNEL7skKC+lPlfhDc5tH/ScfhmUvpSQ0
 JEHbPLKBaVnSh0L6CL/BeyQv+qDWdIlFRfyk78n1126vdZANHKaOZ9+I47nbVQV9
 ulzK4wzWec5wUb/3kmFHYO+OOmYF+mk6jH28R43BM6GlgVsnamyvxUFGeub6WhZk
 qFvGtpwA9tGleO3oLcE4ly4AavPIiWRsbnhX3Ni+S0qRKBXXJjLmx7kDSdwII6DA
 bqwzUUBENsUYD3qw5UJ8mx5zj1jKVa61je1jGi8HFPktwCU2t4Ly4zKjlYuOsvKU
 xG22y/PqgxNStWhJeDY4xrSNQF9ilRpwKH16Up+je+LYEC0Q3SmpaAvos2a56ldN
 YNUs7S4iOqcx2BYV+4Xjoq9JlQXkoSLOiip5dmiFw1CwZ19e0uE/bUE43F/jnFGW
 AQV3nJV/oOrDYYjjqq/sx1YXR+auXuSKzPbeyu0bqFw9u0bzIUuJaQPYDLhXuUyQ
 gtb884mphyWfpTEKvQY7PNli+J6tSZXDLpfUWHsf4/G2QLz6/ga7YO+5qPjQy7vk
 LYWIzN7kFlfbqLy+UiOueSjQYWo5pW/ZBzVunTrE2ziv+enCG/RShM+YzdepwjEj
 eqZd0OF22QAlT5rC1BsieJzu8aYmnWiMO9o2Ji1fNrXB1GYHk78=
 =4JxD
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmIc2gsACgkQmmx57+YA
 GNlI6A//XO/O3luVRepwCuEI7drw7dv/uUclHM3xj6HWi1QL1c6W6lqDpY5yu4IS
 BA47ApC3JjZbF4iSsPATCcCAZf1iOYbkYfut9Te/sguNgeUitWhrrg7aJgASChJs
 SGrX0rZAyPMJT3+9uTCwYVThiFJMi8MxxLW1sPHRT9nN2eVDksqhNUVxaX5Xz1S6
 jqnuom4RANPUfQGMducmrDKaDByJg8QEK5NTJ8ckMRbWFQ50EO66YAwSxwb92C3g
 u3rMOKdvdT4e+o1oMf0N1O57b8/dL0lyOUcfjsj7ZtdU+rUMKNz2gBCZx4b1/3Tr
 rnFbUM+9S52kR3qqFfMBlMDKEtTh9IIOFexJ0eZlQDQ9IUpeM0ncvt6DvRnkogEL
 rL9SK4G0GtnRRiC4Me8oOU36HxS/WqsWZ7zdcgL3vDa8PcJoJTlsuXlT0yQS5XCn
 o1a3gjhYO9GdNjPGW8wSqe2gNntly10sVcbLj0Hamb+Q0SDX2Q9X3vxgrXl3X1OU
 PdtlZtPabovZWNNlaQ42Mcl/6p87hj3d/sn9qsH2GcmNNPSbBMMHPvoLR2uOpntv
 0tWNykTHZlKQyPGxmr3OwtCJ45JMZ6vM6YxbJfr7Tg82Id0Enn4/YKC+WFRSK5RU
 QZ/Y8NZbgpK+ObJxZe8ztZuzGxqYvG7UgQdTzE6AeBhYoNGxT3A=
 =OVwh
 -----END PGP SIGNATURE-----

Merge tag 'aspeed-5.18-devicetree-2' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc into arm/dt

ASPEED device tree updates for 5.18

 - New machines

  * Quanta S6Q AST2600 BMC
  * ASRock ROMED8HM3 AST2500 BMC, a half-width, single-socket Epyc
    server board

 - Facebook's Bletchley has a large update for production hardware

 - Ampere's Mt Jade has a number of updates

 - Small clenaups and additions for Everest, Rainier and Tacoma, and the
   flash layout

* tag 'aspeed-5.18-devicetree-2' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc: (27 commits)
  ARM: dts: aspeed: p10bmc: Enable ftrace in ramoops buffer
  ARM: dts: aspeed: everest: Add RTC battery gpio name
  ARM: dts: aspeed: rainer: Add RTC battery gpio name
  ARM: dts: aspeed: Add ASRock ROMED8HM3 BMC
  ARM: dts: aspeed: rainier: Remove SPI NOR controllers
  ARM: dts: aspeed: mtjade: Move all adc sensors into iio-hwmon node
  ARM: dts: aspeed: mtjade: Rename GPIO hog nodes to match schema.
  ARM: dts: aspeed: mtjade: Update host0-ready pin
  ARM: dts: aspeed: mtjade: Update rtc-battery-voltage-read-enable pin
  ARM: dts: aspeed: mtjade: Enable secondary flash
  ARM: dts: aspeed: tacoma: Remove CFAM reset GPIO
  ARM: dts: aspeed: rainier: Label reset-cause-pinhole GPIO
  ARM: dts: aspeed: everest: Label reset-cause-pinhole GPIO
  ARM: dts: aspeed: tacoma: Clean up KCS nodes
  ARM: dts: aspeed: Add device tree for Quanta S6Q BMC
  ARM: dts: aspeed: bletchley: Cleanup redundant nodes
  ARM: dts: aspeed: bletchley: Enable mdio3 bus
  ARM: dts: aspeed: bletchley: Add INA230 sensor on each sled
  ARM: dts: aspeed: bletchley: Add shunt-resistor for ADM1278
  ARM: dts: aspeed: bletchley: Add interrupt support for sled io expander
  ...

Link: https://lore.kernel.org/r/CACPK8XdUXy5cnEDKmNirtByNMBGCjXwZpdKqJ0ytc0f34vzbBA@mail.gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann 2022-02-28 15:19:54 +01:00
commit 2d9f1dd1f2
10 changed files with 1133 additions and 186 deletions

View File

@ -1515,6 +1515,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
aspeed-bmc-arm-centriq2400-rep.dtb \
aspeed-bmc-arm-stardragon4800-rep2.dtb \
aspeed-bmc-asrock-e3c246d4i.dtb \
aspeed-bmc-asrock-romed8hm3.dtb \
aspeed-bmc-bytedance-g220a.dtb \
aspeed-bmc-facebook-bletchley.dtb \
aspeed-bmc-facebook-cloudripper.dtb \
@ -1552,6 +1553,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
aspeed-bmc-opp-zaius.dtb \
aspeed-bmc-portwell-neptune.dtb \
aspeed-bmc-quanta-q71l.dtb \
aspeed-bmc-quanta-s6q.dtb \
aspeed-bmc-supermicro-x11spi.dtb \
aspeed-bmc-inventec-transformers.dtb \
aspeed-bmc-tyan-s7106.dtb \

View File

@ -339,17 +339,8 @@
<&adc10mux 0>, <&adc10mux 1>,
<&adc11mux 0>, <&adc11mux 1>,
<&adc12mux 0>, <&adc12mux 1>,
<&adc13mux 0>, <&adc13mux 1>;
};
iio-hwmon-adc14 {
compatible = "iio-hwmon";
io-channels = <&adc 14>;
};
iio-hwmon-battery {
compatible = "iio-hwmon";
io-channels = <&adc 15>;
<&adc13mux 0>, <&adc13mux 1>,
<&adc 14>, <&adc 15>;
};
};
@ -362,6 +353,13 @@
/* spi-max-frequency = <50000000>; */
#include "openbmc-flash-layout-64.dtsi"
};
flash@1 {
status = "okay";
m25p,fast-read;
label = "alt-bmc";
#include "openbmc-flash-layout-64-alt.dtsi"
};
};
&spi1 {
@ -853,7 +851,7 @@
/*E0-E7*/ "","","","","","","","",
/*F0-F7*/ "","","BMC_SYS_PSON_L","S0_DDR_SAVE","PGOOD",
"S1_DDR_SAVE","","",
/*G0-G7*/ "S0_FW_BOOT_OK","SHD_REQ_L","","S0_OVERTEMP_L","","",
/*G0-G7*/ "host0-ready","SHD_REQ_L","","S0_OVERTEMP_L","","",
"","",
/*H0-H7*/ "","","","","PSU1_VIN_GOOD","PSU2_VIN_GOOD","","",
/*I0-I7*/ "PSU1_PRESENT","PSU2_PRESENT","S1_BMC_SPECIAL_BOOT",
@ -869,7 +867,7 @@
/*Q0-Q7*/ "","","","","","UID_BUTTON","","",
/*R0-R7*/ "","","BMC_EXT_HIGHTEMP_L","OCP_AUX_PWREN",
"OCP_MAIN_PWREN","RESET_BUTTON","","",
/*S0-S7*/ "","","","","RTC_BAT_SEN_EN","","","",
/*S0-S7*/ "","","","","rtc-battery-voltage-read-enable","","","",
/*T0-T7*/ "","","","","","","","",
/*U0-U7*/ "","","","","","","","",
/*V0-V7*/ "","","","","","","","",
@ -884,7 +882,7 @@
/*AC0-AC7*/ "SYS_PWR_GD","","","","","BMC_READY","SLAVE_PRESENT_L",
"BMC_OCP_PG";
i2c4_o_en {
i2c4-o-en-hog {
gpio-hog;
gpios = <ASPEED_GPIO(Y, 2) GPIO_ACTIVE_HIGH>;
output-high;

View File

@ -0,0 +1,259 @@
// SPDX-License-Identifier: GPL-2.0+
/dts-v1/;
#include "aspeed-g5.dtsi"
#include <dt-bindings/gpio/aspeed-gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
/{
model = "ASRock ROMED8HM3 BMC v1.00";
compatible = "asrock,romed8hm3-bmc", "aspeed,ast2500";
aliases {
serial4 = &uart5;
};
chosen {
stdout-path = &uart5;
bootargs = "console=tty0 console=ttyS4,115200 earlycon";
};
memory@80000000 {
reg = <0x80000000 0x20000000>;
};
leds {
compatible = "gpio-leds";
heartbeat {
gpios = <&gpio ASPEED_GPIO(H, 6) GPIO_ACTIVE_LOW>;
linux,default-trigger = "timer";
};
system-fault {
gpios = <&gpio ASPEED_GPIO(Z, 2) GPIO_ACTIVE_LOW>;
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"
};
};
&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>;
};
&i2c0 {
status = "okay";
/* inlet temp sensor */
w83773g@4c {
compatible = "nuvoton,w83773g";
reg = <0x4c>;
};
};
&i2c1 {
status = "okay";
};
&i2c2 {
status = "okay";
/* IPB temp sensor */
w83773g@4c {
compatible = "nuvoton,w83773g";
reg = <0x4c>;
};
/* IPB PMIC */
lm25066@40 {
compatible = "lm25066";
reg = <0x40>;
};
/* 12VSB PMIC */
lm25066@41 {
compatible = "lm25066";
reg = <0x41>;
};
};
&i2c4 {
status = "okay";
};
&i2c5 {
status = "okay";
};
&i2c6 {
status = "okay";
};
&i2c7 {
status = "okay";
/* Baseboard FRU eeprom */
eeprom@50 {
compatible = "st,24c128", "atmel,24c128";
reg = <0x50>;
pagesize = <16>;
};
};
&i2c8 {
status = "okay";
};
&i2c9 {
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>;
};
&pwm_tacho {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm3_default
&pinctrl_pwm4_default
&pinctrl_pwm5_default
&pinctrl_pwm6_default>;
fan@3 {
reg = <0x03>;
aspeed,fan-tach-ch = /bits/ 8 <0x03 0x0b>;
};
fan@4 {
reg = <0x04>;
aspeed,fan-tach-ch = /bits/ 8 <0x04 0x0c>;
};
fan@5 {
reg = <0x05>;
aspeed,fan-tach-ch = /bits/ 8 <0x05 0x0d>;
};
fan@6 {
reg = <0x06>;
aspeed,fan-tach-ch = /bits/ 8 <0x06 0x0e>;
};
};
&gpio {
status = "okay";
gpio-line-names =
/* A */ "LOCATORLED_STATUS_N", "BMC_MAC2_INTB", "NMI_BTN_N", "BMC_NMI",
"", "", "", "",
/* B */ "DDR_MEM_TEMP", "", "", "", "", "", "", "",
/* C */ "", "", "", "", "PCIE_HP_SEL_N", "PCIE_SATA_SEL_N", "LOCATORBTN", "",
/* D */ "BMC_PSIN", "BMC_PSOUT", "BMC_RESETCON", "RESETCON",
"", "", "", "PSU_FAN_FAIL_N",
/* E */ "", "", "", "", "", "", "", "",
/* F */ "NIC_PWR_GOOD", "PRSNTB0", "PRSNTB1", "PRSNTB2",
"PRSNTB3", "", "3VSB_PCIE1_PG", "12V_PCIE1_PG",
/* G */ "HWM_BAT_EN", "CHASSIS_ID0", "CHASSIS_ID1", "CHASSIS_ID2",
"BMC_ALERT1_N_R", "BMC_ALERT2_N_R", "BMC_ALERT3_N", "BMC_ALERT4_N",
/* H */ "X24_C1_PRSNT", "X24_C2_PRSNT", "X24_C3_PRSNT", "FM_MEM_THERM_EVENT_BMC_R_N",
"FACMODE", "BMC_RTCRST", "BMC_HB_LED_N", "BMC_CASEOPEN",
/* I */ "", "", "", "", "", "", "", "",
/* J */ "BMC_READY", "BMC_PCH_BIOS_CS_N", "", "P0_MA_DDR_QS_CS_N",
"", "", "", "",
/* K */ "", "", "", "", "", "", "", "",
/* L */ "", "", "", "", "", "", "", "",
/* M */ "", "", "MEZZ_PWRBRK_N", "OCP_HP_RST_EN",
"MAIN_PWR_EN_G", "BMC_MAIN_EN", "AUX_PWR_EN_G", "BMC_AUX_EN",
/* N */ "", "", "", "", "", "", "", "",
/* O */ "", "", "", "", "", "", "", "",
/* P */ "", "", "", "", "", "", "", "",
/* Q */ "", "", "", "",
"BMC_SMB_PRESENT_1_N", "BMC_SMB_PRESENT_2_N",
"BMC_SMB_PRESENT_3_N", "BMC_PCIE_WAKE_N",
/* R */ "", "", "THERMALTRIP_CLEAR_N", "", "", "", "", "",
/* S */ "", "", "", "", "", "", "", "",
/* T */ "", "", "", "", "", "", "", "",
/* U */ "", "", "", "", "", "", "", "",
/* V */ "", "", "", "", "", "", "", "",
/* W */ "", "", "", "", "", "", "", "",
/* X */ "", "", "", "", "", "", "", "",
/* Y */ "SLP_S3", "SLP_S4_S5", "NODE_ID_1", "NODE_ID_2", "", "", "", "",
/* Z */ "", "", "SYSTEM_FAULT_LED_N", "FAST_THROTTLE_N",
"", "", "", "",
/* AA */ "FM_CPU0_IBMC_THERMTRIP_N", "", "PROCHOT_L_G", "",
"", "", "", "",
/* AB */ "BMC_FORCE_SELFREFRESH", "PWRGD_OUT", "", "IRQ_BMC_PCH_SMI_LPC_N",
"", "", "", "",
/* AC */ "", "", "", "", "", "", "", "";
};
&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>;
};

View File

@ -5,6 +5,8 @@
#include "aspeed-g6.dtsi"
#include <dt-bindings/gpio/aspeed-gpio.h>
#include <dt-bindings/usb/pd.h>
#include <dt-bindings/leds/leds-pca955x.h>
#include <dt-bindings/interrupt-controller/irq.h>
/ {
model = "Facebook Bletchley BMC";
@ -31,7 +33,7 @@
<&adc1 4>, <&adc1 5>, <&adc1 6>, <&adc1 7>;
};
spi_gpio: spi-gpio {
spi1_gpio: spi1-gpio {
compatible = "spi-gpio";
#address-cells = <1>;
#size-cells = <0>;
@ -49,119 +51,165 @@
};
};
spi2_gpio: spi2-gpio {
compatible = "spi-gpio";
#address-cells = <1>;
#size-cells = <0>;
gpio-sck = <&gpio0 ASPEED_GPIO(X, 3) GPIO_ACTIVE_HIGH>;
gpio-mosi = <&gpio0 ASPEED_GPIO(X, 4) GPIO_ACTIVE_HIGH>;
gpio-miso = <&gpio0 ASPEED_GPIO(X, 5) GPIO_ACTIVE_HIGH>;
num-chipselects = <1>;
cs-gpios = <&gpio0 ASPEED_GPIO(X, 0) GPIO_ACTIVE_LOW>;
flash@0 {
reg = <0>;
compatible = "jedec,spi-nor";
m25p,fast-read;
label = "pnor";
spi-max-frequency = <100000000>;
};
};
switchphy: ethernet-phy@0 {
// Fixed link
};
leds {
front_gpio_leds {
compatible = "gpio-leds";
sys_log_id {
retain-state-shutdown;
default-state = "keep";
default-state = "off";
gpios = <&front_leds 0 GPIO_ACTIVE_HIGH>;
};
};
fan_gpio_leds {
compatible = "gpio-leds";
fan0_blue {
retain-state-shutdown;
default-state = "on";
gpios = <&fan_ioexp 8 GPIO_ACTIVE_HIGH>;
gpios = <&fan_leds 8 GPIO_ACTIVE_HIGH>;
};
fan1_blue {
retain-state-shutdown;
default-state = "on";
gpios = <&fan_ioexp 9 GPIO_ACTIVE_HIGH>;
gpios = <&fan_leds 9 GPIO_ACTIVE_HIGH>;
};
fan2_blue {
retain-state-shutdown;
default-state = "on";
gpios = <&fan_ioexp 10 GPIO_ACTIVE_HIGH>;
gpios = <&fan_leds 10 GPIO_ACTIVE_HIGH>;
};
fan3_blue {
retain-state-shutdown;
default-state = "on";
gpios = <&fan_ioexp 11 GPIO_ACTIVE_HIGH>;
gpios = <&fan_leds 11 GPIO_ACTIVE_HIGH>;
};
fan0_amber {
retain-state-shutdown;
default-state = "off";
gpios = <&fan_ioexp 12 GPIO_ACTIVE_HIGH>;
gpios = <&fan_leds 12 GPIO_ACTIVE_HIGH>;
};
fan1_amber {
retain-state-shutdown;
default-state = "off";
gpios = <&fan_ioexp 13 GPIO_ACTIVE_HIGH>;
gpios = <&fan_leds 13 GPIO_ACTIVE_HIGH>;
};
fan2_amber {
retain-state-shutdown;
default-state = "off";
gpios = <&fan_ioexp 14 GPIO_ACTIVE_HIGH>;
gpios = <&fan_leds 14 GPIO_ACTIVE_HIGH>;
};
fan3_amber {
retain-state-shutdown;
default-state = "off";
gpios = <&fan_ioexp 15 GPIO_ACTIVE_HIGH>;
};
sled0_amber {
retain-state-shutdown;
default-state = "off";
gpios = <&sled0_leds 0 GPIO_ACTIVE_LOW>;
};
sled0_blue {
retain-state-shutdown;
default-state = "off";
gpios = <&sled0_leds 1 GPIO_ACTIVE_LOW>;
gpios = <&fan_leds 15 GPIO_ACTIVE_HIGH>;
};
};
sled1_gpio_leds {
compatible = "gpio-leds";
sled1_amber {
retain-state-shutdown;
default-state = "off";
default-state = "keep";
gpios = <&sled1_leds 0 GPIO_ACTIVE_LOW>;
};
sled1_blue {
retain-state-shutdown;
default-state = "off";
default-state = "keep";
gpios = <&sled1_leds 1 GPIO_ACTIVE_LOW>;
};
};
sled2_gpio_leds {
compatible = "gpio-leds";
sled2_amber {
retain-state-shutdown;
default-state = "off";
default-state = "keep";
gpios = <&sled2_leds 0 GPIO_ACTIVE_LOW>;
};
sled2_blue {
retain-state-shutdown;
default-state = "off";
default-state = "keep";
gpios = <&sled2_leds 1 GPIO_ACTIVE_LOW>;
};
};
sled3_gpio_leds {
compatible = "gpio-leds";
sled3_amber {
retain-state-shutdown;
default-state = "off";
default-state = "keep";
gpios = <&sled3_leds 0 GPIO_ACTIVE_LOW>;
};
sled3_blue {
retain-state-shutdown;
default-state = "off";
default-state = "keep";
gpios = <&sled3_leds 1 GPIO_ACTIVE_LOW>;
};
};
sled4_gpio_leds {
compatible = "gpio-leds";
sled4_amber {
retain-state-shutdown;
default-state = "off";
default-state = "keep";
gpios = <&sled4_leds 0 GPIO_ACTIVE_LOW>;
};
sled4_blue {
retain-state-shutdown;
default-state = "off";
default-state = "keep";
gpios = <&sled4_leds 1 GPIO_ACTIVE_LOW>;
};
};
sled5_gpio_leds {
compatible = "gpio-leds";
sled5_amber {
retain-state-shutdown;
default-state = "off";
default-state = "keep";
gpios = <&sled5_leds 0 GPIO_ACTIVE_LOW>;
};
sled5_blue {
retain-state-shutdown;
default-state = "off";
default-state = "keep";
gpios = <&sled5_leds 1 GPIO_ACTIVE_LOW>;
};
};
sled6_gpio_leds {
compatible = "gpio-leds";
sled6_amber {
retain-state-shutdown;
default-state = "keep";
gpios = <&sled6_leds 0 GPIO_ACTIVE_LOW>;
};
sled6_blue {
retain-state-shutdown;
default-state = "keep";
gpios = <&sled6_leds 1 GPIO_ACTIVE_LOW>;
};
};
};
&mac2 {
@ -177,10 +225,6 @@
};
};
&rtc {
status = "okay";
};
&fmc {
status = "okay";
flash@0 {
@ -190,88 +234,22 @@
spi-max-frequency = <50000000>;
#include "openbmc-flash-layout-128.dtsi"
};
};
&spi2 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_spi2_default>;
flash@0 {
flash@1 {
status = "okay";
m25p,fast-read;
label = "pnor";
spi-max-frequency = <100000000>;
label = "flash1";
spi-max-frequency = <50000000>;
};
};
&i2c0 {
status = "okay";
/* TODO: Add ADC INA230 */
mp5023@40 {
compatible = "mps,mp5023";
reg = <0x40>;
ina230@45 {
compatible = "ti,ina230";
reg = <0x45>;
shunt-resistor = <2000>;
};
tmp421@4f {
compatible = "ti,tmp421";
reg = <0x4f>;
};
sled0_ioexp: pca9539@76 {
compatible = "nxp,pca9539";
reg = <0x76>;
#address-cells = <1>;
#size-cells = <0>;
gpio-controller;
#gpio-cells = <2>;
gpio-line-names =
"SLED0_MS_DETECT1","SLED0_VBUS_BMC_EN","SLED0_INA230_ALERT","SLED0_P12V_STBY_ALERT",
"SLED0_SSD_ALERT","SLED0_MS_DETECT0","SLED0_RST_CCG5","SLED0_FUSB302_INT",
"SLED0_MD_STBY_RESET","SLED0_MD_IOEXP_EN_FAULT","SLED0_MD_DIR","SLED0_MD_DECAY",
"SLED0_MD_MODE1","SLED0_MD_MODE2","SLED0_MD_MODE3","power-host0";
};
sled0_leds: pca9552@67 {
compatible = "nxp,pca9552";
reg = <0x67>;
#address-cells = <1>;
#size-cells = <0>;
gpio-controller;
#gpio-cells = <2>;
gpio-line-names =
"led-sled0-amber","led-sled0-blue","SLED0_RST_IOEXP","",
"","","","",
"","","","",
"","","","";
};
sled0_fusb302: typec-portc@22 {
compatible = "fcs,fusb302";
reg = <0x22>;
connector {
compatible = "usb-c-connector";
label = "USB-C";
power-role = "dual";
try-power-role = "sink";
data-role = "dual";
source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)
PDO_VAR(3000, 12000, 3000)
PDO_PPS_APDO(3000, 11000, 3000)>;
op-sink-microwatt = <10000000>;
};
};
};
&i2c1 {
status = "okay";
/* TODO: Add ADC INA230 */
mp5023@40 {
compatible = "mps,mp5023";
reg = <0x40>;
@ -290,6 +268,9 @@
gpio-controller;
#gpio-cells = <2>;
interrupt-parent = <&gpio0>;
interrupts = <ASPEED_GPIO(M, 0) IRQ_TYPE_LEVEL_LOW>;
gpio-line-names =
"SLED1_MS_DETECT1","SLED1_VBUS_BMC_EN","SLED1_INA230_ALERT","SLED1_P12V_STBY_ALERT",
"SLED1_SSD_ALERT","SLED1_MS_DETECT0","SLED1_RST_CCG5","SLED1_FUSB302_INT",
@ -306,7 +287,7 @@
#gpio-cells = <2>;
gpio-line-names =
"led-sled1-amber","led-sled1-blue","SLED1_RST_IOEXP","",
"led-sled1-amber","led-sled1-blue","SLED1_RST_IOEXP","SLED1_MD_REF_PWM",
"","","","",
"","","","",
"","","","";
@ -333,11 +314,11 @@
&i2c1 {
status = "okay";
};
&i2c2 {
status = "okay";
/* TODO: Add ADC INA230 */
ina230@45 {
compatible = "ti,ina230";
reg = <0x45>;
shunt-resistor = <2000>;
};
mp5023@40 {
compatible = "mps,mp5023";
@ -357,6 +338,9 @@
gpio-controller;
#gpio-cells = <2>;
interrupt-parent = <&gpio0>;
interrupts = <ASPEED_GPIO(M, 1) IRQ_TYPE_LEVEL_LOW>;
gpio-line-names =
"SLED2_MS_DETECT1","SLED2_VBUS_BMC_EN","SLED2_INA230_ALERT","SLED2_P12V_STBY_ALERT",
"SLED2_SSD_ALERT","SLED2_MS_DETECT0","SLED2_RST_CCG5","SLED2_FUSB302_INT",
@ -373,7 +357,7 @@
#gpio-cells = <2>;
gpio-line-names =
"led-sled2-amber","led-sled2-blue","SLED2_RST_IOEXP","",
"led-sled2-amber","led-sled2-blue","SLED2_RST_IOEXP","SLED2_MD_REF_PWM",
"","","","",
"","","","",
"","","","";
@ -398,9 +382,13 @@
};
};
&i2c3 {
&i2c2 {
status = "okay";
/* TODO: Add ADC INA230 */
ina230@45 {
compatible = "ti,ina230";
reg = <0x45>;
shunt-resistor = <2000>;
};
mp5023@40 {
compatible = "mps,mp5023";
@ -420,6 +408,9 @@
gpio-controller;
#gpio-cells = <2>;
interrupt-parent = <&gpio0>;
interrupts = <ASPEED_GPIO(M, 2) IRQ_TYPE_LEVEL_LOW>;
gpio-line-names =
"SLED3_MS_DETECT1","SLED3_VBUS_BMC_EN","SLED3_INA230_ALERT","SLED3_P12V_STBY_ALERT",
"SLED3_SSD_ALERT","SLED3_MS_DETECT0","SLED3_RST_CCG5","SLED3_FUSB302_INT",
@ -436,7 +427,7 @@
#gpio-cells = <2>;
gpio-line-names =
"led-sled3-amber","led-sled3-blue","SLED3_RST_IOEXP","",
"led-sled3-amber","led-sled3-blue","SLED3_RST_IOEXP","SLED3_MD_REF_PWM",
"","","","",
"","","","",
"","","","";
@ -461,9 +452,13 @@
};
};
&i2c4 {
&i2c3 {
status = "okay";
/* TODO: Add ADC INA230 */
ina230@45 {
compatible = "ti,ina230";
reg = <0x45>;
shunt-resistor = <2000>;
};
mp5023@40 {
compatible = "mps,mp5023";
@ -483,6 +478,9 @@
gpio-controller;
#gpio-cells = <2>;
interrupt-parent = <&gpio0>;
interrupts = <ASPEED_GPIO(M, 3) IRQ_TYPE_LEVEL_LOW>;
gpio-line-names =
"SLED4_MS_DETECT1","SLED4_VBUS_BMC_EN","SLED4_INA230_ALERT","SLED4_P12V_STBY_ALERT",
"SLED4_SSD_ALERT","SLED4_MS_DETECT0","SLED4_RST_CCG5","SLED4_FUSB302_INT",
@ -499,7 +497,7 @@
#gpio-cells = <2>;
gpio-line-names =
"led-sled4-amber","led-sled4-blue","SLED4_RST_IOEXP","",
"led-sled4-amber","led-sled4-blue","SLED4_RST_IOEXP","SLED4_MD_REF_PWM",
"","","","",
"","","","",
"","","","";
@ -524,9 +522,13 @@
};
};
&i2c5 {
&i2c4 {
status = "okay";
/* TODO: Add ADC INA230 */
ina230@45 {
compatible = "ti,ina230";
reg = <0x45>;
shunt-resistor = <2000>;
};
mp5023@40 {
compatible = "mps,mp5023";
@ -546,6 +548,9 @@
gpio-controller;
#gpio-cells = <2>;
interrupt-parent = <&gpio0>;
interrupts = <ASPEED_GPIO(M, 4) IRQ_TYPE_LEVEL_LOW>;
gpio-line-names =
"SLED5_MS_DETECT1","SLED5_VBUS_BMC_EN","SLED5_INA230_ALERT","SLED5_P12V_STBY_ALERT",
"SLED5_SSD_ALERT","SLED5_MS_DETECT0","SLED5_RST_CCG5","SLED5_FUSB302_INT",
@ -562,7 +567,7 @@
#gpio-cells = <2>;
gpio-line-names =
"led-sled5-amber","led-sled5-blue","SLED5_RST_IOEXP","",
"led-sled5-amber","led-sled5-blue","SLED5_RST_IOEXP","SLED5_MD_REF_PWM",
"","","","",
"","","","",
"","","","";
@ -587,6 +592,76 @@
};
};
&i2c5 {
status = "okay";
ina230@45 {
compatible = "ti,ina230";
reg = <0x45>;
shunt-resistor = <2000>;
};
mp5023@40 {
compatible = "mps,mp5023";
reg = <0x40>;
};
tmp421@4f {
compatible = "ti,tmp421";
reg = <0x4f>;
};
sled6_ioexp: pca9539@76 {
compatible = "nxp,pca9539";
reg = <0x76>;
#address-cells = <1>;
#size-cells = <0>;
gpio-controller;
#gpio-cells = <2>;
interrupt-parent = <&gpio0>;
interrupts = <ASPEED_GPIO(M, 5) IRQ_TYPE_LEVEL_LOW>;
gpio-line-names =
"SLED6_MS_DETECT1","SLED6_VBUS_BMC_EN","SLED6_INA230_ALERT","SLED6_P12V_STBY_ALERT",
"SLED6_SSD_ALERT","SLED6_MS_DETECT0","SLED6_RST_CCG5","SLED6_FUSB302_INT",
"SLED6_MD_STBY_RESET","SLED6_MD_IOEXP_EN_FAULT","SLED6_MD_DIR","SLED6_MD_DECAY",
"SLED6_MD_MODE1","SLED6_MD_MODE2","SLED6_MD_MODE3","power-host6";
};
sled6_leds: pca9552@67 {
compatible = "nxp,pca9552";
reg = <0x67>;
#address-cells = <1>;
#size-cells = <0>;
gpio-controller;
#gpio-cells = <2>;
gpio-line-names =
"led-sled6-amber","led-sled6-blue","SLED6_RST_IOEXP","SLED6_MD_REF_PWM",
"","","","",
"","","","",
"","","","";
};
sled6_fusb302: typec-portc@22 {
compatible = "fcs,fusb302";
reg = <0x22>;
connector {
compatible = "usb-c-connector";
label = "USB-C";
power-role = "dual";
try-power-role = "sink";
data-role = "dual";
source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)
PDO_VAR(3000, 12000, 3000)
PDO_PPS_APDO(3000, 11000, 3000)>;
op-sink-microwatt = <10000000>;
};
};
};
&i2c6 {
status = "okay";
@ -596,6 +671,7 @@
};
rtc@51 {
/* in-chip rtc disabled, use external rtc (battery-backed) */
compatible = "nxp,pcf85263";
reg = <0x51>;
};
@ -655,6 +731,7 @@
adm1278@11 {
compatible = "adi,adm1278";
reg = <0x11>;
shunt-resistor-micro-ohms = <300>;
};
tmp421@4c {
@ -667,7 +744,7 @@
reg = <0x4d>;
};
fan_ioexp: pca9552@67 {
fan_leds: pca9552@67 {
compatible = "nxp,pca9552";
reg = <0x67>;
#address-cells = <1>;
@ -700,36 +777,38 @@
/*D0-D7*/ "","","","","","","","",
/*E0-E7*/ "","","","","","","","",
/*F0-F7*/ "","","","","","","","",
/*G0-G7*/ "","SWITCH_FRU_MUX","","","","","","",
/*G0-G7*/ "BSM_FRU_WP","SWITCH_FRU_MUX","","",
"PWRGD_P1V05_VDDCORE","PWRGD_P1V5_VDD","","",
/*H0-H7*/ "presence-riser1","presence-riser2",
"presence-sled0","presence-sled1",
"presence-sled2","presence-sled3",
"presence-sled4","presence-sled5",
"presence-sled1","presence-sled2",
"presence-sled3","presence-sled4",
"presence-sled5","presence-sled6",
/*I0-I7*/ "REV_ID0","","REV_ID1","REV_ID2",
"","","","",
"","BSM_FLASH_WP_STATUS","BMC_TPM_PRES","",
/*J0-J7*/ "","","","","","","","",
/*K0-K7*/ "","","","","","","","",
/*L0-L7*/ "","","","","","","","",
/*M0-M7*/ "ALERT_SLED0","ALERT_SLED1",
"ALERT_SLED2","ALERT_SLED3",
"ALERT_SLED4","ALERT_SLED5",
/*L0-L7*/ "","","","","","BMC_RTC_INT","","",
/*M0-M7*/ "ALERT_SLED1","ALERT_SLED2",
"ALERT_SLED3","ALERT_SLED4",
"ALERT_SLED5","ALERT_SLED6",
"P12V_AUX_ALERT1","",
/*N0-N7*/ "","","","","","","","",
/*O0-O7*/ "","","","",
"","BOARD_ID0","BOARD_ID1","BOARD_ID2",
/*P0-P7*/ "","","","","","","","",
/*P0-P7*/ "","","","","","","","BMC_HEARTBEAT",
/*Q0-Q7*/ "","","","","","","","",
/*R0-R7*/ "","","","","","","","",
/*S0-S7*/ "","","","BAT_DETECT",
"BMC_BT_WP0","BMC_BT_WP1","","",
/*T0-T7*/ "","","","","","","","",
/*U0-U7*/ "","","","","","","","",
/*V0-V7*/ "","RST_BMC_MVL","","",
/*V0-V7*/ "PWRGD_CNS_PSU","RST_BMC_MVL","","PSU_PRSNT",
"USB2_SEL0_A","USB2_SEL1_A",
"USB2_SEL0_B","USB2_SEL1_B",
/*W0-W7*/ "RST_FRONT_IOEXP","","","","","","","",
/*X0-X7*/ "","","","","","","","",
/*Y0-Y7*/ "","","BSM_FLASH_LATCH","","","","","",
/*Y0-Y7*/ "BMC_SELF_HW_RST","BSM_PRSNT","BSM_FLASH_LATCH","",
"","","","",
/*Z0-Z7*/ "","","","","","","","";
};
@ -754,3 +833,8 @@
&pinctrl_adc12_default &pinctrl_adc13_default
&pinctrl_adc14_default &pinctrl_adc15_default>;
};
&mdio3 {
status = "okay";
/* TODO: Add Marvell 88X3310 */
};

View File

@ -171,9 +171,10 @@
/* 48MB region from the end of flash to start of vga memory */
ramoops@bc000000 {
compatible = "ramoops";
reg = <0xbc000000 0x180000>; /* 16 * (3 * 0x8000) */
reg = <0xbc000000 0x200000>; /* 16 * (4 * 0x8000) */
record-size = <0x8000>;
console-size = <0x8000>;
ftrace-size = <0x8000>;
pmsg-size = <0x8000>;
max-reason = <3>; /* KMSG_DUMP_EMERG */
};
@ -269,9 +270,7 @@
/*C0-C7*/ "","","","","","","","",
/*D0-D7*/ "","","","","","","","",
/*E0-E7*/ "","","","","","","","",
/*F0-F7*/ "PIN_HOLE_RESET_IN_N","","",
"PIN_HOLE_RESET_OUT_N","","",
"factory-reset-toggle","",
/*F0-F7*/ "","","rtc-battery-voltage-read-enable","reset-cause-pinhole","","","factory-reset-toggle","",
/*G0-G7*/ "","","","","","","","",
/*H0-H7*/ "led-rtc-battery","led-bmc","led-rear-enc-id0","led-rear-enc-fault0","","","","",
/*I0-I7*/ "","","","","","","bmc-secure-boot","",
@ -2394,6 +2393,10 @@
status = "okay";
};
&uhci {
status = "okay";
};
&emmc_controller {
status = "okay";
};

View File

@ -102,9 +102,10 @@
ramoops@bc000000 {
compatible = "ramoops";
reg = <0xbc000000 0x180000>; /* 16 * (3 * 0x8000) */
reg = <0xbc000000 0x200000>; /* 16 * (4 * 0x8000) */
record-size = <0x8000>;
console-size = <0x8000>;
ftrace-size = <0x8000>;
pmsg-size = <0x8000>;
max-reason = <3>; /* KMSG_DUMP_EMERG */
};
@ -239,6 +240,10 @@
status = "okay";
};
&uhci {
status = "okay";
};
&gpio0 {
gpio-line-names =
/*A0-A7*/ "","","","","","","","",
@ -246,7 +251,7 @@
/*C0-C7*/ "","","","","","","","",
/*D0-D7*/ "","","","","","","","",
/*E0-E7*/ "","","","","","","","",
/*F0-F7*/ "","","","","","","factory-reset-toggle","",
/*F0-F7*/ "","","rtc-battery-voltage-read-enable","reset-cause-pinhole","","","factory-reset-toggle","",
/*G0-G7*/ "","","","","","","","",
/*H0-H7*/ "","bmc-ingraham0","rear-enc-id0","rear-enc-fault0","","","","",
/*I0-I7*/ "","","","","","","bmc-secure-boot","",
@ -2360,30 +2365,6 @@
use-ncsi;
};
&fmc {
status = "okay";
flash@0 {
status = "okay";
m25p,fast-read;
label = "bmc";
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";
m25p,fast-read;
label = "pnor";
spi-max-frequency = <100000000>;
};
};
&wdt1 {
aspeed,reset-type = "none";
aspeed,external-signal;

View File

@ -197,7 +197,6 @@
fsi-routing-gpios = <&gpio0 ASPEED_GPIO(Q, 7) GPIO_ACTIVE_HIGH>;
fsi-mux-gpios = <&gpio0 ASPEED_GPIO(B, 0) GPIO_ACTIVE_HIGH>;
cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
cfam@0,0 {
reg = <0 0>;
@ -877,3 +876,14 @@
status = "okay";
memory-region = <&vga_memory>;
};
&kcs2 {
status = "okay";
aspeed,lpc-io-reg = <0xca8 0xcac>;
};
&kcs3 {
status = "okay";
aspeed,lpc-io-reg = <0xca2>;
aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
};

View File

@ -0,0 +1,610 @@
// SPDX-License-Identifier: GPL-2.0-or-later
// Copyright 2022 Quanta Corp.
/dts-v1/;
#include "aspeed-g6.dtsi"
#include <dt-bindings/gpio/aspeed-gpio.h>
#include <dt-bindings/i2c/i2c.h>
/ {
model = "Quanta S6Q BMC";
compatible = "quanta,s6q-bmc", "aspeed,ast2600";
aliases {
// bus 0
i2c20 = &SMB_HOST_DB2000_3V3AUX_SCL;
i2c21 = &U12_PCA9546_CH1;
i2c22 = &SMB_HOST_DB800_B_SCL;
i2c23 = &SMB_HOST_DB800_C_SCL;
// bus 1
i2c24 = &SMB_M2_P0_1V8AUX_SCL;
i2c25 = &SMB_M2_P1_1V8AUX_SCL;
i2c26 = &SMB_CPU_PIROM_3V3AUX_SCL;
i2c27 = &SMB_TEMP_3V3AUX_SCL;
i2c28 = &SMB_IPMB_3V3AUX_SSDSB_SCL;
i2c29 = &SMB_IPMB_3V3AUX_SCL;
i2c31 = &SMB_FB_SCL;
// bus 1 - Fan board
i2c32 = &SMB_IOEXP_SCL;
i2c33 = &SMB_PROGRAM_SCL;
i2c34 = &SMB_FB_SCL_CH2;
i2c35 = &SMB_FAN_SENSE_SCL;
// bus 6
i2c36 = &U197_PCA9546_CH0;
i2c37 = &U197_PCA9546_CH1;
i2c38 = &U197_PCA9546_CH2;
i2c39 = &U197_PCA9546_CH3;
//bus 7
i2c40 = &SMB_OCP_SFF_3V3AUX_SCL; //OCP1
i2c41 = &SMB_OCP_LFF_3V3AUX_SCL; //OCP2
};
chosen {
stdout-path = &uart5;
bootargs = "console=ttyS4,115200n8 earlycon";
};
memory@80000000 {
device_type = "memory";
reg = <0x80000000 0x40000000>;
};
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";
BMC_HEARTBEAT_N {
label="BMC_HEARTBEAT_N";
gpios = <&gpio0 ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>;
linux,default-trigger = "heartbeat";
};
BMC_LED_STATUS_AMBER_N {
label="BMC_LED_STATUS_AMBER_N";
gpios = <&gpio0 ASPEED_GPIO(S, 6) GPIO_ACTIVE_LOW>;
default-state = "off";
};
FM_ID_LED_N {
label="FM_ID_LED_N";
gpios = <&gpio0 ASPEED_GPIO(B, 5) GPIO_ACTIVE_LOW>;
default-state = "off";
};
};
};
&gpio0 {
gpio-line-names =
/*A0 - A7*/ "", "", "", "", "", "", "", "",
/*B0 - B7*/ "", "", "", "", "", "", "", "",
/*C0 - C7*/ "", "", "", "", "", "", "", "",
/*D0 - D7*/ "", "", "", "", "", "", "", "",
/*E0 - E7*/ "", "", "", "", "", "", "", "",
/*F0 - F7*/ "PLTRST_N", "", "PWR_DEBUG_N", "", "", "", "", "",
/*G0 - G7*/ "", "", "", "", "", "", "", "",
/*H0 - H7*/ "", "", "", "", "", "", "", "",
/*I0 - I7*/ "", "", "", "", "", "", "", "",
/*J0 - J7*/ "", "", "", "", "", "", "", "",
/*K0 - K7*/ "", "", "", "", "", "", "", "",
/*L0 - L7*/ "", "", "", "", "PREQ_N", "TCK_MUX_SEL", "", "",
/*M0 - M7*/ "", "", "", "PWRGD_SYS_PWROK", "", "PRDY_N", "", "",
/*N0 - N7*/ "", "", "", "", "", "", "", "",
/*O0 - O7*/ "", "", "", "", "", "", "", "",
/*P0 - P7*/ "SYS_BMC_PWRBTN_R_N", "SYS_PWRBTN_N", "FM_MB_RST_BTN", "RST_BMC_RSTBTN_OUT_N", "", "", "", "",
/*Q0 - Q7*/ "", "", "", "", "", "", "", "",
/*R0 - R7*/ "", "", "", "", "", "", "", "",
/*S0 - S7*/ "", "", "", "FP_ID_BTN_SCM_N", "", "", "", "",
/*T0 - T7*/ "", "", "", "", "", "", "", "",
/*U0 - U7*/ "", "", "", "", "", "", "", "",
/*V0 - V7*/ "", "", "", "", "", "SMI", "", "",
/*W0 - W7*/ "", "", "", "", "", "", "", "",
/*X0 - X7*/ "", "", "", "", "", "", "", "",
/*Y0 - Y7*/ "", "", "", "", "", "", "", "",
/*Z0 - Z7*/ "FM_BMC_READY_N", "", "", "", "", "", "", "",
/*AA0 - AA7*/ "", "", "", "", "", "", "", "",
/*AB0 - AB7*/ "", "", "", "", "", "", "", "",
/*AC0 - AC7*/ "", "", "", "", "", "", "", "";
};
&sgpiom0 {
status = "okay";
ngpios = <128>;
bus-frequency = <48000>;
gpio-line-names =
/* SGPIO input lines */
/*IOA0-IOA7*/ "","", "SIO_POWER_GOOD","OA1", "XDP_PRST_N","", "","", "FM_SLPS3_PLD_N","", "FM_SLPS4_PLD_N","", "FM_BIOS_POST_CMPLT_BMC_N","", "FM_ADR_TRIGGER_N","OA7",
/*IOB0-IOB7*/ "FM_ADR_COMPLETE","", "FM_PMBUS_ALERT_B_EN","", "PSU0_PRESENT_N","", "PSU1_PRESENT_N","", "PSU0_VIN_BUF_GOOD","", "PSU01_VIN_BUF_GOOD","", "PWRGD_PS0_PWROK_R","", "PWRGD_PS1_PWROK_R","",
/*IOC0-IOC7*/ "PWRGD_PS_PWROK_PLD_R","", "CHASSIS_INTRUSION","", "BMC_MFG_MODE","", "FM_BMC_EN_DET_R","", "FM_ME_BT_DONE","", "CPU1_PRESENCE","", "CPU2_PRESENCE","", "IRQ_PSYS_CRIT_N","",
/*IOD0-IOD7*/ "","", "CPU1_THERMTRIP","", "CPU2_THERMTRIP","", "CPU1_MEM_THERM_EVENT","", "CPU2_MEM_THERM_EVENT","", "CPU1_VRHOT","", "CPU2_VRHOT","", "","",
/*IOE0-IOE7*/ "","", "CPU1_MEM_VRHOT","", "CPU2_MEM_VRHOT","", "","", "PCH_BMC_THERMTRIP","", "","", "","", "","",
/*IOF0-IOF7*/ "CPU_ERR0","", "CPU_ERR1","", "CPU_ERR2","", "","", "","", "CPU_CATERR","", "","", "","",
/*IOG0-IOG7*/ "","", "","", "","", "","", "","", "","", "","", "","",
/*IOH0-IOH7*/ "","", "FP_ID_BTN_R1_N","", "FP_RST_BTN_N","", "","", "","", "FP_PWR_BTN_PLD_N_R","", "","", "","",
/*IOI0-IOI7*/ "","", "","", "","", "","", "","", "","", "","", "","",
/*IOJ0-IOJ7*/ "","", "","", "","", "","", "","", "","", "","", "","",
/*IOK0-IOK7*/ "","", "","", "","", "","", "","", "","", "","", "","",
/*IOL0-IOL7*/ "","", "","", "","", "","", "","", "","", "","", "","",
/*IOM0-IOM7*/ "","", "","", "","", "","", "","", "","", "","", "","",
/*ION0-ION7*/ "","BMC_SW_HEARTBEAT_N_R", "","FP_LED_FAULT_N", "","FP_ID_LED_N", "","FM_BMC_RSTBTN_OUT_N", "","FM_THERMTRIP_DLY_LVC1_R_N", "","", "","RST_PCA9548_SENSOR_PLD_N", "","USB_OC1_REAR_N",
/*IOO0-IOO7*/ "","IRQ_TPM_SPI_N", "","", "","IRQ_PCH_SCI_WHEA_R_N", "","IRQ_BMC_PCH_NMI_R", "","H_CPU_NMI_LVC1_R_N", "","", "","", "","FM_JTAG_BMC_PLD_MUX_SEL",
/*IOP0-IOP7*/ "IP0","OP0", "","", "","", "","", "","", "","", "","", "IP7","OP7";
};
&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>;
};
&mdio2 {
status = "okay";
ethphy2: ethernet-phy@0 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <0>;
};
};
&mac2 {
status = "okay";
phy-mode = "rgmii";
phy-handle = <&ethphy2>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_rgmii3_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-max-frequency = <50000000>;
#include "openbmc-flash-layout-64.dtsi"
};
};
&spi2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_spi2_default &pinctrl_spi2cs1_default
&pinctrl_spi2cs2_default>;
status = "okay";
flash@0 {
status = "okay";
m25p,fast-read;
label = "spi2:0";
spi-max-frequency = <50000000>;
};
};
&kcs1 {
status = "okay";
aspeed,lpc-io-reg = <0xCA0>;
};
&kcs2 {
status = "okay";
aspeed,lpc-io-reg = <0xCA8>;
};
&kcs3 {
status = "okay";
aspeed,lpc-io-reg = <0xCA2>;
};
&emmc_controller {
status = "okay";
};
&emmc {
non-removable;
bus-width = <4>;
max-frequency = <100000000>;
};
&vhub {
status = "okay";
};
&lpc_snoop {
status = "okay";
snoop-ports = <0x80>;
};
&uart1 {
status = "okay";
};
&uart2 {
status = "okay";
};
&uart4 {
status = "okay";
};
&uart5 {
status = "okay";
};
&uart_routing {
status = "okay";
};
&i2c0 {
status = "okay";
U34_PWR_ADC@48 {
compatible = "ti,ads7830";
reg = <0x48>;
};
U35_PWR_ADC@4b {
compatible = "ti,ads7830";
reg = <0x4b>;
};
i2c-switch@70 {
compatible = "nxp,pca9546";
reg = <0x70>;
#address-cells = <1>;
#size-cells = <0>;
i2c-mux-idle-disconnect;
SMB_HOST_DB2000_3V3AUX_SCL: i2c@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
};
U12_PCA9546_CH1: i2c@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
};
SMB_HOST_DB800_B_SCL: i2c@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>;
};
SMB_HOST_DB800_C_SCL: i2c@3 {
#address-cells = <1>;
#size-cells = <0>;
reg = <3>;
};
};
};
&i2c1 {
status = "okay";
i2c-switch@59 {
compatible = "nxp,pca9848";
reg = <0x59>;
#address-cells = <1>;
#size-cells = <0>;
i2c-mux-idle-disconnect;
SMB_M2_P0_1V8AUX_SCL: i2c@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
};
SMB_M2_P1_1V8AUX_SCL: i2c@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
};
SMB_CPU_PIROM_3V3AUX_SCL: i2c@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>;
};
SMB_TEMP_3V3AUX_SCL: i2c@3 {
#address-cells = <1>;
#size-cells = <0>;
reg = <3>;
U163_tmp75@48 {
compatible = "ti,tmp75";
reg = <0x48>;
};
U114_tmp75@49 {
compatible = "ti,tmp75";
reg = <0x49>;
};
};
SMB_IPMB_3V3AUX_SSDSB_SCL: i2c@4 {
#address-cells = <1>;
#size-cells = <0>;
reg = <4>;
U4_tmp75@4c {
compatible = "ti,tmp75";
reg = <0x4c>;
};
U73_tmp75@4d {
compatible = "ti,tmp75";
reg = <0x4d>;
};
};
SMB_IPMB_3V3AUX_SCL: i2c@5 {
#address-cells = <1>;
#size-cells = <0>;
reg = <5>;
U190_fru@51 {
compatible = "atmel,24c128";
reg = <0x51>;
pagesize = <32>;
};
};
SMB_FB_SCL: i2c@7 {
#address-cells = <1>;
#size-cells = <0>;
reg = <7>;
i2c-switch@77 {
compatible = "nxp,pca9546";
reg = <0x77>;
#address-cells = <1>;
#size-cells = <0>;
i2c-mux-idle-disconnect;
SMB_IOEXP_SCL: i2c@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
};
SMB_PROGRAM_SCL: i2c@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
};
SMB_FB_SCL_CH2: i2c@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>;
};
SMB_FAN_SENSE_SCL: i2c@3 {
#address-cells = <1>;
#size-cells = <0>;
reg = <3>;
Current_Meter_U2@45 {
compatible = "ti,ina219";
reg = <0x45>;
shunt-resistor = <1000>; /* = 1 mOhm */
};
Current_Meter_U3@44 {
compatible = "ti,ina219";
reg = <0x44>;
shunt-resistor = <1000>; /* = 1 mOhm */
};
TEMP_sensor_U2@4b {
compatible = "ti,tmp75";
reg = <0x4b>;
};
};
};
};
};
};
&i2c2 {
status = "okay";
bus-frequency = <400000>;
ipmb@10 {
compatible = "ipmb-dev";
reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
i2c-protocol;
};
};
&i2c3 {
status = "okay";
/* MB FRU (U173) @ 0xA2 */
mb_fru: mb_fru@51 {
compatible = "atmel,24c128";
reg = <0x51>;
pagesize = <32>;
};
/* FP_U1 Inlet */
FP_U1_tmp75@4a {
compatible = "ti,tmp75";
reg = <0x4a>;
};
FP_U4_fru@52 {
compatible = "atmel,24c02";
reg = <0x52>;
pagesize = <16>;
};
};
&i2c4 {
status = "okay";
};
&i2c5 {
status = "okay";
};
&i2c6 {
status = "okay";
i2c-switch@77 {
compatible = "nxp,pca9548";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x77>;
i2c-mux-idle-disconnect;
U197_PCA9546_CH0: i2c@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
};
U197_PCA9546_CH1: i2c@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
cpu0_pvccin@60 {
compatible = "isil,raa229004";
reg = <0x60>;
};
cpu0_pvccinfaon@61 {
compatible = "isil,isl69260";
reg = <0x61>;
};
cpu0_pvccd_hv@63 {
compatible = "isil,isl69260";
reg = <0x63>;
};
};
U197_PCA9546_CH2: i2c@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>;
cpu1_pvccin@72 {
compatible = "isil,raa229004";
reg = <0x72>;
};
cpu1_pvccinfaon@74 {
compatible = "isil,isl69260";
reg = <0x74>;
};
cpu1_pvccd_hv@76 {
compatible = "isil,isl69260";
reg = <0x76>;
};
};
U197_PCA9546_CH3: i2c@3 {
#address-cells = <1>;
#size-cells = <0>;
reg = <3>;
};
};
};
&i2c7 {
status = "okay";
i2c-switch@75 {
compatible = "nxp,pca9546";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x75>;
i2c-mux-idle-disconnect;
SMB_OCP_SFF_3V3AUX_SCL: i2c@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
};
SMB_OCP_LFF_3V3AUX_SCL: i2c@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
};
};
};
&i2c8 {
status = "okay";
};
&i2c9 {
status = "okay";
};
&i2c11 {
status = "okay";
};
&i2c14 {
status = "okay";
/* SCM FRU (U19) @ 0xA2 */
scm_fru: scm_fru@51 {
compatible = "atmel,24c128";
reg = <0x51>;
pagesize = <32>;
};
scm_tmp75_u4@4a {
compatible = "ti,tmp75";
reg = <0x4a>;
};
};
&i2c15 {
status = "okay";
};

View File

@ -28,7 +28,7 @@ partitions {
label = "rofs";
};
rwfs@6000000 {
rwfs@2a00000 {
reg = <0x2a00000 0x1600000>; // 22MB
label = "rwfs";
};

View File

@ -20,7 +20,7 @@ partitions {
label = "kernel";
};
rofs@c0000 {
rofs@4c0000 {
reg = <0x4c0000 0x1740000>;
label = "rofs";
};