mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 15:41:52 +02:00
aspeed: first batch of devicetree changes for v7.1
New platforms: - Asus Kommando IPMI card - Asrock Paul IPMI card Updated platforms: - Anacapa (Meta): NFC and EEPROMs - MSX4 (Nvidia): 128M layout for the alternate boot flash -----BEGIN PGP SIGNATURE----- iJIEABYKADoWIQSoUT1x3bOSX/nAa8ajM9GZTrjhpgUCacSiYhwcYW5kcmV3QGNv ZGVjb25zdHJ1Y3QuY29tLmF1AAoJEKMz0ZlOuOGmzYsA/2w2v7dumDfK2jhdHf/H cMtJFsJQbmwv1+0Url6l7ShIAP9l+SxK8UvLR98yzcrHX4i78iRvtHHHTsuc/rx2 oo7RBQ== =r4r3 -----END PGP SIGNATURE----- Merge tag 'aspeed-7.1-devicetree-0' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/bmc/linux into soc/dt aspeed: first batch of devicetree changes for v7.1 New platforms: - Asus Kommando IPMI card - Asrock Paul IPMI card Updated platforms: - Anacapa (Meta): NFC and EEPROMs - MSX4 (Nvidia): 128M layout for the alternate boot flash * tag 'aspeed-7.1-devicetree-0' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/bmc/linux: ARM: dts: aspeed: anacapa: Add retimer EEPROMs ARM: dts: aspeed: anacapa: add NFC device ARM: dts: aspeed: Add Asrock Paul IPMI card dt-bindings: arm: aspeed: Add Asrock Paul IPMI card ARM: dts: aspeed: Add 128M alt flash layout to NVIDIA MSX4 ARM: dts: aspeed: Add Asus Kommando IPMI card dt-bindings: arm: aspeed: Add Asus Kommando IPMI card Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
This commit is contained in:
commit
08b67f170f
|
|
@ -35,6 +35,7 @@ properties:
|
|||
- ampere,mtjade-bmc
|
||||
- aspeed,ast2500-evb
|
||||
- asrock,altrad8-bmc
|
||||
- asrock,ast2500-paul-ipmi-card
|
||||
- asrock,e3c246d4i-bmc
|
||||
- asrock,e3c256d4i-bmc
|
||||
- asrock,romed8hm3-bmc
|
||||
|
|
@ -80,6 +81,7 @@ properties:
|
|||
- ampere,mtmitchell-bmc
|
||||
- aspeed,ast2600-evb
|
||||
- aspeed,ast2600-evb-a1
|
||||
- asus,ast2600-kommando-ipmi-card
|
||||
- asus,x4tf-bmc
|
||||
- facebook,anacapa-bmc
|
||||
- facebook,bletchley-bmc
|
||||
|
|
|
|||
|
|
@ -12,9 +12,11 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
|
|||
aspeed-bmc-asrock-altrad8.dtb \
|
||||
aspeed-bmc-asrock-e3c246d4i.dtb \
|
||||
aspeed-bmc-asrock-e3c256d4i.dtb \
|
||||
aspeed-bmc-asrock-paul-ipmi-card.dtb \
|
||||
aspeed-bmc-asrock-romed8hm3.dtb \
|
||||
aspeed-bmc-asrock-spc621d8hm3.dtb \
|
||||
aspeed-bmc-asrock-x570d4u.dtb \
|
||||
aspeed-bmc-asus-kommando-ipmi-card.dtb \
|
||||
aspeed-bmc-asus-x4tf.dtb \
|
||||
aspeed-bmc-bytedance-g220a.dtb \
|
||||
aspeed-bmc-delta-ahe50dc.dtb \
|
||||
|
|
|
|||
131
arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-paul-ipmi-card.dts
Normal file
131
arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-paul-ipmi-card.dts
Normal file
|
|
@ -0,0 +1,131 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
// Copyright 2025 Anirudh Srinivasan
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "aspeed-g5.dtsi"
|
||||
#include <dt-bindings/gpio/aspeed-gpio.h>
|
||||
|
||||
/{
|
||||
model = "ASRock Paul IPMI Card";
|
||||
compatible = "asrock,ast2500-paul-ipmi-card", "aspeed,ast2500";
|
||||
|
||||
aliases {
|
||||
serial4 = &uart5;
|
||||
};
|
||||
|
||||
chosen {
|
||||
stdout-path = &uart5;
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
led-fan-1 {
|
||||
gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_LOW>;
|
||||
label = "fan1_red";
|
||||
default-state = "off";
|
||||
};
|
||||
|
||||
led-fan-2 {
|
||||
gpios = <&gpio ASPEED_GPIO(AA, 1) GPIO_ACTIVE_LOW>;
|
||||
label = "fan2_red";
|
||||
default-state = "off";
|
||||
};
|
||||
|
||||
led-fault {
|
||||
gpios = <&gpio ASPEED_GPIO(Y, 3) GPIO_ACTIVE_LOW>;
|
||||
label = "panic_red";
|
||||
panic-indicator;
|
||||
default-state = "off";
|
||||
};
|
||||
|
||||
led-heartbeat {
|
||||
gpios = <&gpio ASPEED_GPIO(H, 6) GPIO_ACTIVE_LOW>;
|
||||
label = "heartbeat_green";
|
||||
linux,default-trigger = "timer";
|
||||
};
|
||||
};
|
||||
|
||||
memory@80000000 {
|
||||
reg = <0x80000000 0x20000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
|
||||
video_engine_memory: video {
|
||||
size = <0x02000000>;
|
||||
alignment = <0x01000000>;
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&fmc {
|
||||
status = "okay";
|
||||
flash@0 {
|
||||
status = "okay";
|
||||
m25p,fast-read;
|
||||
label = "bmc";
|
||||
spi-max-frequency = <50000000>; /* 50 MHz */
|
||||
#include "openbmc-flash-layout.dtsi"
|
||||
};
|
||||
};
|
||||
|
||||
&gpio {
|
||||
status = "okay";
|
||||
gpio-line-names =
|
||||
/* A */ "", "", "", "", "", "", "", "",
|
||||
/* B */ "", "", "", "", "", "", "", "",
|
||||
/* C */ "", "", "", "", "", "", "", "",
|
||||
/* D */ "", "BMC_PWRBTN", "", "BMC_RESETCON", "", "", "", "",
|
||||
/* E */ "", "", "", "", "", "", "", "",
|
||||
/* F */ "", "", "", "", "", "", "", "",
|
||||
/* G */ "", "", "", "", "", "", "", "",
|
||||
/* H */ "", "", "", "", "", "", "BMC_LED1", "",
|
||||
/* I */ "", "", "", "", "", "", "", "",
|
||||
/* J */ "", "", "", "", "", "", "", "",
|
||||
/* K */ "", "", "", "", "", "", "", "",
|
||||
/* L */ "", "", "", "", "", "", "", "",
|
||||
/* M */ "", "", "", "", "", "", "", "",
|
||||
/* N */ "", "", "", "", "", "", "", "",
|
||||
/* O */ "", "", "", "", "", "", "", "",
|
||||
/* P */ "", "", "", "", "", "", "", "",
|
||||
/* Q */ "", "", "", "", "", "", "", "",
|
||||
/* R */ "", "", "", "", "", "", "", "",
|
||||
/* S */ "", "", "", "", "", "", "", "",
|
||||
/* T */ "", "", "", "", "", "", "", "",
|
||||
/* U */ "", "", "", "", "", "", "", "",
|
||||
/* V */ "", "", "", "", "", "", "", "",
|
||||
/* W */ "", "", "", "", "", "", "", "",
|
||||
/* X */ "", "", "", "", "", "PCIE_STNDBY", "", "",
|
||||
/* Y */ "", "", "", "SYSTEM_ERR_LED", "", "", "", "",
|
||||
/* Z */ "", "", "", "", "", "", "", "",
|
||||
/* AA */ "FAN_1_LED", "FAN_2_LED", "", "", "", "", "", "",
|
||||
/* AB */ "", "", "", "", "", "", "", "",
|
||||
/* AC */ "", "", "", "", "", "", "", "";
|
||||
};
|
||||
|
||||
&mac0 {
|
||||
status = "okay";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_rgmii1_default &pinctrl_mdio1_default>;
|
||||
};
|
||||
|
||||
&uart5 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&vhub {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&video {
|
||||
status = "okay";
|
||||
memory-region = <&video_engine_memory>;
|
||||
};
|
||||
117
arch/arm/boot/dts/aspeed/aspeed-bmc-asus-kommando-ipmi-card.dts
Normal file
117
arch/arm/boot/dts/aspeed/aspeed-bmc-asus-kommando-ipmi-card.dts
Normal file
|
|
@ -0,0 +1,117 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
// Copyright 2025 Anirudh Srinivasan
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "aspeed-g6.dtsi"
|
||||
#include "aspeed-g6-pinctrl.dtsi"
|
||||
#include <dt-bindings/gpio/aspeed-gpio.h>
|
||||
|
||||
/ {
|
||||
model = "Asus Kommando IPMI Expansion Card";
|
||||
compatible = "asus,ast2600-kommando-ipmi-card", "aspeed,ast2600";
|
||||
|
||||
aliases {
|
||||
serial4 = &uart5;
|
||||
};
|
||||
|
||||
chosen {
|
||||
stdout-path = "serial4:115200n8";
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
led-fault {
|
||||
gpios = <&gpio1 ASPEED_GPIO(C, 5) GPIO_ACTIVE_HIGH>;
|
||||
label = "panic_amber";
|
||||
panic-indicator;
|
||||
default-state = "off";
|
||||
};
|
||||
|
||||
led-heartbeat {
|
||||
gpios = <&gpio0 ASPEED_GPIO(A, 7) GPIO_ACTIVE_LOW>;
|
||||
label = "heartbeat_green";
|
||||
linux,default-trigger = "timer";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&fmc {
|
||||
status = "okay";
|
||||
|
||||
flash@0 {
|
||||
status = "okay";
|
||||
m25p,fast-read;
|
||||
label = "bmc";
|
||||
spi-max-frequency = <50000000>;
|
||||
#include "openbmc-flash-layout-64.dtsi"
|
||||
};
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
gpio-line-names =
|
||||
/*A0 0*/ "", "", "", "", "", "", "", "BMC_HBLED",
|
||||
/*B0 8*/ "", "", "", "", "", "", "", "",
|
||||
/*C0 16*/ "", "", "", "", "", "", "", "",
|
||||
/*D0 24*/ "", "", "", "", "", "", "", "",
|
||||
/*E0 32*/ "", "", "", "", "", "", "", "",
|
||||
/*F0 40*/ "", "", "", "", "", "", "", "",
|
||||
/*G0 48*/ "", "", "", "", "", "", "", "",
|
||||
/*H0 56*/ "", "", "", "", "", "", "", "",
|
||||
/*I0 64*/ "", "", "", "BMC_RSTBTN", "", "", "", "",
|
||||
/*J0 72*/ "", "", "", "", "", "", "", "",
|
||||
/*K0 80*/ "", "", "", "", "", "", "", "",
|
||||
/*L0 88*/ "", "", "", "", "", "", "", "",
|
||||
/*M0 96*/ "", "", "", "", "", "", "", "",
|
||||
/*N0 104*/ "", "", "", "", "", "", "", "",
|
||||
/*O0 112*/ "", "", "", "", "", "", "", "",
|
||||
/*P0 120*/ "", "", "", "", "", "", "", "",
|
||||
/*Q0 128*/ "", "", "", "", "", "", "", "",
|
||||
/*R0 136*/ "", "", "", "", "", "", "", "",
|
||||
/*S0 144*/ "", "", "", "", "", "", "", "",
|
||||
/*T0 152*/ "", "", "", "", "", "", "", "",
|
||||
/*U0 160*/ "", "", "", "", "", "", "", "",
|
||||
/*V0 168*/ "", "", "", "", "BMC_PWRBTN", "", "MB_S0_DETECT", "",
|
||||
/*W0 176*/ "", "", "", "", "", "", "", "",
|
||||
/*X0 184*/ "", "", "", "", "", "", "", "",
|
||||
/*Y0 192*/ "", "", "", "", "", "", "", "",
|
||||
/*Z0 200*/ "", "", "", "", "", "", "", "";
|
||||
};
|
||||
|
||||
&gpio1 {
|
||||
gpio-line-names =
|
||||
/*18A0 0*/ "","","","","","","","",
|
||||
/*18B0 8*/ "","","","","","","","",
|
||||
/*18C0 16*/ "","","","","","BMC_MLED","","",
|
||||
/*18D0 24*/ "","","","","","","","",
|
||||
/*18E0 32*/ "","","","","","","","";
|
||||
};
|
||||
|
||||
&vhub {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&video {
|
||||
status = "okay";
|
||||
memory-region = <&video_engine_memory>;
|
||||
};
|
||||
|
|
@ -300,6 +300,12 @@ &gpio1 {
|
|||
&i2c0 {
|
||||
status = "okay";
|
||||
|
||||
eeprom@50 {
|
||||
compatible = "atmel,24c2048";
|
||||
reg = <0x50>;
|
||||
pagesize = <128>;
|
||||
};
|
||||
|
||||
i2c-mux@70 {
|
||||
compatible = "nxp,pca9546";
|
||||
reg = <0x70>;
|
||||
|
|
@ -334,6 +340,12 @@ i2c0mux0ch3: i2c@3 {
|
|||
&i2c1 {
|
||||
status = "okay";
|
||||
|
||||
eeprom@50 {
|
||||
compatible = "atmel,24c2048";
|
||||
reg = <0x50>;
|
||||
pagesize = <128>;
|
||||
};
|
||||
|
||||
i2c-mux@70 {
|
||||
compatible = "nxp,pca9546";
|
||||
reg = <0x70>;
|
||||
|
|
@ -802,6 +814,16 @@ i2c13mux0ch7: i2c@7 {
|
|||
reg = <7>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
nfc@28 {
|
||||
compatible = "nxp,nxp-nci-i2c";
|
||||
reg = <0x28>;
|
||||
|
||||
interrupt-parent = <&sgpiom0>;
|
||||
interrupts = <156 IRQ_TYPE_LEVEL_HIGH>;
|
||||
|
||||
enable-gpios = <&sgpiom0 241 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -67,6 +67,7 @@ flash@1 {
|
|||
spi-tx-bus-width = <1>;
|
||||
spi-rx-bus-width = <1>;
|
||||
status = "okay";
|
||||
#include "openbmc-flash-layout-128-alt.dtsi"
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
32
arch/arm/boot/dts/aspeed/openbmc-flash-layout-128-alt.dtsi
Normal file
32
arch/arm/boot/dts/aspeed/openbmc-flash-layout-128-alt.dtsi
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
// SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
u-boot@0 {
|
||||
reg = <0x0 0xe0000>; // 896KB
|
||||
label = "alt-u-boot";
|
||||
};
|
||||
|
||||
u-boot-env@e0000 {
|
||||
reg = <0xe0000 0x20000>; // 128KB
|
||||
label = "alt-u-boot-env";
|
||||
};
|
||||
|
||||
kernel@100000 {
|
||||
reg = <0x100000 0x900000>; // 9MB
|
||||
label = "alt-kernel";
|
||||
};
|
||||
|
||||
rofs@a00000 {
|
||||
reg = <0xa00000 0x5600000>; // 86MB
|
||||
label = "alt-rofs";
|
||||
};
|
||||
|
||||
rwfs@6000000 {
|
||||
reg = <0x6000000 0x2000000>; // 32MB
|
||||
label = "alt-rwfs";
|
||||
};
|
||||
};
|
||||
Loading…
Reference in New Issue
Block a user