mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-23 10:16:50 -04:00
Merge tag 'aspeed-6.18-devicetree-0' of https://git.kernel.org/pub/scm/linux/kernel/git/bmc/linux into soc/dt
Early ASPEED devicetree updates for 6.18 Notable changes: - Meta's Wedge400 and Fuji boards have had parallel devicetrees added for a transition to a new static flash layout. The original layout is deprecated and I anticipate removing related devicetrees in future releases. New platforms: - Darwin (Meta) Darwin is Meta's rack switch platform with an AST2600 BMC integrated for health monitoring purpose. Updates and fixes: - GB200NVL (Nvidia): Networking, I2C, regulators, GPIOs - Wedge400, Fuji (Meta): Fix warnings from devicetree bindings - Use fixed-layout for NVMEM on Asrock platforms - Various: minor fixes for warnings from FSI devicetree bindings * tag 'aspeed-6.18-devicetree-0' of https://git.kernel.org/pub/scm/linux/kernel/git/bmc/linux: (24 commits) ARM: dts: aspeed: x570d4u: convert NVMEM content to layout syntax ARM: dts: aspeed: romed8hm3: convert NVMEM content to layout syntax ARM: dts: aspeed: e3c256d4i: convert NVMEM content to layout syntax ARM: dts: aspeed: e3c246d4i: convert NVMEM content to layout syntax ARM: dts: aspeed: Add missing "ibm,spi-fsi" compatibles ARM: dts: aspeed: Drop "fsi-master" compatibles ARM: dts: aspeed: Drop "no-gpio-delays" ARM: dts: aspeed: Add Facebook Darwin (AST2600) BMC dt-bindings: arm: aspeed: add Facebook Darwin board ARM: dts: aspeed: facebook-fuji: Include facebook-fuji-data64.dts ARM: dts: aspeed: Add Facebook Fuji-data64 (AST2600) Board dt-bindings: arm: aspeed: add Facebook Fuji-data64 board ARM: dts: aspeed: wedge400: Include wedge400-data64.dts ARM: dts: aspeed: Add Facebook Wedge400-data64 (AST2500) BMC dt-bindings: arm: aspeed: add Facebook Wedge400-data64 board ARM: dts: aspeed: Add facebook-bmc-flash-layout-128-data64.dtsi ARM: dts: aspeed: Move eMMC out of ast2600-facebook-netbmc-common.dtsi ARM: dts: aspeed: Fix DTB warnings in ast2600-facebook-netbmc-common.dtsi ARM: dts: aspeed: fuji: Fix DTB warnings ARM: dts: aspeed: wedge400: Fix DTB warnings ... Link: https://lore.kernel.org/r/cb634cffaf0db9d25fb3062f0eee41e03955321f.camel@codeconstruct.com.au Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
@@ -46,6 +46,7 @@ properties:
|
||||
- facebook,yamp-bmc
|
||||
- facebook,yosemitev2-bmc
|
||||
- facebook,wedge400-bmc
|
||||
- facebook,wedge400-data64-bmc
|
||||
- hxt,stardragon4800-rep2-bmc
|
||||
- ibm,mihawk-bmc
|
||||
- ibm,mowgli-bmc
|
||||
@@ -82,8 +83,10 @@ properties:
|
||||
- facebook,bletchley-bmc
|
||||
- facebook,catalina-bmc
|
||||
- facebook,cloudripper-bmc
|
||||
- facebook,darwin-bmc
|
||||
- facebook,elbert-bmc
|
||||
- facebook,fuji-bmc
|
||||
- facebook,fuji-data64-bmc
|
||||
- facebook,greatlakes-bmc
|
||||
- facebook,harma-bmc
|
||||
- facebook,minerva-cmc
|
||||
|
||||
@@ -20,7 +20,9 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
|
||||
aspeed-bmc-facebook-bletchley.dtb \
|
||||
aspeed-bmc-facebook-catalina.dtb \
|
||||
aspeed-bmc-facebook-cmm.dtb \
|
||||
aspeed-bmc-facebook-darwin.dtb \
|
||||
aspeed-bmc-facebook-elbert.dtb \
|
||||
aspeed-bmc-facebook-fuji-data64.dtb \
|
||||
aspeed-bmc-facebook-fuji.dtb \
|
||||
aspeed-bmc-facebook-galaxy100.dtb \
|
||||
aspeed-bmc-facebook-greatlakes.dtb \
|
||||
@@ -31,6 +33,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
|
||||
aspeed-bmc-facebook-tiogapass.dtb \
|
||||
aspeed-bmc-facebook-wedge40.dtb \
|
||||
aspeed-bmc-facebook-wedge100.dtb \
|
||||
aspeed-bmc-facebook-wedge400-data64.dtb \
|
||||
aspeed-bmc-facebook-wedge400.dtb \
|
||||
aspeed-bmc-facebook-yamp.dtb \
|
||||
aspeed-bmc-facebook-yosemitev2.dtb \
|
||||
|
||||
@@ -106,11 +106,15 @@ eeprom@57 {
|
||||
compatible = "st,24c128", "atmel,24c128";
|
||||
reg = <0x57>;
|
||||
pagesize = <16>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
eth0_macaddress: macaddress@3f80 {
|
||||
reg = <0x3f80 6>;
|
||||
nvmem-layout {
|
||||
compatible = "fixed-layout";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
eth0_macaddress: macaddress@3f80 {
|
||||
reg = <0x3f80 6>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -191,11 +191,15 @@ eeprom@57 {
|
||||
compatible = "st,24c128", "atmel,24c128";
|
||||
reg = <0x57>;
|
||||
pagesize = <16>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
eth0_macaddress: macaddress@3f80 {
|
||||
reg = <0x3f80 6>;
|
||||
nvmem-layout {
|
||||
compatible = "fixed-layout";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
eth0_macaddress: macaddress@3f80 {
|
||||
reg = <0x3f80 6>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -134,11 +134,15 @@ eeprom@50 {
|
||||
compatible = "st,24c128", "atmel,24c128";
|
||||
reg = <0x50>;
|
||||
pagesize = <16>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
eth0_macaddress: macaddress@3f80 {
|
||||
reg = <0x3f80 6>;
|
||||
nvmem-layout {
|
||||
compatible = "fixed-layout";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
eth0_macaddress: macaddress@3f80 {
|
||||
reg = <0x3f80 6>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -232,15 +232,19 @@ eeprom@57 {
|
||||
compatible = "st,24c128", "atmel,24c128";
|
||||
reg = <0x57>;
|
||||
pagesize = <16>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
eth0_macaddress: macaddress@3f80 {
|
||||
reg = <0x3f80 6>;
|
||||
};
|
||||
nvmem-layout {
|
||||
compatible = "fixed-layout";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
eth1_macaddress: macaddress@3f88 {
|
||||
reg = <0x3f88 6>;
|
||||
eth0_macaddress: macaddress@3f80 {
|
||||
reg = <0x3f80 6>;
|
||||
};
|
||||
|
||||
eth1_macaddress: macaddress@3f88 {
|
||||
reg = <0x3f88 6>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
72
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-darwin.dts
Normal file
72
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-darwin.dts
Normal file
@@ -0,0 +1,72 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
// Copyright (c) 2021 Facebook Inc.
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "ast2600-facebook-netbmc-common.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Facebook Darwin BMC";
|
||||
compatible = "facebook,darwin-bmc", "aspeed,ast2600";
|
||||
|
||||
aliases {
|
||||
serial0 = &uart5;
|
||||
serial1 = &uart1;
|
||||
serial2 = &uart2;
|
||||
serial3 = &uart3;
|
||||
};
|
||||
|
||||
chosen {
|
||||
stdout-path = &uart5;
|
||||
};
|
||||
|
||||
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>;
|
||||
};
|
||||
|
||||
spi_gpio: spi {
|
||||
num-chipselects = <1>;
|
||||
cs-gpios = <&gpio0 ASPEED_GPIO(X, 0) GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
eeprom@50 {
|
||||
compatible = "atmel,24c512";
|
||||
reg = <0x50>;
|
||||
};
|
||||
};
|
||||
|
||||
&adc0 {
|
||||
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 {
|
||||
status = "okay";
|
||||
|
||||
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>;
|
||||
};
|
||||
|
||||
&emmc_controller {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&emmc {
|
||||
status = "okay";
|
||||
|
||||
non-removable;
|
||||
max-frequency = <25000000>;
|
||||
bus-width = <4>;
|
||||
};
|
||||
@@ -201,3 +201,15 @@ fixed-link {
|
||||
full-duplex;
|
||||
};
|
||||
};
|
||||
|
||||
&emmc_controller {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&emmc {
|
||||
status = "okay";
|
||||
|
||||
non-removable;
|
||||
max-frequency = <25000000>;
|
||||
bus-width = <4>;
|
||||
};
|
||||
|
||||
1256
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-fuji-data64.dts
Normal file
1256
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-fuji-data64.dts
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
375
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400-data64.dts
Normal file
375
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400-data64.dts
Normal file
@@ -0,0 +1,375 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
// Copyright (c) 2019 Facebook Inc.
|
||||
/dts-v1/;
|
||||
|
||||
#include <dt-bindings/gpio/aspeed-gpio.h>
|
||||
#include "ast2500-facebook-netbmc-common.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Facebook Wedge 400 BMC (64MB Datastore)";
|
||||
compatible = "facebook,wedge400-data64-bmc", "aspeed,ast2500";
|
||||
|
||||
aliases {
|
||||
/*
|
||||
* PCA9548 (2-0070) provides 8 channels connecting to
|
||||
* SCM (System Controller Module).
|
||||
*/
|
||||
i2c16 = &imux16;
|
||||
i2c17 = &imux17;
|
||||
i2c18 = &imux18;
|
||||
i2c19 = &imux19;
|
||||
i2c20 = &imux20;
|
||||
i2c21 = &imux21;
|
||||
i2c22 = &imux22;
|
||||
i2c23 = &imux23;
|
||||
|
||||
/*
|
||||
* PCA9548 (8-0070) provides 8 channels connecting to
|
||||
* SMB (Switch Main Board).
|
||||
*/
|
||||
i2c24 = &imux24;
|
||||
i2c25 = &imux25;
|
||||
i2c26 = &imux26;
|
||||
i2c27 = &imux27;
|
||||
i2c28 = &imux28;
|
||||
i2c29 = &imux29;
|
||||
i2c30 = &imux30;
|
||||
i2c31 = &imux31;
|
||||
|
||||
/*
|
||||
* PCA9548 (11-0076) provides 8 channels connecting to
|
||||
* FCM (Fan Controller Module).
|
||||
*/
|
||||
i2c32 = &imux32;
|
||||
i2c33 = &imux33;
|
||||
i2c34 = &imux34;
|
||||
i2c35 = &imux35;
|
||||
i2c36 = &imux36;
|
||||
i2c37 = &imux37;
|
||||
i2c38 = &imux38;
|
||||
i2c39 = &imux39;
|
||||
|
||||
spi2 = &spi_gpio;
|
||||
};
|
||||
|
||||
chosen {
|
||||
stdout-path = &uart1;
|
||||
};
|
||||
|
||||
ast-adc-hwmon {
|
||||
compatible = "iio-hwmon";
|
||||
io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>,
|
||||
<&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>;
|
||||
};
|
||||
|
||||
/*
|
||||
* GPIO-based SPI Master is required to access SPI TPM, because
|
||||
* full-duplex SPI transactions are not supported by ASPEED SPI
|
||||
* Controllers.
|
||||
*/
|
||||
spi_gpio: spi {
|
||||
status = "okay";
|
||||
compatible = "spi-gpio";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
cs-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_LOW>;
|
||||
sck-gpios = <&gpio ASPEED_GPIO(R, 3) GPIO_ACTIVE_HIGH>;
|
||||
mosi-gpios = <&gpio ASPEED_GPIO(R, 4) GPIO_ACTIVE_HIGH>;
|
||||
miso-gpios = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_HIGH>;
|
||||
num-chipselects = <1>;
|
||||
|
||||
tpm@0 {
|
||||
compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
|
||||
spi-max-frequency = <33000000>;
|
||||
reg = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
* Both firmware flashes are 128MB on Wedge400 BMC.
|
||||
*/
|
||||
&fmc_flash0 {
|
||||
#include "facebook-bmc-flash-layout-128-data64.dtsi"
|
||||
};
|
||||
|
||||
&fmc_flash1 {
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
flash1@0 {
|
||||
reg = <0x0 0x8000000>;
|
||||
label = "flash1";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart2 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_txd2_default
|
||||
&pinctrl_rxd2_default>;
|
||||
};
|
||||
|
||||
&uart4 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_txd4_default
|
||||
&pinctrl_rxd4_default>;
|
||||
};
|
||||
|
||||
/*
|
||||
* I2C bus #0 is multi-master environment dedicated for BMC and Bridge IC
|
||||
* communication.
|
||||
*/
|
||||
&i2c0 {
|
||||
status = "okay";
|
||||
multi-master;
|
||||
bus-frequency = <1000000>;
|
||||
};
|
||||
|
||||
&i2c1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c2 {
|
||||
status = "okay";
|
||||
|
||||
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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&i2c3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c4 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c5 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c6 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c7 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c8 {
|
||||
status = "okay";
|
||||
|
||||
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>;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
&i2c9 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c10 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c11 {
|
||||
status = "okay";
|
||||
|
||||
i2c-mux@76 {
|
||||
compatible = "nxp,pca9548";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x76>;
|
||||
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>;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
&i2c12 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c13 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&adc {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ehci1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uhci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&sdhci1 {
|
||||
max-frequency = <25000000>;
|
||||
/*
|
||||
* DMA mode needs to be disabled to avoid conflicts with UHCI
|
||||
* Controller in AST2500 SoC.
|
||||
*/
|
||||
sdhci-caps-mask = <0x0 0x580000>;
|
||||
};
|
||||
@@ -1,376 +1,14 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
// Copyright (c) 2019 Facebook Inc.
|
||||
/dts-v1/;
|
||||
|
||||
#include <dt-bindings/gpio/aspeed-gpio.h>
|
||||
#include "ast2500-facebook-netbmc-common.dtsi"
|
||||
#include "aspeed-bmc-facebook-wedge400-data64.dts"
|
||||
|
||||
/ {
|
||||
model = "Facebook Wedge 400 BMC";
|
||||
compatible = "facebook,wedge400-bmc", "aspeed,ast2500";
|
||||
|
||||
aliases {
|
||||
/*
|
||||
* PCA9548 (2-0070) provides 8 channels connecting to
|
||||
* SCM (System Controller Module).
|
||||
*/
|
||||
i2c16 = &imux16;
|
||||
i2c17 = &imux17;
|
||||
i2c18 = &imux18;
|
||||
i2c19 = &imux19;
|
||||
i2c20 = &imux20;
|
||||
i2c21 = &imux21;
|
||||
i2c22 = &imux22;
|
||||
i2c23 = &imux23;
|
||||
|
||||
/*
|
||||
* PCA9548 (8-0070) provides 8 channels connecting to
|
||||
* SMB (Switch Main Board).
|
||||
*/
|
||||
i2c24 = &imux24;
|
||||
i2c25 = &imux25;
|
||||
i2c26 = &imux26;
|
||||
i2c27 = &imux27;
|
||||
i2c28 = &imux28;
|
||||
i2c29 = &imux29;
|
||||
i2c30 = &imux30;
|
||||
i2c31 = &imux31;
|
||||
|
||||
/*
|
||||
* PCA9548 (11-0076) provides 8 channels connecting to
|
||||
* FCM (Fan Controller Module).
|
||||
*/
|
||||
i2c32 = &imux32;
|
||||
i2c33 = &imux33;
|
||||
i2c34 = &imux34;
|
||||
i2c35 = &imux35;
|
||||
i2c36 = &imux36;
|
||||
i2c37 = &imux37;
|
||||
i2c38 = &imux38;
|
||||
i2c39 = &imux39;
|
||||
|
||||
spi2 = &spi_gpio;
|
||||
};
|
||||
|
||||
chosen {
|
||||
stdout-path = &uart1;
|
||||
bootargs = "console=ttyS0,9600n8 root=/dev/ram rw";
|
||||
};
|
||||
|
||||
ast-adc-hwmon {
|
||||
compatible = "iio-hwmon";
|
||||
io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>,
|
||||
<&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>;
|
||||
};
|
||||
|
||||
/*
|
||||
* GPIO-based SPI Master is required to access SPI TPM, because
|
||||
* full-duplex SPI transactions are not supported by ASPEED SPI
|
||||
* Controllers.
|
||||
*/
|
||||
spi_gpio: spi {
|
||||
status = "okay";
|
||||
compatible = "spi-gpio";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
cs-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_LOW>;
|
||||
gpio-sck = <&gpio ASPEED_GPIO(R, 3) GPIO_ACTIVE_HIGH>;
|
||||
gpio-mosi = <&gpio ASPEED_GPIO(R, 4) GPIO_ACTIVE_HIGH>;
|
||||
gpio-miso = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_HIGH>;
|
||||
num-chipselects = <1>;
|
||||
|
||||
tpm@0 {
|
||||
compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
|
||||
spi-max-frequency = <33000000>;
|
||||
reg = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
* Both firmware flashes are 128MB on Wedge400 BMC.
|
||||
*/
|
||||
&fmc_flash0 {
|
||||
/delete-node/partitions;
|
||||
#include "facebook-bmc-flash-layout-128.dtsi"
|
||||
};
|
||||
|
||||
&fmc_flash1 {
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
flash1@0 {
|
||||
reg = <0x0 0x8000000>;
|
||||
label = "flash1";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart2 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_txd2_default
|
||||
&pinctrl_rxd2_default>;
|
||||
};
|
||||
|
||||
&uart4 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_txd4_default
|
||||
&pinctrl_rxd4_default>;
|
||||
};
|
||||
|
||||
/*
|
||||
* I2C bus #0 is multi-master environment dedicated for BMC and Bridge IC
|
||||
* communication.
|
||||
*/
|
||||
&i2c0 {
|
||||
status = "okay";
|
||||
multi-master;
|
||||
bus-frequency = <1000000>;
|
||||
};
|
||||
|
||||
&i2c1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c2 {
|
||||
status = "okay";
|
||||
|
||||
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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&i2c3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c4 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c5 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c6 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c7 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c8 {
|
||||
status = "okay";
|
||||
|
||||
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>;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
&i2c9 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c10 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c11 {
|
||||
status = "okay";
|
||||
|
||||
i2c-mux@76 {
|
||||
compatible = "nxp,pca9548";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x76>;
|
||||
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>;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
&i2c12 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c13 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&adc {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ehci1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uhci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&sdhci1 {
|
||||
max-frequency = <25000000>;
|
||||
/*
|
||||
* DMA mode needs to be disabled to avoid conflicts with UHCI
|
||||
* Controller in AST2500 SoC.
|
||||
*/
|
||||
sdhci-caps-mask = <0x0 0x580000>;
|
||||
};
|
||||
|
||||
@@ -2808,6 +2808,7 @@ fsi2spi@1c00 {
|
||||
#size-cells = <0>;
|
||||
|
||||
cfam4_spi0: spi@0 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -2824,6 +2825,7 @@ eeprom@0 {
|
||||
};
|
||||
|
||||
cfam4_spi1: spi@20 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x20>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -2840,8 +2842,8 @@ eeprom@0 {
|
||||
};
|
||||
|
||||
cfam4_spi2: spi@40 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x40>;
|
||||
compatible = "ibm,fsi2spi";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
@@ -2857,8 +2859,8 @@ eeprom@0 {
|
||||
};
|
||||
|
||||
cfam4_spi3: spi@60 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x60>;
|
||||
compatible = "ibm,fsi2spi";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
@@ -3181,6 +3183,7 @@ fsi2spi@1c00 {
|
||||
#size-cells = <0>;
|
||||
|
||||
cfam5_spi0: spi@0 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -3197,6 +3200,7 @@ eeprom@0 {
|
||||
};
|
||||
|
||||
cfam5_spi1: spi@20 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x20>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -3213,8 +3217,8 @@ eeprom@0 {
|
||||
};
|
||||
|
||||
cfam5_spi2: spi@40 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x40>;
|
||||
compatible = "ibm,fsi2spi";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
@@ -3230,8 +3234,8 @@ eeprom@0 {
|
||||
};
|
||||
|
||||
cfam5_spi3: spi@60 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x60>;
|
||||
compatible = "ibm,fsi2spi";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
@@ -3554,6 +3558,7 @@ fsi2spi@1c00 {
|
||||
#size-cells = <0>;
|
||||
|
||||
cfam6_spi0: spi@0 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -3570,6 +3575,7 @@ eeprom@0 {
|
||||
};
|
||||
|
||||
cfam6_spi1: spi@20 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x20>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -3586,8 +3592,8 @@ eeprom@0 {
|
||||
};
|
||||
|
||||
cfam6_spi2: spi@40 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x40>;
|
||||
compatible = "ibm,fsi2spi";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
@@ -3603,8 +3609,8 @@ eeprom@0 {
|
||||
};
|
||||
|
||||
cfam6_spi3: spi@60 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x60>;
|
||||
compatible = "ibm,fsi2spi";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
@@ -3927,6 +3933,7 @@ fsi2spi@1c00 {
|
||||
#size-cells = <0>;
|
||||
|
||||
cfam7_spi0: spi@0 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -3943,6 +3950,7 @@ eeprom@0 {
|
||||
};
|
||||
|
||||
cfam7_spi1: spi@20 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x20>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -3959,8 +3967,8 @@ eeprom@0 {
|
||||
};
|
||||
|
||||
cfam7_spi2: spi@40 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x40>;
|
||||
compatible = "ibm,fsi2spi";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
@@ -3976,8 +3984,8 @@ eeprom@0 {
|
||||
};
|
||||
|
||||
cfam7_spi3: spi@60 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x60>;
|
||||
compatible = "ibm,fsi2spi";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
||||
@@ -54,10 +54,9 @@ video_engine_memory: jpegbuffer {
|
||||
};
|
||||
|
||||
fsi: gpio-fsi {
|
||||
compatible = "aspeed,ast2500-cf-fsi-master", "fsi-master";
|
||||
compatible = "aspeed,ast2500-cf-fsi-master";
|
||||
#address-cells = <2>;
|
||||
#size-cells = <0>;
|
||||
no-gpio-delays;
|
||||
|
||||
memory-region = <&coldfire_memory>;
|
||||
aspeed,sram = <&sram>;
|
||||
|
||||
@@ -126,6 +126,17 @@ button-uid {
|
||||
gpio = <&sgpiom0 154 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
|
||||
standby_power_regulator: standby-power-regulator {
|
||||
status = "okay";
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "standby_power";
|
||||
gpio = <&gpio0 ASPEED_GPIO(M, 3) GPIO_ACTIVE_HIGH>;
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
enable-active-high;
|
||||
regulator-always-on;
|
||||
};
|
||||
};
|
||||
|
||||
// Enable Primary flash on FMC for bring up activity
|
||||
@@ -216,6 +227,30 @@ &uart_routing {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&mdio0 {
|
||||
status = "okay";
|
||||
ethphy0: ethernet-phy@0 {
|
||||
compatible = "ethernet-phy-ieee802.3-c22";
|
||||
reg = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
&mdio3 {
|
||||
status = "okay";
|
||||
ethphy3: ethernet-phy@2 {
|
||||
compatible = "ethernet-phy-ieee802.3-c22";
|
||||
reg = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
&mac0 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
phy-mode = "rgmii-id";
|
||||
phy-handle = <ðphy3>;
|
||||
pinctrl-0 = <&pinctrl_rgmii1_default>;
|
||||
};
|
||||
|
||||
&mac2 {
|
||||
status = "okay";
|
||||
phy-mode = "rmii";
|
||||
@@ -411,7 +446,7 @@ &i2c2 {
|
||||
|
||||
// I2C4
|
||||
&i2c3 {
|
||||
status = "disabled";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
// I2C5
|
||||
@@ -431,6 +466,7 @@ exp4: gpio@21 {
|
||||
#interrupt-cells = <2>;
|
||||
interrupt-parent = <&gpio1>;
|
||||
interrupts = <ASPEED_GPIO(B, 6) IRQ_TYPE_LEVEL_LOW>;
|
||||
vcc-supply = <&standby_power_regulator>;
|
||||
gpio-line-names =
|
||||
"RTC_MUX_SEL-O",
|
||||
"PCI_MUX_SEL-O",
|
||||
@@ -464,6 +500,7 @@ i2c-mux@71 {
|
||||
#size-cells = <0>;
|
||||
reg = <0x71>;
|
||||
i2c-mux-idle-disconnect;
|
||||
vdd-supply = <&standby_power_regulator>;
|
||||
|
||||
imux16: i2c@0 {
|
||||
#address-cells = <1>;
|
||||
@@ -528,6 +565,7 @@ i2c-mux@72 {
|
||||
#size-cells = <0>;
|
||||
reg = <0x72>;
|
||||
i2c-mux-idle-disconnect;
|
||||
vdd-supply = <&standby_power_regulator>;
|
||||
|
||||
imux20: i2c@0 {
|
||||
#address-cells = <1>;
|
||||
@@ -545,6 +583,7 @@ gpio@21 {
|
||||
reg = <0x21>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
vcc-supply = <&standby_power_regulator>;
|
||||
gpio-line-names =
|
||||
"RST_CX_0_L-O",
|
||||
"RST_CX_1_L-O",
|
||||
@@ -584,6 +623,7 @@ i2c-mux@73 {
|
||||
#size-cells = <0>;
|
||||
reg = <0x73>;
|
||||
i2c-mux-idle-disconnect;
|
||||
vdd-supply = <&standby_power_regulator>;
|
||||
|
||||
imux24: i2c@0 {
|
||||
#address-cells = <1>;
|
||||
@@ -602,6 +642,7 @@ i2c-mux@70 {
|
||||
#size-cells = <0>;
|
||||
reg = <0x70>;
|
||||
i2c-mux-idle-disconnect;
|
||||
vdd-supply = <&standby_power_regulator>;
|
||||
|
||||
i2c25mux0: i2c@0 {
|
||||
#address-cells = <1>;
|
||||
@@ -648,6 +689,7 @@ i2c-mux@75 {
|
||||
#size-cells = <0>;
|
||||
reg = <0x75>;
|
||||
i2c-mux-idle-disconnect;
|
||||
vdd-supply = <&standby_power_regulator>;
|
||||
|
||||
imux28: i2c@0 {
|
||||
#address-cells = <1>;
|
||||
@@ -712,6 +754,7 @@ i2c-mux@76 {
|
||||
#size-cells = <0>;
|
||||
reg = <0x76>;
|
||||
i2c-mux-idle-disconnect;
|
||||
vdd-supply = <&standby_power_regulator>;
|
||||
|
||||
imux32: i2c@0 {
|
||||
#address-cells = <1>;
|
||||
@@ -729,6 +772,7 @@ gpio@21 {
|
||||
reg = <0x21>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
vcc-supply = <&standby_power_regulator>;
|
||||
gpio-line-names =
|
||||
"SEC_RST_CX_0_L-O",
|
||||
"SEC_RST_CX_1_L-O",
|
||||
@@ -768,6 +812,7 @@ i2c-mux@77 {
|
||||
#size-cells = <0>;
|
||||
reg = <0x77>;
|
||||
i2c-mux-idle-disconnect;
|
||||
vdd-supply = <&standby_power_regulator>;
|
||||
|
||||
imux36: i2c@0 {
|
||||
#address-cells = <1>;
|
||||
@@ -862,6 +907,7 @@ exp0: gpio@20 {
|
||||
#interrupt-cells = <2>;
|
||||
interrupt-parent = <&gpio1>;
|
||||
interrupts = <ASPEED_GPIO(B, 6) IRQ_TYPE_LEVEL_LOW>;
|
||||
vcc-supply = <&standby_power_regulator>;
|
||||
gpio-line-names =
|
||||
"FPGA_THERM_OVERT_L-I",
|
||||
"FPGA_READY_BMC-I",
|
||||
@@ -891,6 +937,7 @@ exp1: gpio@21 {
|
||||
#interrupt-cells = <2>;
|
||||
interrupt-parent = <&gpio1>;
|
||||
interrupts = <ASPEED_GPIO(B, 6) IRQ_TYPE_LEVEL_LOW>;
|
||||
vcc-supply = <&standby_power_regulator>;
|
||||
gpio-line-names =
|
||||
"SEC_FPGA_THERM_OVERT_L-I",
|
||||
"SEC_FPGA_READY_BMC-I",
|
||||
@@ -949,6 +996,7 @@ exp3: gpio@74 {
|
||||
#interrupt-cells = <2>;
|
||||
interrupt-parent = <&gpio1>;
|
||||
interrupts = <ASPEED_GPIO(B, 6) IRQ_TYPE_LEVEL_LOW>;
|
||||
vcc-supply = <&standby_power_regulator>;
|
||||
gpio-line-names =
|
||||
"IOB_PRSNT_L",
|
||||
"IOB_DP_HPD",
|
||||
@@ -1014,6 +1062,7 @@ i2c-mux@77 {
|
||||
#size-cells = <0>;
|
||||
reg = <0x77>;
|
||||
i2c-mux-idle-disconnect;
|
||||
vdd-supply = <&standby_power_regulator>;
|
||||
|
||||
e1si2c0: i2c@0 {
|
||||
#address-cells = <1>;
|
||||
@@ -1054,6 +1103,7 @@ i2c-mux@77 {
|
||||
#size-cells = <0>;
|
||||
reg = <0x77>;
|
||||
i2c-mux-idle-disconnect;
|
||||
vdd-supply = <&standby_power_regulator>;
|
||||
|
||||
e1si2c4: i2c@0 {
|
||||
#address-cells = <1>;
|
||||
@@ -1100,7 +1150,7 @@ &gpio0 {
|
||||
/*J0-J7*/ "", "", "", "", "", "", "", "",
|
||||
/*K0-K7*/ "", "", "", "", "", "", "", "",
|
||||
/*L0-L7*/ "", "", "", "", "", "", "", "",
|
||||
/*M0-M7*/ "PCIE_EP_RST_EN-O", "BMC_FRU_WP-O", "HMC_RESET_L-O", "STBY_POWER_EN-O",
|
||||
/*M0-M7*/ "PCIE_EP_RST_EN-O", "BMC_FRU_WP-O", "FPGA_RST_L-O", "STBY_POWER_EN-O",
|
||||
"STBY_POWER_PG-I", "PCIE_EP_RST_L-O", "", "",
|
||||
/*N0-N7*/ "", "", "", "", "", "", "", "",
|
||||
/*O0-O7*/ "", "", "", "", "", "", "", "",
|
||||
|
||||
@@ -63,7 +63,7 @@ sys_err {
|
||||
};
|
||||
|
||||
fsi: gpio-fsi {
|
||||
compatible = "fsi-master-gpio", "fsi-master";
|
||||
compatible = "fsi-master-gpio";
|
||||
#address-cells = <2>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
||||
@@ -165,7 +165,7 @@ fan4 {
|
||||
};
|
||||
|
||||
fsi: gpio-fsi {
|
||||
compatible = "fsi-master-gpio", "fsi-master";
|
||||
compatible = "fsi-master-gpio";
|
||||
#address-cells = <2>;
|
||||
#size-cells = <0>;
|
||||
no-gpio-delays;
|
||||
|
||||
@@ -77,10 +77,9 @@ attention {
|
||||
};
|
||||
|
||||
fsi: gpio-fsi {
|
||||
compatible = "aspeed,ast2500-cf-fsi-master", "fsi-master";
|
||||
compatible = "aspeed,ast2500-cf-fsi-master";
|
||||
#address-cells = <2>;
|
||||
#size-cells = <0>;
|
||||
no-gpio-delays;
|
||||
|
||||
memory-region = <&coldfire_memory>;
|
||||
aspeed,sram = <&sram>;
|
||||
|
||||
@@ -55,7 +55,7 @@ identify {
|
||||
};
|
||||
|
||||
fsi: gpio-fsi {
|
||||
compatible = "aspeed,ast2400-cf-fsi-master", "fsi-master";
|
||||
compatible = "aspeed,ast2400-cf-fsi-master";
|
||||
#address-cells = <2>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
||||
@@ -68,10 +68,9 @@ power {
|
||||
};
|
||||
|
||||
fsi: gpio-fsi {
|
||||
compatible = "aspeed,ast2500-cf-fsi-master", "fsi-master";
|
||||
compatible = "aspeed,ast2500-cf-fsi-master";
|
||||
#address-cells = <2>;
|
||||
#size-cells = <0>;
|
||||
no-gpio-delays;
|
||||
|
||||
memory-region = <&coldfire_memory>;
|
||||
aspeed,sram = <&sram>;
|
||||
|
||||
@@ -173,7 +173,7 @@ power-button {
|
||||
};
|
||||
|
||||
fsi: gpio-fsi {
|
||||
compatible = "fsi-master-gpio", "fsi-master";
|
||||
compatible = "fsi-master-gpio";
|
||||
#address-cells = <2>;
|
||||
#size-cells = <0>;
|
||||
no-gpio-delays;
|
||||
|
||||
@@ -96,7 +96,7 @@ hdd_fault {
|
||||
};
|
||||
|
||||
fsi: gpio-fsi {
|
||||
compatible = "fsi-master-gpio", "fsi-master";
|
||||
compatible = "fsi-master-gpio";
|
||||
#address-cells = <2>;
|
||||
#size-cells = <0>;
|
||||
no-gpio-delays;
|
||||
|
||||
@@ -847,7 +847,7 @@ i2c: bus@1e78a000 {
|
||||
|
||||
fsim0: fsi@1e79b000 {
|
||||
#interrupt-cells = <1>;
|
||||
compatible = "aspeed,ast2600-fsi-master", "fsi-master";
|
||||
compatible = "aspeed,ast2600-fsi-master";
|
||||
reg = <0x1e79b000 0x94>;
|
||||
interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
@@ -859,7 +859,7 @@ fsim0: fsi@1e79b000 {
|
||||
|
||||
fsim1: fsi@1e79b100 {
|
||||
#interrupt-cells = <1>;
|
||||
compatible = "aspeed,ast2600-fsi-master", "fsi-master";
|
||||
compatible = "aspeed,ast2600-fsi-master";
|
||||
reg = <0x1e79b100 0x94>;
|
||||
interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
@@ -31,9 +31,13 @@ spi_gpio: spi {
|
||||
#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>;
|
||||
/*
|
||||
* chipselect pins are defined in platform .dts files
|
||||
* separately.
|
||||
*/
|
||||
sck-gpios = <&gpio0 ASPEED_GPIO(X, 3) GPIO_ACTIVE_HIGH>;
|
||||
mosi-gpios = <&gpio0 ASPEED_GPIO(X, 4) GPIO_ACTIVE_HIGH>;
|
||||
miso-gpios = <&gpio0 ASPEED_GPIO(X, 5) GPIO_ACTIVE_HIGH>;
|
||||
|
||||
tpm@0 {
|
||||
compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
|
||||
@@ -152,18 +156,6 @@ &vhub {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&emmc_controller {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&emmc {
|
||||
status = "okay";
|
||||
|
||||
non-removable;
|
||||
max-frequency = <25000000>;
|
||||
bus-width = <4>;
|
||||
};
|
||||
|
||||
&rtc {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
// Copyright (c) 2020 Facebook Inc.
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
/*
|
||||
* u-boot partition: 896KB.
|
||||
*/
|
||||
u-boot@0 {
|
||||
reg = <0x0 0xe0000>;
|
||||
label = "u-boot";
|
||||
};
|
||||
|
||||
/*
|
||||
* u-boot environment variables: 64KB.
|
||||
*/
|
||||
u-boot-env@e0000 {
|
||||
reg = <0xe0000 0x10000>;
|
||||
label = "env";
|
||||
};
|
||||
|
||||
/*
|
||||
* image metadata partition (64KB), used by Facebook internal
|
||||
* tools.
|
||||
*/
|
||||
image-meta@f0000 {
|
||||
reg = <0xf0000 0x10000>;
|
||||
label = "meta";
|
||||
};
|
||||
|
||||
/*
|
||||
* FIT image: 63 MB.
|
||||
*/
|
||||
fit@100000 {
|
||||
reg = <0x100000 0x3f00000>;
|
||||
label = "fit";
|
||||
};
|
||||
|
||||
/*
|
||||
* "data0" partition (64MB) is used by Facebook BMC platforms as
|
||||
* persistent data store.
|
||||
*/
|
||||
data0@4000000 {
|
||||
reg = <0x4000000 0x4000000>;
|
||||
label = "data0";
|
||||
};
|
||||
|
||||
/*
|
||||
* Although the master partition can be created by enabling
|
||||
* MTD_PARTITIONED_MASTER option, below "flash0" partition is
|
||||
* explicitly created to avoid breaking legacy applications.
|
||||
*/
|
||||
flash0@0 {
|
||||
reg = <0x0 0x8000000>;
|
||||
label = "flash0";
|
||||
};
|
||||
};
|
||||
@@ -82,6 +82,7 @@ fsi2spi@1c00 {
|
||||
#size-cells = <0>;
|
||||
|
||||
cfam0_spi0: spi@0 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -98,6 +99,7 @@ eeprom@0 {
|
||||
};
|
||||
|
||||
cfam0_spi1: spi@20 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x20>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -114,8 +116,8 @@ eeprom@0 {
|
||||
};
|
||||
|
||||
cfam0_spi2: spi@40 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x40>;
|
||||
compatible = "ibm,fsi2spi";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
@@ -131,8 +133,8 @@ eeprom@0 {
|
||||
};
|
||||
|
||||
cfam0_spi3: spi@60 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x60>;
|
||||
compatible = "ibm,fsi2spi";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
@@ -249,6 +251,7 @@ fsi2spi@1c00 {
|
||||
#size-cells = <0>;
|
||||
|
||||
cfam1_spi0: spi@0 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -265,6 +268,7 @@ eeprom@0 {
|
||||
};
|
||||
|
||||
cfam1_spi1: spi@20 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x20>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -281,8 +285,8 @@ eeprom@0 {
|
||||
};
|
||||
|
||||
cfam1_spi2: spi@40 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x40>;
|
||||
compatible = "ibm,fsi2spi";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
@@ -298,8 +302,8 @@ eeprom@0 {
|
||||
};
|
||||
|
||||
cfam1_spi3: spi@60 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x60>;
|
||||
compatible = "ibm,fsi2spi";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
||||
@@ -733,6 +733,7 @@ fsi2spi@1c00 {
|
||||
#size-cells = <0>;
|
||||
|
||||
cfam2_spi0: spi@0 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -749,6 +750,7 @@ eeprom@0 {
|
||||
};
|
||||
|
||||
cfam2_spi1: spi@20 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x20>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -765,8 +767,8 @@ eeprom@0 {
|
||||
};
|
||||
|
||||
cfam2_spi2: spi@40 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x40>;
|
||||
compatible = "ibm,fsi2spi";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
@@ -782,8 +784,8 @@ eeprom@0 {
|
||||
};
|
||||
|
||||
cfam2_spi3: spi@60 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x60>;
|
||||
compatible = "ibm,fsi2spi";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
@@ -1106,6 +1108,7 @@ fsi2spi@1c00 {
|
||||
#size-cells = <0>;
|
||||
|
||||
cfam3_spi0: spi@0 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -1122,6 +1125,7 @@ eeprom@0 {
|
||||
};
|
||||
|
||||
cfam3_spi1: spi@20 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x20>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -1138,8 +1142,8 @@ eeprom@0 {
|
||||
};
|
||||
|
||||
cfam3_spi2: spi@40 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x40>;
|
||||
compatible = "ibm,fsi2spi";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
@@ -1155,8 +1159,8 @@ eeprom@0 {
|
||||
};
|
||||
|
||||
cfam3_spi3: spi@60 {
|
||||
compatible = "ibm,spi-fsi";
|
||||
reg = <0x60>;
|
||||
compatible = "ibm,fsi2spi";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user