ASPEED device tree updates for 6.2

- New machines
 
   * IBM Bonnell AST2600 BMC, for a Power10 server
   * Delta AHE-50DC AST1250 BMC, for a 1U Open19 power shelf
 
  - Removed machines
 
   * IBM Mihawk AST2500 BMC, a Power9 server similar to Witherspoon
 
  - Fixes and updates for bletchley, mtjade/mtmitchell, rainier/everest
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE+nHMAt9PCBDH63wBa3ZZB4FHcJ4FAmN8HNsACgkQa3ZZB4FH
 cJ7t0g//QslK6GjSqwDlGiiSAzLTOFgKqN1NFrxv/ad+OAsBRbcLXLXzF0JTPIba
 Wk5kGZYFEHOqbxwGEPhuZOY3j452x1yvYIhG34B3RSverrexUswY+ipkm+gqXqzd
 oLbvBKFEmPKuYb79Cb8PG24Y1pekSpWz0X0wi8gjy0wgkH0x0UDsagXPWzUCncG9
 2sg1ROqcITlVFw4nZHZXIQnLxRKPM4DLCrH5r6fFBbs9QMPLXZAnOFmGiFKu5JFk
 C1morX+wuxGfBInOgkecTJH1706CnpykkeZK5SpDoV4xx649B0c+59pyeGh3aEFd
 ST7BgxTSvkshQ9skScfsW+xGxgjdo+H55sudarioCKlbEG3Nm9fbt/cn7XM7cfRy
 qLYC85DIM6y6MFSlmLOLjF0mzRDF6sZdibqL9WL/yy6+3TMo1v9WXKsyLwzP6R10
 gN+q2OnDm8WhGerOg3siZMwf0P0nVoGAdr7on1DWd+1uH5LTNUn6qKYHxzomcVQA
 vAyHPCDjpPE5AOr893AR7xEiBw4K7+lUtW6Pue0tJdpX3XZIfjqixMS6Xu9uv9Ap
 FgQo1G9O6AveljVQ3fzBi1fqgwfE5bHEqNQzEFp6fNEgkV13cp2yBYrqB7jLkQUN
 munRuiRWYQmTOr+w++FYLUwgxx+9zgbctNQbgL0ikbryZf2rPbE=
 =yXv9
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmN+BB0ACgkQmmx57+YA
 GNlWVw//UYCgzkJXVyMwbEXp2L4AlHSVXWxcznZwvNi/Bzp8CuGv1PUT9POoOn/r
 74I373Lw3/rF7KthO3YDFBGeVucwr1+IwsG7HmVVCTYfRD8AleUndCXXcnRpV31p
 nPJZA+iIgFwhvdz9b/CmF07vAmQuQENiOUC6nBegPqw3MtP14W0mxzX50801DJHY
 fWJX22qnYR69QyYao4UeuO1rV5u+YiovGS9Ort5Pp1Ff4j/RPNK3sgKRytF7dyKZ
 I5T3k+cME5i/jduUxtETSJJuidHl47+mGk2x1us2elnXrfszTsXuSzYPR3+D1J3Q
 rH8x+0QJCL0Z0jXkShwM+uT4FF/dTYQpcb8h1iQczVp3pcYeEr5jJtpoxOAz1P4X
 CWI6uhBOOTveQy8v8Pr+2QnJJ3yoZ3qh/fnMIpbbSXYP7fxo/8MrD2EczWKPLU9f
 RStTJyMwgjPTtQAbFyvVslWMzgmD0To2PKm3Yyrc0Qn63vgTyPlc1D9b5VfL0diE
 89Qh+en6OFUMgHTjg8xwdawcwrQH/ig0tPa9Hjthq/NgpVuImbZKM6zeHHq2tro4
 EdT9Bb8lvLb7bSpdtvkiCYdNpqKJ4NwaZEQ4D1PMQUGPeVQQruyOf8+4jxgAkfTe
 AFFoofxBw2UepFXsX9mR44Omo1i/tlOucVtm1dXmgsRJDiHbPNk=
 =zCUY
 -----END PGP SIGNATURE-----

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

ASPEED device tree updates for 6.2

 - New machines

  * IBM Bonnell AST2600 BMC, for a Power10 server
  * Delta AHE-50DC AST1250 BMC, for a 1U Open19 power shelf

 - Removed machines

  * IBM Mihawk AST2500 BMC, a Power9 server similar to Witherspoon

 - Fixes and updates for bletchley, mtjade/mtmitchell, rainier/everest

* tag 'aspeed-6.2-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc:
  ARM: dts: aspeed: mtjade: Add SMPro nodes
  ARM: dts: aspeed: mtjade,mtmitchell: Add BMC SSIF nodes
  ARM: dts: aspeed: Add Delta AHE-50DC BMC
  dt-bindings: arm: aspeed: document Delta AHE-50DC BMC
  ARM: dts: aspeed: rainier: Fix pca9551 nodes
  ARM: dts: aspeed: p10bmc: Add occ-hwmon nodes
  ARM: dts: aspeed-g6: Add aliases for mdio nodes
  ARM: dts: aspeed: Remove Mihawk
  ARM: dts: aspeed: rainier,everest: Move reserved memory regions
  ARM: dts: aspeed: Add IBM Bonnell system BMC devicetree
  ARM: dts: aspeed: bletchley: Enable emmc and ehci1
  ARM: dts: aspeed: bletchley: Update and fix gpio-line-names
  ARM: dts: aspeed: bletchley: Update fusb302 nodes
  ARM: dts: aspeed: bletchley: Bind presence-sledX pins via gpio-keys
  ARM: dts: aspeed: bletchley: Disable GPIOV2 pull-down
  ARM: dts: aspeed: bletchley: Change LED sys_log_id to active low

Link: https://lore.kernel.org/r/CACPK8Xfsc8BaL_qAgV+3Rk-AFcQoDVfTpMzHvq_rR-UYqwpNNQ@mail.gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann 2022-11-23 12:29:23 +01:00
commit 375aab1018
11 changed files with 1705 additions and 1553 deletions

View File

@ -17,6 +17,7 @@ properties:
- description: AST2400 based boards
items:
- enum:
- delta,ahe50dc-bmc
- facebook,galaxy100-bmc
- facebook,wedge100-bmc
- facebook,wedge40-bmc

View File

@ -1592,6 +1592,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
aspeed-bmc-asrock-e3c246d4i.dtb \
aspeed-bmc-asrock-romed8hm3.dtb \
aspeed-bmc-bytedance-g220a.dtb \
aspeed-bmc-delta-ahe50dc.dtb \
aspeed-bmc-facebook-bletchley.dtb \
aspeed-bmc-facebook-cloudripper.dtb \
aspeed-bmc-facebook-cmm.dtb \
@ -1605,6 +1606,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
aspeed-bmc-facebook-wedge400.dtb \
aspeed-bmc-facebook-yamp.dtb \
aspeed-bmc-facebook-yosemitev2.dtb \
aspeed-bmc-ibm-bonnell.dtb \
aspeed-bmc-ibm-everest.dtb \
aspeed-bmc-ibm-rainier.dtb \
aspeed-bmc-ibm-rainier-1s4u.dtb \
@ -1616,7 +1618,6 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
aspeed-bmc-lenovo-hr855xg2.dtb \
aspeed-bmc-microsoft-olympus.dtb \
aspeed-bmc-opp-lanyang.dtb \
aspeed-bmc-opp-mihawk.dtb \
aspeed-bmc-opp-mowgli.dtb \
aspeed-bmc-opp-nicole.dtb \
aspeed-bmc-opp-palmetto.dtb \

View File

@ -342,6 +342,10 @@ &mac1 {
&i2c0 {
status = "okay";
ssif-bmc@10 {
compatible = "ssif-bmc";
reg = <0x10>;
};
};
&i2c1 {
@ -350,6 +354,14 @@ &i2c1 {
&i2c2 {
status = "okay";
smpro@4f {
compatible = "ampere,smpro";
reg = <0x4f>;
};
smpro@4e {
compatible = "ampere,smpro";
reg = <0x4e>;
};
};
&i2c3 {

View File

@ -445,6 +445,10 @@ &i2c9 {
&i2c11 {
status = "okay";
ssif-bmc@10 {
compatible = "ssif-bmc";
reg = <0x10>;
};
};
&i2c14 {

View File

@ -0,0 +1,418 @@
// SPDX-License-Identifier: GPL-2.0+
/dts-v1/;
#include "aspeed-g4.dtsi"
#include <dt-bindings/gpio/aspeed-gpio.h>
#define EFUSE_OUTPUT(n) \
efuse##n { \
compatible = "regulator-output"; \
vout-supply = <&efuse##n>; \
}
#define __stringify(x) #x
#define EFUSE(hexaddr, num) \
efuse@##hexaddr { \
compatible = "lm25066"; \
reg = <0x##hexaddr>; \
shunt-resistor-micro-ohms = <675>; \
regulators { \
efuse##num: vout0 { \
regulator-name = __stringify(efuse##num##-reg); \
}; \
}; \
}
/{
model = "Delta Power AHE-50DC";
compatible = "delta,ahe50dc-bmc", "aspeed,ast2400";
aliases {
serial4 = &uart5;
/*
* pca9541-arbitrated logical i2c buses are numbered as the
* corresponding physical bus plus 20
*/
i2c20 = &i2carb0;
i2c21 = &i2carb1;
i2c22 = &i2carb2;
i2c23 = &i2carb3;
i2c24 = &i2carb4;
i2c26 = &i2carb6;
i2c27 = &i2carb7;
i2c28 = &i2carb8;
i2c32 = &i2carb12;
};
chosen {
stdout-path = &uart3;
bootargs = "console=ttyS2,115200n8 earlycon";
};
memory@40000000 {
reg = <0x40000000 0x10000000>;
};
leds {
compatible = "gpio-leds";
heartbeat {
gpios = <&gpio ASPEED_GPIO(P, 0) GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
};
panic {
gpios = <&gpio ASPEED_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
linux,default-trigger = "panic";
};
};
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>;
};
EFUSE_OUTPUT(01);
EFUSE_OUTPUT(02);
EFUSE_OUTPUT(03);
EFUSE_OUTPUT(04);
EFUSE_OUTPUT(05);
EFUSE_OUTPUT(06);
EFUSE_OUTPUT(07);
EFUSE_OUTPUT(08);
EFUSE_OUTPUT(09);
EFUSE_OUTPUT(10);
EFUSE_OUTPUT(11);
EFUSE_OUTPUT(12);
EFUSE_OUTPUT(13);
EFUSE_OUTPUT(14);
EFUSE_OUTPUT(15);
EFUSE_OUTPUT(16);
EFUSE_OUTPUT(17);
EFUSE_OUTPUT(18);
EFUSE_OUTPUT(19);
EFUSE_OUTPUT(20);
EFUSE_OUTPUT(21);
EFUSE_OUTPUT(22);
EFUSE_OUTPUT(23);
EFUSE_OUTPUT(24);
EFUSE_OUTPUT(25);
EFUSE_OUTPUT(26);
EFUSE_OUTPUT(27);
EFUSE_OUTPUT(28);
EFUSE_OUTPUT(29);
EFUSE_OUTPUT(30);
EFUSE_OUTPUT(31);
EFUSE_OUTPUT(32);
EFUSE_OUTPUT(33);
EFUSE_OUTPUT(34);
EFUSE_OUTPUT(35);
EFUSE_OUTPUT(36);
EFUSE_OUTPUT(37);
EFUSE_OUTPUT(38);
EFUSE_OUTPUT(39);
EFUSE_OUTPUT(40);
EFUSE_OUTPUT(41);
EFUSE_OUTPUT(42);
EFUSE_OUTPUT(43);
EFUSE_OUTPUT(44);
EFUSE_OUTPUT(45);
EFUSE_OUTPUT(46);
EFUSE_OUTPUT(47);
EFUSE_OUTPUT(48);
EFUSE_OUTPUT(49);
EFUSE_OUTPUT(50);
};
&fmc {
status = "okay";
flash@0 {
status = "okay";
m25p,fast-read;
label = "flash0";
spi-max-frequency = <50000000>; // 50 MHz
#include "openbmc-flash-layout.dtsi"
};
};
&uart3 {
status = "okay";
};
&mac1 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
};
&i2c0 {
status = "okay";
bus-frequency = <200000>;
pca9541@79 {
compatible = "nxp,pca9541";
reg = <0x79>;
i2carb0: i2c-arb {
#address-cells = <1>;
#size-cells = <0>;
/* lm25066 efuses @ 10-17, 40-47, 50-57 */
EFUSE(10, 03);
EFUSE(11, 04);
EFUSE(12, 01);
EFUSE(13, 02);
EFUSE(14, 13);
EFUSE(15, 14);
EFUSE(16, 15);
EFUSE(17, 16);
EFUSE(40, 12);
EFUSE(41, 11);
EFUSE(42, 10);
EFUSE(43, 09);
EFUSE(44, 08);
EFUSE(45, 07);
EFUSE(46, 05);
EFUSE(47, 06);
EFUSE(50, 17);
EFUSE(51, 18);
EFUSE(52, 20);
EFUSE(53, 19);
EFUSE(54, 22);
EFUSE(55, 21);
EFUSE(56, 24);
EFUSE(57, 23);
};
};
};
&i2c1 {
status = "okay";
bus-frequency = <200000>;
pca9541@72 {
compatible = "nxp,pca9541";
reg = <0x72>;
i2carb1: i2c-arb {
#address-cells = <1>;
#size-cells = <0>;
};
};
};
&i2c2 {
status = "okay";
bus-frequency = <200000>;
pca9541@73 {
compatible = "nxp,pca9541";
reg = <0x73>;
i2carb2: i2c-arb {
#address-cells = <1>;
#size-cells = <0>;
};
};
};
&i2c3 {
status = "okay";
bus-frequency = <200000>;
pca9541@74 {
compatible = "nxp,pca9541";
reg = <0x74>;
i2carb3: i2c-arb {
#address-cells = <1>;
#size-cells = <0>;
};
};
};
&i2c4 {
status = "okay";
bus-frequency = <200000>;
pca9541@7a {
compatible = "nxp,pca9541";
reg = <0x7a>;
i2carb4: i2c-arb {
#address-cells = <1>;
#size-cells = <0>;
gpio@20 {
compatible = "nxp,pca9534";
reg = <0x20>;
gpio-controller;
#gpio-cells = <2>;
};
/* lm25066 efuses @ 10-17, 40-47, 50-57, 59, 5a */
EFUSE(10, 27);
EFUSE(11, 28);
EFUSE(12, 25);
EFUSE(13, 26);
EFUSE(14, 37);
EFUSE(15, 38);
EFUSE(16, 39);
EFUSE(17, 40);
EFUSE(40, 36);
EFUSE(41, 35);
EFUSE(42, 34);
EFUSE(43, 33);
EFUSE(44, 32);
EFUSE(45, 31);
EFUSE(46, 29);
EFUSE(47, 30);
EFUSE(50, 41);
EFUSE(51, 42);
EFUSE(52, 44);
EFUSE(53, 43);
EFUSE(54, 46);
EFUSE(55, 45);
EFUSE(56, 48);
EFUSE(57, 47);
EFUSE(59, 49);
EFUSE(5a, 50);
};
};
};
&i2c6 {
status = "okay";
bus-frequency = <200000>;
pca9541@75 {
compatible = "nxp,pca9541";
reg = <0x75>;
i2carb6: i2c-arb {
#address-cells = <1>;
#size-cells = <0>;
};
};
};
&i2c7 {
status = "okay";
bus-frequency = <200000>;
pca9541@76 {
compatible = "nxp,pca9541";
reg = <0x76>;
i2carb7: i2c-arb {
#address-cells = <1>;
#size-cells = <0>;
};
};
};
&i2c8 {
status = "okay";
bus-frequency = <200000>;
pca9541@7c {
compatible = "nxp,pca9541";
reg = <0x7c>;
i2carb8: i2c-arb {
#address-cells = <1>;
#size-cells = <0>;
fancontrol@30 {
compatible = "delta,ahe50dc-fan";
reg = <0x30>;
};
/* Baseboard FRU eeprom */
eeprom@50 {
compatible = "atmel,24c02";
reg = <0x50>;
};
};
};
};
&i2c12 {
status = "okay";
bus-frequency = <200000>;
pca9541@71 {
compatible = "nxp,pca9541";
reg = <0x71>;
i2carb12: i2c-arb {
#address-cells = <1>;
#size-cells = <0>;
};
};
};
&gpio {
status = "okay";
gpio-line-names =
/* A */ "", "", "", "", "", "", "", "",
/* B */ "", "", "", "", "", "", "", "",
/* C */ "RESET_PEER_N", "HEARTBEAT_OUT", "", "", "", "", "", "",
/* D */ "", "", "", "", "", "", "", "",
/* E */ "DOOM_N", "", "", "", "", "LED_PWR_BLUE", "", "",
/* F */ "", "", "", "", "", "", "", "",
/* G */ "", "", "", "", "", "", "", "",
/* H */ "", "", "", "", "", "", "", "",
/* I */ "", "", "", "", "", "", "", "",
/* J */ "", "", "BMC_ID", "", "", "", "", "",
/* K */ "", "", "", "", "", "", "", "",
/* L */ "", "", "", "", "", "", "", "",
/* M */ "", "", "", "", "", "", "", "",
/* N */ "", "", "", "", "", "", "", "",
/* O */ "", "", "", "", "", "", "", "",
/* P */ "LED_GREEN", "", "LED_RED", "", "", "", "", "",
/* Q */ "", "", "", "", "", "", "", "",
/* R */ "", "", "", "", "", "", "", "",
/* S */ "", "", "", "", "", "", "", "",
/* T */ "", "", "", "", "", "", "", "",
/* U */ "", "", "", "", "", "", "", "",
/* V */ "", "", "", "", "", "", "", "",
/* W */ "", "", "", "", "", "", "", "",
/* X */ "", "", "", "", "", "", "", "",
/* Y */ "HEARTBEAT_IN", "BOARDREV0", "BOARDREV1", "",
/* Z */ "", "", "", "", "", "", "", "",
/* AA */ "", "", "", "", "", "", "", "",
/* AB */ "", "", "", "";
/*
* I don't rightly know what this GPIO really *is*, but setting it to
* zero causes the fans to run at full speed, after which setting it
* back to one causes a power output glitch, so install a hog to keep
* it at one as a failsafe to ensure nothing accidentally touches it.
*/
doom-guardrail {
gpio-hog;
gpios = <ASPEED_GPIO(E, 0) GPIO_ACTIVE_LOW>;
output-low;
};
};
&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>;
};

View File

@ -60,7 +60,7 @@ front_gpio_leds {
compatible = "gpio-leds";
sys_log_id {
default-state = "off";
gpios = <&front_leds 0 GPIO_ACTIVE_HIGH>;
gpios = <&front_leds 0 GPIO_ACTIVE_LOW>;
};
};
@ -191,6 +191,95 @@ sled6_blue {
gpios = <&sled6_leds 1 GPIO_ACTIVE_LOW>;
};
};
gpio-keys {
compatible = "gpio-keys";
presence-sled1 {
label = "presence-sled1";
gpios = <&gpio0 ASPEED_GPIO(H, 2) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(H, 2)>;
};
presence-sled2 {
label = "presence-sled2";
gpios = <&gpio0 ASPEED_GPIO(H, 3) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(H, 3)>;
};
presence-sled3 {
label = "presence-sled3";
gpios = <&gpio0 ASPEED_GPIO(H, 4) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(H, 4)>;
};
presence-sled4 {
label = "presence-sled4";
gpios = <&gpio0 ASPEED_GPIO(H, 5) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(H, 5)>;
};
presence-sled5 {
label = "presence-sled5";
gpios = <&gpio0 ASPEED_GPIO(H, 6) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(H, 6)>;
};
presence-sled6 {
label = "presence-sled6";
gpios = <&gpio0 ASPEED_GPIO(H, 7) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(H, 7)>;
};
};
vbus_sled1: vbus_sled1 {
compatible = "regulator-fixed";
regulator-name = "vbus_sled1";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&sled1_ioexp 1 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
vbus_sled2: vbus_sled2 {
compatible = "regulator-fixed";
regulator-name = "vbus_sled2";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&sled2_ioexp 1 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
vbus_sled3: vbus_sled3 {
compatible = "regulator-fixed";
regulator-name = "vbus_sled3";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&sled3_ioexp 1 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
vbus_sled4: vbus_sled4 {
compatible = "regulator-fixed";
regulator-name = "vbus_sled4";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&sled4_ioexp 1 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
vbus_sled5: vbus_sled5 {
compatible = "regulator-fixed";
regulator-name = "vbus_sled5";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&sled5_ioexp 1 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
vbus_sled6: vbus_sled6 {
compatible = "regulator-fixed";
regulator-name = "vbus_sled6";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&sled6_ioexp 1 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
};
&mac2 {
@ -302,17 +391,17 @@ sled1_fusb302: typec-portc@22 {
compatible = "fcs,fusb302";
reg = <0x22>;
interrupt-parent = <&gpio0>;
interrupts = <ASPEED_GPIO(B, 0) IRQ_TYPE_LEVEL_LOW>;
vbus-supply = <&vbus_sled1>;
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>;
power-role = "source";
data-role = "host";
pd-disable;
typec-power-opmode = "default";
};
};
@ -388,17 +477,17 @@ sled2_fusb302: typec-portc@22 {
compatible = "fcs,fusb302";
reg = <0x22>;
interrupt-parent = <&gpio0>;
interrupts = <ASPEED_GPIO(B, 1) IRQ_TYPE_LEVEL_LOW>;
vbus-supply = <&vbus_sled2>;
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>;
power-role = "source";
data-role = "host";
pd-disable;
typec-power-opmode = "default";
};
};
@ -474,17 +563,17 @@ sled3_fusb302: typec-portc@22 {
compatible = "fcs,fusb302";
reg = <0x22>;
interrupt-parent = <&gpio0>;
interrupts = <ASPEED_GPIO(B, 7) IRQ_TYPE_LEVEL_LOW>;
vbus-supply = <&vbus_sled3>;
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>;
power-role = "source";
data-role = "host";
pd-disable;
typec-power-opmode = "default";
};
};
@ -560,17 +649,17 @@ sled4_fusb302: typec-portc@22 {
compatible = "fcs,fusb302";
reg = <0x22>;
interrupt-parent = <&gpio0>;
interrupts = <ASPEED_GPIO(S, 7) IRQ_TYPE_LEVEL_LOW>;
vbus-supply = <&vbus_sled4>;
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>;
power-role = "source";
data-role = "host";
pd-disable;
typec-power-opmode = "default";
};
};
@ -646,17 +735,17 @@ sled5_fusb302: typec-portc@22 {
compatible = "fcs,fusb302";
reg = <0x22>;
interrupt-parent = <&gpio0>;
interrupts = <ASPEED_GPIO(Y, 3) IRQ_TYPE_LEVEL_LOW>;
vbus-supply = <&vbus_sled5>;
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>;
power-role = "source";
data-role = "host";
pd-disable;
typec-power-opmode = "default";
};
};
@ -732,17 +821,17 @@ sled6_fusb302: typec-portc@22 {
compatible = "fcs,fusb302";
reg = <0x22>;
interrupt-parent = <&gpio0>;
interrupts = <ASPEED_GPIO(I, 7) IRQ_TYPE_LEVEL_LOW>;
vbus-supply = <&vbus_sled6>;
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>;
power-role = "source";
data-role = "host";
pd-disable;
typec-power-opmode = "default";
};
};
@ -863,6 +952,9 @@ ipmb13@10 {
};
&gpio0 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_gpiov2_unbiased_default>;
gpio-line-names =
/*A0-A7*/ "","","","","","","","",
/*B0-B7*/ "FUSB302_SLED1_INT_N","FUSB302_SLED2_INT_N",
@ -892,11 +984,11 @@ &gpio0 {
/*M0-M7*/ "ALERT_SLED1_N","ALERT_SLED2_N",
"ALERT_SLED3_N","ALERT_SLED4_N",
"ALERT_SLED5_N","ALERT_SLED6_N",
"","",
"","USB_DEBUG_PWR_BTN_N",
/*N0-N7*/ "LED_POSTCODE_0","LED_POSTCODE_1",
"LED_POSTCODE_2","LED_POSTCODE_3",
"LED_POSTCODE_4","LED_POSTCODE_5",
"LED_POSTCODE_5","LED_POSTCODE_7",
"LED_POSTCODE_6","LED_POSTCODE_7",
/*O0-O7*/ "","","","",
"","BOARD_ID0","BOARD_ID1","BOARD_ID2",
/*P0-P7*/ "","","","","","","","BMC_HEARTBEAT",
@ -953,3 +1045,22 @@ &mdio3 {
&ehci0 {
status = "okay";
};
&ehci1 {
status = "okay";
};
&emmc_controller {
status = "okay";
};
&emmc {
status = "okay";
};
&pinctrl {
pinctrl_gpiov2_unbiased_default: gpiov2 {
pins = "AD14";
bias-disable;
};
};

View File

@ -0,0 +1,921 @@
// SPDX-License-Identifier: GPL-2.0-or-later
// Copyright 2022 IBM Corp.
/dts-v1/;
#include "aspeed-g6.dtsi"
#include <dt-bindings/gpio/aspeed-gpio.h>
#include <dt-bindings/i2c/i2c.h>
#include <dt-bindings/leds/leds-pca955x.h>
/ {
model = "Bonnell";
compatible = "ibm,bonnell-bmc", "aspeed,ast2600";
aliases {
i2c100 = &cfam0_i2c0;
i2c101 = &cfam0_i2c1;
i2c110 = &cfam0_i2c10;
i2c111 = &cfam0_i2c11;
i2c112 = &cfam0_i2c12;
i2c113 = &cfam0_i2c13;
i2c114 = &cfam0_i2c14;
i2c115 = &cfam0_i2c15;
i2c202 = &cfam1_i2c2;
i2c203 = &cfam1_i2c3;
i2c210 = &cfam1_i2c10;
i2c211 = &cfam1_i2c11;
i2c214 = &cfam1_i2c14;
i2c215 = &cfam1_i2c15;
i2c216 = &cfam1_i2c16;
i2c217 = &cfam1_i2c17;
serial4 = &uart5;
i2c16 = &i2c11mux0chn0;
i2c17 = &i2c11mux0chn1;
i2c18 = &i2c11mux0chn2;
i2c19 = &i2c11mux0chn3;
spi10 = &cfam0_spi0;
spi11 = &cfam0_spi1;
spi12 = &cfam0_spi2;
spi13 = &cfam0_spi3;
spi20 = &cfam1_spi0;
spi21 = &cfam1_spi1;
spi22 = &cfam1_spi2;
spi23 = &cfam1_spi3;
};
chosen {
stdout-path = &uart5;
bootargs = "console=ttyS4,115200n8 earlycon";
};
memory@80000000 {
device_type = "memory";
reg = <0x80000000 0x40000000>;
};
reserved-memory {
#address-cells = <1>;
#size-cells = <1>;
ranges;
ramoops@b3e00000 {
compatible = "ramoops";
reg = <0xb3e00000 0x200000>; /* 16 * (4 * 0x8000) */
record-size = <0x8000>;
console-size = <0x8000>;
ftrace-size = <0x8000>;
pmsg-size = <0x8000>;
max-reason = <3>; /* KMSG_DUMP_EMERG */
};
/* LPC FW cycle bridge region requires natural alignment */
flash_memory: region@b4000000 {
no-map;
reg = <0xb4000000 0x04000000>; /* 64M */
};
/* VGA region is dictated by hardware strapping */
vga_memory: region@bf000000 {
no-map;
compatible = "shared-dma-pool";
reg = <0xbf000000 0x01000000>; /* 16M */
};
};
leds {
compatible = "gpio-leds";
fan0 {
gpios = <&gpio0 ASPEED_GPIO(G, 0) GPIO_ACTIVE_LOW>;
};
fan1 {
gpios = <&gpio0 ASPEED_GPIO(G, 1) GPIO_ACTIVE_LOW>;
};
rear-enc-id0 {
gpios = <&gpio0 ASPEED_GPIO(H, 2) GPIO_ACTIVE_LOW>;
};
rear-enc-fault0 {
gpios = <&gpio0 ASPEED_GPIO(H, 3) GPIO_ACTIVE_LOW>;
};
};
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <1000>;
fan0-presence {
label = "fan0-presence";
gpios = <&gpio0 ASPEED_GPIO(F, 4) GPIO_ACTIVE_LOW>;
linux,code = <6>;
};
fan1-presence {
label = "fan1-presence";
gpios = <&gpio0 ASPEED_GPIO(F, 5) GPIO_ACTIVE_LOW>;
linux,code = <7>;
};
};
iio-hwmon-battery {
compatible = "iio-hwmon";
io-channels = <&adc1 7>;
};
};
&adc1 {
status = "okay";
aspeed,int-vref-microvolt = <2500000>;
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>;
};
&ehci1 {
status = "okay";
};
&uhci {
status = "okay";
};
&gpio0 {
gpio-line-names =
/*A0-A7*/ "","","","","","","","",
/*B0-B7*/ "","","","","","","checkstop","",
/*C0-C7*/ "","","","","","","","",
/*D0-D7*/ "","","","","","","","",
/*E0-E7*/ "","","","","","","","",
/*F0-F7*/ "","","rtc-battery-voltage-read-enable","reset-cause-pinhole","","","","",
/*G0-G7*/ "fan0","fan1","","","","","","",
/*H0-H7*/ "","","rear-enc-id0","rear-enc-fault0","","","","",
/*I0-I7*/ "","","","","","","bmc-secure-boot","",
/*J0-J7*/ "","","","","","","","",
/*K0-K7*/ "","","","","","","","",
/*L0-L7*/ "","","","","","","","",
/*M0-M7*/ "","","","","","","","",
/*N0-N7*/ "","","","","","","","",
/*O0-O7*/ "","","","usb-power","","","","",
/*P0-P7*/ "","","","","","","","",
/*Q0-Q7*/ "cfam-reset","","regulator-standby-faulted","","","","","",
/*R0-R7*/ "bmc-tpm-reset","power-chassis-control","power-chassis-good","","","","","",
/*S0-S7*/ "presence-ps0","presence-ps1","","","power-ffs-sync-history","","","",
/*T0-T7*/ "","","","","","","","",
/*U0-U7*/ "","","","","","","","",
/*V0-V7*/ "","","","","","","","",
/*W0-W7*/ "","","","","","","","",
/*X0-X7*/ "","","","","","","","",
/*Y0-Y7*/ "","","","","","","","",
/*Z0-Z7*/ "","","","","","","","";
usb_power {
gpio-hog;
gpios = <ASPEED_GPIO(O, 3) GPIO_ACTIVE_LOW>;
output-high;
};
};
&emmc_controller {
status = "okay";
};
&pinctrl_emmc_default {
bias-disable;
};
&emmc {
status = "okay";
clk-phase-mmc-hs200 = <180>, <180>;
};
&fsim0 {
status = "okay";
#address-cells = <2>;
#size-cells = <0>;
cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_HIGH>;
cfam@0,0 {
reg = <0 0>;
#address-cells = <1>;
#size-cells = <1>;
chip-id = <0>;
scom@1000 {
compatible = "ibm,fsi2pib";
reg = <0x1000 0x400>;
};
i2c@1800 {
compatible = "ibm,fsi-i2c-master";
reg = <0x1800 0x400>;
#address-cells = <1>;
#size-cells = <0>;
cfam0_i2c0: i2c-bus@0 {
reg = <0>; /* OMI01 */
};
cfam0_i2c1: i2c-bus@1 {
reg = <1>; /* OMI23 */
};
cfam0_i2c10: i2c-bus@a {
reg = <10>; /* OP3A */
};
cfam0_i2c11: i2c-bus@b {
reg = <11>; /* OP3B */
};
cfam0_i2c12: i2c-bus@c {
reg = <12>; /* OP4A */
};
cfam0_i2c13: i2c-bus@d {
reg = <13>; /* OP4B */
};
cfam0_i2c14: i2c-bus@e {
reg = <14>; /* OP5A */
};
cfam0_i2c15: i2c-bus@f {
reg = <15>; /* OP5B */
};
};
fsi2spi@1c00 {
compatible = "ibm,fsi2spi";
reg = <0x1c00 0x400>;
#address-cells = <1>;
#size-cells = <0>;
cfam0_spi0: spi@0 {
reg = <0x0>;
#address-cells = <1>;
#size-cells = <0>;
eeprom@0 {
at25,byte-len = <0x80000>;
at25,addr-mode = <4>;
at25,page-size = <256>;
compatible = "atmel,at25";
reg = <0>;
spi-max-frequency = <1000000>;
};
};
cfam0_spi1: spi@20 {
reg = <0x20>;
#address-cells = <1>;
#size-cells = <0>;
eeprom@0 {
at25,byte-len = <0x80000>;
at25,addr-mode = <4>;
at25,page-size = <256>;
compatible = "atmel,at25";
reg = <0>;
spi-max-frequency = <1000000>;
};
};
cfam0_spi2: spi@40 {
reg = <0x40>;
compatible = "ibm,fsi2spi-restricted";
#address-cells = <1>;
#size-cells = <0>;
eeprom@0 {
at25,byte-len = <0x80000>;
at25,addr-mode = <4>;
at25,page-size = <256>;
compatible = "atmel,at25";
reg = <0>;
spi-max-frequency = <1000000>;
};
};
cfam0_spi3: spi@60 {
reg = <0x60>;
compatible = "ibm,fsi2spi-restricted";
#address-cells = <1>;
#size-cells = <0>;
eeprom@0 {
at25,byte-len = <0x80000>;
at25,addr-mode = <4>;
at25,page-size = <256>;
compatible = "atmel,at25";
reg = <0>;
spi-max-frequency = <1000000>;
};
};
};
sbefifo@2400 {
compatible = "ibm,p9-sbefifo";
reg = <0x2400 0x400>;
#address-cells = <1>;
#size-cells = <0>;
fsi_occ0: occ {
compatible = "ibm,p10-occ";
occ-hwmon {
compatible = "ibm,p10-occ-hwmon";
ibm,no-poll-on-init;
};
};
};
fsi_hub0: hub@3400 {
compatible = "fsi-master-hub";
reg = <0x3400 0x400>;
#address-cells = <2>;
#size-cells = <0>;
};
};
};
&fsi_hub0 {
cfam@1,0 {
reg = <1 0>;
#address-cells = <1>;
#size-cells = <1>;
chip-id = <1>;
scom@1000 {
compatible = "ibm,fsi2pib";
reg = <0x1000 0x400>;
};
i2c@1800 {
compatible = "ibm,fsi-i2c-master";
reg = <0x1800 0x400>;
#address-cells = <1>;
#size-cells = <0>;
cfam1_i2c2: i2c-bus@2 {
reg = <2>; /* OMI45 */
};
cfam1_i2c3: i2c-bus@3 {
reg = <3>; /* OMI67 */
};
cfam1_i2c10: i2c-bus@a {
reg = <10>; /* OP3A */
};
cfam1_i2c11: i2c-bus@b {
reg = <11>; /* OP3B */
};
cfam1_i2c14: i2c-bus@e {
reg = <14>; /* OP5A */
};
cfam1_i2c15: i2c-bus@f {
reg = <15>; /* OP5B */
};
cfam1_i2c16: i2c-bus@10 {
reg = <16>; /* OP6A */
};
cfam1_i2c17: i2c-bus@11 {
reg = <17>; /* OP6B */
};
};
fsi2spi@1c00 {
compatible = "ibm,fsi2spi";
reg = <0x1c00 0x400>;
#address-cells = <1>;
#size-cells = <0>;
cfam1_spi0: spi@0 {
reg = <0x0>;
#address-cells = <1>;
#size-cells = <0>;
eeprom@0 {
at25,byte-len = <0x80000>;
at25,addr-mode = <4>;
at25,page-size = <256>;
compatible = "atmel,at25";
reg = <0>;
spi-max-frequency = <1000000>;
};
};
cfam1_spi1: spi@20 {
reg = <0x20>;
#address-cells = <1>;
#size-cells = <0>;
eeprom@0 {
at25,byte-len = <0x80000>;
at25,addr-mode = <4>;
at25,page-size = <256>;
compatible = "atmel,at25";
reg = <0>;
spi-max-frequency = <1000000>;
};
};
cfam1_spi2: spi@40 {
reg = <0x40>;
compatible = "ibm,fsi2spi-restricted";
#address-cells = <1>;
#size-cells = <0>;
eeprom@0 {
at25,byte-len = <0x80000>;
at25,addr-mode = <4>;
at25,page-size = <256>;
compatible = "atmel,at25";
reg = <0>;
spi-max-frequency = <1000000>;
};
};
cfam1_spi3: spi@60 {
reg = <0x60>;
compatible = "ibm,fsi2spi-restricted";
#address-cells = <1>;
#size-cells = <0>;
eeprom@0 {
at25,byte-len = <0x80000>;
at25,addr-mode = <4>;
at25,page-size = <256>;
compatible = "atmel,at25";
reg = <0>;
spi-max-frequency = <1000000>;
};
};
};
sbefifo@2400 {
compatible = "ibm,p9-sbefifo";
reg = <0x2400 0x400>;
#address-cells = <1>;
#size-cells = <0>;
fsi_occ1: occ {
compatible = "ibm,p10-occ";
occ-hwmon {
compatible = "ibm,p10-occ-hwmon";
ibm,no-poll-on-init;
};
};
};
fsi_hub1: hub@3400 {
compatible = "fsi-master-hub";
reg = <0x3400 0x400>;
#address-cells = <2>;
#size-cells = <0>;
no-scan-on-init;
};
};
};
&ibt {
status = "okay";
};
&i2c0 {
status = "okay";
eeprom@51 {
compatible = "atmel,24c64";
reg = <0x51>;
};
tca9554@20 {
compatible = "ti,tca9554";
reg = <0x20>;
#address-cells = <1>;
#size-cells = <0>;
gpio-controller;
#gpio-cells = <2>;
gpio-line-names = "",
"RUSSEL_FW_I2C_ENABLE_N",
"RUSSEL_OPPANEL_PRESENCE_N",
"BLYTH_OPPANEL_PRESENCE_N",
"CPU_TPM_CARD_PRESENT_N",
"",
"",
"DASD_BP_PRESENT_N";
};
};
&i2c1 {
status = "okay";
};
&i2c2 {
status = "okay";
ucd90160@64 {
compatible = "ti,ucd90160";
reg = <0x64>;
};
};
&i2c3 {
status = "okay";
power-supply@58 {
compatible = "ibm,cffps";
reg = <0x58>;
};
power-supply@59 {
compatible = "ibm,cffps";
reg = <0x59>;
};
};
&i2c4 {
status = "okay";
};
&i2c5 {
status = "okay";
};
&i2c6 {
status = "okay";
};
&i2c7 {
multi-master;
status = "okay";
si7021-a20@40 {
compatible = "silabs,si7020";
reg = <0x40>;
};
tmp275@48 {
compatible = "ti,tmp275";
reg = <0x48>;
};
eeprom@50 {
compatible = "atmel,24c64";
reg = <0x50>;
};
eeprom@51 {
compatible = "atmel,24c64";
reg = <0x51>;
};
max31785@52 {
compatible = "maxim,max31785a";
reg = <0x52>;
#address-cells = <1>;
#size-cells = <0>;
fan0: fan@0 {
compatible = "pmbus-fan";
reg = <0>;
tach-pulses = <2>;
};
fan1: fan@1 {
compatible = "pmbus-fan";
reg = <1>;
tach-pulses = <2>;
};
};
pca9551@60 {
compatible = "nxp,pca9551";
reg = <0x60>;
#address-cells = <1>;
#size-cells = <0>;
gpio-controller;
#gpio-cells = <2>;
led@0 {
label = "front-sys-id0";
reg = <0>;
retain-state-shutdown;
default-state = "keep";
type = <PCA955X_TYPE_LED>;
};
led@1 {
label = "front-check-log0";
reg = <1>;
retain-state-shutdown;
default-state = "keep";
type = <PCA955X_TYPE_LED>;
};
led@2 {
label = "front-enc-fault1";
reg = <2>;
retain-state-shutdown;
default-state = "keep";
type = <PCA955X_TYPE_LED>;
};
led@3 {
label = "front-sys-pwron0";
reg = <3>;
retain-state-shutdown;
default-state = "keep";
type = <PCA955X_TYPE_LED>;
};
};
ibm-panel@62 {
compatible = "ibm,op-panel";
reg = <(0x62 | I2C_OWN_SLAVE_ADDRESS)>;
};
dps: dps310@76 {
compatible = "infineon,dps310";
reg = <0x76>;
#io-channel-cells = <0>;
};
};
&i2c8 {
status = "okay";
rtc@32 {
compatible = "epson,rx8900";
reg = <0x32>;
};
tmp275@48 {
compatible = "ti,tmp275";
reg = <0x48>;
};
eeprom@50 {
compatible = "atmel,24c64";
reg = <0x50>;
};
pca9551@60 {
compatible = "nxp,pca9551";
reg = <0x60>;
#address-cells = <1>;
#size-cells = <0>;
gpio-controller;
#gpio-cells = <2>;
gpio-line-names = "",
"APSS_RESET_N",
"",
"N_MODE_CPU_N",
"",
"",
"P10_DCM_PRESENT",
"";
};
};
&i2c9 {
status = "okay";
tmp423a@4c {
compatible = "ti,tmp423";
reg = <0x4c>;
};
};
&i2c10 {
status = "okay";
};
&i2c11 {
status = "okay";
tca9554@20 {
compatible = "ti,tca9554";
reg = <0x20>;
#address-cells = <1>;
#size-cells = <0>;
gpio-controller;
#gpio-cells = <2>;
gpio-line-names = "BOOT_RCVRY_TWI",
"BOOT_RCVRY_UART",
"",
"",
"",
"",
"",
"PE_SWITCH_RSTB_N";
};
tmp435@4c {
compatible = "ti,tmp435";
reg = <0x4c>;
};
pca9849@75 {
compatible = "nxp,pca849";
reg = <0x75>;
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
i2c-mux-idle-disconnect;
i2c11mux0chn0: i2c@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
};
i2c11mux0chn1: i2c@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
};
i2c11mux0chn2: i2c@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>;
};
i2c11mux0chn3: i2c@3 {
#address-cells = <1>;
#size-cells = <0>;
reg = <3>;
};
};
};
&i2c12 {
status = "okay";
tpm@2e {
compatible = "nuvoton,npct75x";
reg = <0x2e>;
};
eeprom@50 {
compatible = "atmel,24c64";
reg = <0x50>;
};
};
&i2c13 {
status = "okay";
eeprom@50 {
compatible = "atmel,24c64";
reg = <0x50>;
};
pca9551@60 {
compatible = "nxp,pca9551";
reg = <0x60>;
#address-cells = <1>;
#size-cells = <0>;
gpio-controller;
#gpio-cells = <2>;
led@0 {
label = "nvme0";
reg = <0>;
retain-state-shutdown;
default-state = "keep";
type = <PCA955X_TYPE_LED>;
};
led@1 {
label = "nvme1";
reg = <1>;
retain-state-shutdown;
default-state = "keep";
type = <PCA955X_TYPE_LED>;
};
led@2 {
label = "nvme2";
reg = <2>;
retain-state-shutdown;
default-state = "keep";
type = <PCA955X_TYPE_LED>;
};
led@3 {
label = "nvme3";
reg = <3>;
retain-state-shutdown;
default-state = "keep";
type = <PCA955X_TYPE_LED>;
};
};
};
&i2c14 {
status = "okay";
};
&i2c15 {
status = "okay";
};
&vuart1 {
status = "okay";
};
&vuart2 {
status = "okay";
};
&lpc_ctrl {
status = "okay";
memory-region = <&flash_memory>;
};
&mac2 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_rmii3_default>;
clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>,
<&syscon ASPEED_CLK_MAC3RCLK>;
clock-names = "MACCLK", "RCLK";
use-ncsi;
};
&mac3 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_rmii4_default>;
clocks = <&syscon ASPEED_CLK_GATE_MAC4CLK>,
<&syscon ASPEED_CLK_MAC4RCLK>;
clock-names = "MACCLK", "RCLK";
use-ncsi;
};
&wdt1 {
aspeed,reset-type = "none";
aspeed,external-signal;
aspeed,ext-push-pull;
aspeed,ext-active-high;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_wdtrst1_default>;
};
&wdt2 {
status = "okay";
};
&xdma {
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

@ -162,16 +162,9 @@ reserved-memory {
#size-cells = <1>;
ranges;
/* LPC FW cycle bridge region requires natural alignment */
flash_memory: region@b8000000 {
no-map;
reg = <0xb8000000 0x04000000>; /* 64M */
};
/* 48MB region from the end of flash to start of vga memory */
ramoops@bc000000 {
ramoops@b3e00000 {
compatible = "ramoops";
reg = <0xbc000000 0x200000>; /* 16 * (4 * 0x8000) */
reg = <0xb3e00000 0x200000>; /* 16 * (4 * 0x8000) */
record-size = <0x8000>;
console-size = <0x8000>;
ftrace-size = <0x8000>;
@ -179,6 +172,12 @@ ramoops@bc000000 {
max-reason = <3>; /* KMSG_DUMP_EMERG */
};
/* LPC FW cycle bridge region requires natural alignment */
flash_memory: region@b4000000 {
no-map;
reg = <0xb4000000 0x04000000>; /* 64M */
};
/* VGA region is dictated by hardware strapping */
vga_memory: region@bf000000 {
no-map;
@ -2551,6 +2550,11 @@ sbefifo@2400 {
fsi_occ0: occ {
compatible = "ibm,p10-occ";
occ-hwmon {
compatible = "ibm,p10-occ-hwmon";
ibm,no-poll-on-init;
};
};
};
@ -2695,6 +2699,11 @@ sbefifo@2400 {
fsi_occ1: occ {
compatible = "ibm,p10-occ";
occ-hwmon {
compatible = "ibm,p10-occ-hwmon";
ibm,no-poll-on-init;
};
};
};
@ -2839,6 +2848,11 @@ sbefifo@2400 {
fsi_occ2: occ {
compatible = "ibm,p10-occ";
occ-hwmon {
compatible = "ibm,p10-occ-hwmon";
ibm,no-poll-on-init;
};
};
};
@ -2983,6 +2997,11 @@ sbefifo@2400 {
fsi_occ3: occ {
compatible = "ibm,p10-occ";
occ-hwmon {
compatible = "ibm,p10-occ-hwmon";
ibm,no-poll-on-init;
};
};
};
@ -3127,6 +3146,11 @@ sbefifo@2400 {
fsi_occ4: occ {
compatible = "ibm,p10-occ";
occ-hwmon {
compatible = "ibm,p10-occ-hwmon";
ibm,no-poll-on-init;
};
};
};
@ -3271,6 +3295,11 @@ sbefifo@2400 {
fsi_occ5: occ {
compatible = "ibm,p10-occ";
occ-hwmon {
compatible = "ibm,p10-occ-hwmon";
ibm,no-poll-on-init;
};
};
};
@ -3415,6 +3444,11 @@ sbefifo@2400 {
fsi_occ6: occ {
compatible = "ibm,p10-occ";
occ-hwmon {
compatible = "ibm,p10-occ-hwmon";
ibm,no-poll-on-init;
};
};
};
@ -3559,6 +3593,11 @@ sbefifo@2400 {
fsi_occ7: occ {
compatible = "ibm,p10-occ";
occ-hwmon {
compatible = "ibm,p10-occ-hwmon";
ibm,no-poll-on-init;
};
};
};

View File

@ -95,14 +95,9 @@ reserved-memory {
#size-cells = <1>;
ranges;
flash_memory: region@b8000000 {
no-map;
reg = <0xb8000000 0x04000000>; /* 64M */
};
ramoops@bc000000 {
ramoops@b3e00000 {
compatible = "ramoops";
reg = <0xbc000000 0x200000>; /* 16 * (4 * 0x8000) */
reg = <0xb3e00000 0x200000>; /* 16 * (4 * 0x8000) */
record-size = <0x8000>;
console-size = <0x8000>;
ftrace-size = <0x8000>;
@ -110,6 +105,13 @@ ramoops@bc000000 {
max-reason = <3>; /* KMSG_DUMP_EMERG */
};
/* LPC FW cycle bridge region requires natural alignment */
flash_memory: region@b4000000 {
no-map;
reg = <0xb4000000 0x04000000>; /* 64M */
};
/* VGA region is dictated by hardware strapping */
vga_memory: region@bf000000 {
no-map;
compatible = "shared-dma-pool";
@ -442,6 +444,11 @@ sbefifo@2400 {
fsi_occ0: occ {
compatible = "ibm,p10-occ";
occ-hwmon {
compatible = "ibm,p10-occ-hwmon";
ibm,no-poll-on-init;
};
};
};
@ -586,6 +593,11 @@ sbefifo@2400 {
fsi_occ1: occ {
compatible = "ibm,p10-occ";
occ-hwmon {
compatible = "ibm,p10-occ-hwmon";
ibm,no-poll-on-init;
};
};
};
@ -730,6 +742,11 @@ sbefifo@2400 {
fsi_occ2: occ {
compatible = "ibm,p10-occ";
occ-hwmon {
compatible = "ibm,p10-occ-hwmon";
ibm,no-poll-on-init;
};
};
};
@ -874,6 +891,11 @@ sbefifo@2400 {
fsi_occ3: occ {
compatible = "ibm,p10-occ";
occ-hwmon {
compatible = "ibm,p10-occ-hwmon";
ibm,no-poll-on-init;
};
};
};
@ -995,32 +1017,6 @@ tmp275@4a {
reg = <0x4a>;
};
pca9551@60 {
compatible = "nxp,pca9551";
reg = <0x60>;
#address-cells = <1>;
#size-cells = <0>;
gpio-controller;
#gpio-cells = <2>;
led@0 {
label = "cablecard0-cxp-top";
reg = <0>;
retain-state-shutdown;
default-state = "keep";
type = <PCA955X_TYPE_LED>;
};
led@1 {
label = "cablecard0-cxp-bot";
reg = <1>;
retain-state-shutdown;
default-state = "keep";
type = <PCA955X_TYPE_LED>;
};
};
pca9546@70 {
compatible = "nxp,pca9546";
reg = <0x70>;
@ -1038,6 +1034,32 @@ eeprom@50 {
compatible = "atmel,24c64";
reg = <0x50>;
};
pca9551@60 {
compatible = "nxp,pca9551";
reg = <0x60>;
#address-cells = <1>;
#size-cells = <0>;
gpio-controller;
#gpio-cells = <2>;
led@0 {
label = "cablecard0-cxp-top";
reg = <0>;
retain-state-shutdown;
default-state = "keep";
type = <PCA955X_TYPE_LED>;
};
led@1 {
label = "cablecard0-cxp-bot";
reg = <1>;
retain-state-shutdown;
default-state = "keep";
type = <PCA955X_TYPE_LED>;
};
};
};
i2c4mux0chn1: i2c@1 {
@ -1077,58 +1099,6 @@ tmp275@49 {
reg = <0x49>;
};
pca9551@60 {
compatible = "nxp,pca9551";
reg = <0x60>;
#address-cells = <1>;
#size-cells = <0>;
gpio-controller;
#gpio-cells = <2>;
led@0 {
label = "cablecard3-cxp-top";
reg = <0>;
retain-state-shutdown;
default-state = "keep";
type = <PCA955X_TYPE_LED>;
};
led@1 {
label = "cablecard3-cxp-bot";
reg = <1>;
retain-state-shutdown;
default-state = "keep";
type = <PCA955X_TYPE_LED>;
};
};
pca9551@61 {
compatible = "nxp,pca9551";
reg = <0x61>;
#address-cells = <1>;
#size-cells = <0>;
gpio-controller;
#gpio-cells = <2>;
led@0 {
label = "cablecard4-cxp-top";
reg = <0>;
retain-state-shutdown;
default-state = "keep";
type = <PCA955X_TYPE_LED>;
};
led@1 {
label = "cablecard4-cxp-bot";
reg = <1>;
retain-state-shutdown;
default-state = "keep";
type = <PCA955X_TYPE_LED>;
};
};
pca9546@70 {
compatible = "nxp,pca9546";
reg = <0x70>;
@ -1146,6 +1116,32 @@ eeprom@50 {
compatible = "atmel,24c64";
reg = <0x50>;
};
pca9551@60 {
compatible = "nxp,pca9551";
reg = <0x60>;
#address-cells = <1>;
#size-cells = <0>;
gpio-controller;
#gpio-cells = <2>;
led@0 {
label = "cablecard3-cxp-top";
reg = <0>;
retain-state-shutdown;
default-state = "keep";
type = <PCA955X_TYPE_LED>;
};
led@1 {
label = "cablecard3-cxp-bot";
reg = <1>;
retain-state-shutdown;
default-state = "keep";
type = <PCA955X_TYPE_LED>;
};
};
};
i2c5mux0chn1: i2c@1 {
@ -1157,6 +1153,32 @@ eeprom@51 {
compatible = "atmel,24c64";
reg = <0x51>;
};
pca9551@61 {
compatible = "nxp,pca9551";
reg = <0x61>;
#address-cells = <1>;
#size-cells = <0>;
gpio-controller;
#gpio-cells = <2>;
led@0 {
label = "cablecard4-cxp-top";
reg = <0>;
retain-state-shutdown;
default-state = "keep";
type = <PCA955X_TYPE_LED>;
};
led@1 {
label = "cablecard4-cxp-bot";
reg = <1>;
retain-state-shutdown;
default-state = "keep";
type = <PCA955X_TYPE_LED>;
};
};
};
};
};
@ -2009,32 +2031,6 @@ tmp275@49 {
reg = <0x49>;
};
pca9551@60 {
compatible = "nxp,pca9551";
reg = <0x60>;
#address-cells = <1>;
#size-cells = <0>;
gpio-controller;
#gpio-cells = <2>;
led@0 {
label = "cablecard10-cxp-top";
reg = <0>;
retain-state-shutdown;
default-state = "keep";
type = <PCA955X_TYPE_LED>;
};
led@1 {
label = "cablecard10-cxp-bot";
reg = <1>;
retain-state-shutdown;
default-state = "keep";
type = <PCA955X_TYPE_LED>;
};
};
pca9546@70 {
compatible = "nxp,pca9546";
reg = <0x70>;
@ -2052,6 +2048,32 @@ eeprom@50 {
compatible = "atmel,24c64";
reg = <0x50>;
};
pca9551@60 {
compatible = "nxp,pca9551";
reg = <0x60>;
#address-cells = <1>;
#size-cells = <0>;
gpio-controller;
#gpio-cells = <2>;
led@0 {
label = "cablecard10-cxp-top";
reg = <0>;
retain-state-shutdown;
default-state = "keep";
type = <PCA955X_TYPE_LED>;
};
led@1 {
label = "cablecard10-cxp-bot";
reg = <1>;
retain-state-shutdown;
default-state = "keep";
type = <PCA955X_TYPE_LED>;
};
};
};
i2c11mux0chn1: i2c@1 {

File diff suppressed because it is too large Load Diff

View File

@ -36,6 +36,10 @@ aliases {
serial4 = &uart5;
serial5 = &vuart1;
serial6 = &vuart2;
mdio0 = &mdio0;
mdio1 = &mdio1;
mdio2 = &mdio2;
mdio3 = &mdio3;
};