mbox series

[00/22] ARM: dts: aspeed: Updates for Rainier and Everest machines

Message ID 20210329150020.13632-1-eajames@linux.ibm.com
Headers show
Series ARM: dts: aspeed: Updates for Rainier and Everest machines | expand

Message

Eddie James March 29, 2021, 2:59 p.m. UTC
This series updates the device trees for the Rainier and Everest system
BMCs. For Rainier, the changes have been tested fairly extensively in
hardware. Everest has largely been tested in simulation and some basic
hardware verification testing.

Alpana Kumari (3):
  ARM: dts: aspeed: rainier: Add presence GPIOs
  ARM: dts: aspeed: everest: GPIOs support
  ARM: dts: aspeed: rainier: Support pass 2 planar

Brandon Wyman (2):
  ARM: dts: aspeed: rainier: Add gpio-keys-polled for fans
  ARM: dts: aspeed: everest: Add power supply i2c devices

Eddie James (7):
  ARM: dts: aspeed: rainier: Add additional processor CFAMs
  ARM: dts: aspeed: rainier: Enable fan watchdog
  ARM: dts: aspeed: rainier 4U: Fix fan configuration
  ARM: dts: Aspeed: Everest: Add FSI CFAMs and re-number engines
  ARM: dts: Aspeed: Everest: Add RTC
  ARM: dts: aspeed: everest: Enable fan watchdog
  ARM: dts: aspeed: Add Rainier 1S4U machine

Jim Wright (1):
  ARM: dts: aspeed: everest: Add UCD90320 power sequencer

Matthew Barth (2):
  ARM: dts: Aspeed: Everest: Add max31785 fan controller device
  ARM: dts: Aspeed: Everest: Add pca9552 fan presence

PriyangaRamasamy (1):
  ARM: dts: aspeed: Everest: Add I2C components

Vishwanatha Subbanna (6):
  ARM: dts: aspeed: rainier: Add Operator Panel LEDs
  ARM: dts: aspeed: rainier: Add directly controlled LEDs
  ARM: dts: aspeed: rainier: Add leds that are off PCA9552
  ARM: dts: aspeed: rainier: Add leds that are off pic16f882
  ARM: dts: aspeed: rainier: Add leds on optional DASD cards
  ARM: dts: aspeed: rainier: Add leds on optional PCI cable cards

 arch/arm/boot/dts/Makefile                    |    3 +
 arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts  | 1770 +++++++++++-
 .../boot/dts/aspeed-bmc-ibm-rainier-1s4u.dts  |   14 +
 .../boot/dts/aspeed-bmc-ibm-rainier-4u-v2.dts |  198 ++
 .../boot/dts/aspeed-bmc-ibm-rainier-4u.dts    |   14 +
 .../boot/dts/aspeed-bmc-ibm-rainier-v2.dts    |  198 ++
 arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts  | 2367 +++++++++++++++--
 7 files changed, 4290 insertions(+), 274 deletions(-)
 create mode 100644 arch/arm/boot/dts/aspeed-bmc-ibm-rainier-1s4u.dts
 create mode 100644 arch/arm/boot/dts/aspeed-bmc-ibm-rainier-4u-v2.dts
 create mode 100644 arch/arm/boot/dts/aspeed-bmc-ibm-rainier-v2.dts

Comments

Brandon Wyman April 7, 2021, 10:19 p.m. UTC | #1
On 2021-03-29 10:00, Eddie James wrote:
> From: Alpana Kumari <alpankum@in.ibm.com>

>

> This commit adds support for-

> - Presence GPIOs

> - I2C control GPIOs

> - Op-panel GPIOs (ex PHR)

>

> Signed-off-by: Alpana Kumari <alpankum@in.ibm.com>

> Signed-off-by: Eddie James <eajames@linux.ibm.com>

Reviewed-by: Brandon Wyman <bjwyman@gmail.com>

> ---

>   arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts | 297 +++++++++++++++++++

>   1 file changed, 297 insertions(+)

>

> diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts

> index 9e77bbb3e4d1..18a3d65fb67d 100644

> --- a/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts

> +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts

> @@ -204,6 +204,37 @@ fan3-presence {

>   	};

>   };

>   

> +&gpio0 {

> +	gpio-line-names =

> +	/*A0-A7*/	"","","","","","","","",

> +	/*B0-B7*/	"USERSPACE_RSTIND_BUFF","","","","","","","",

> +	/*C0-C7*/	"","","","","","","","",

> +	/*D0-D7*/	"","","","","","","","",

> +	/*E0-E7*/	"","","","","","","","",

> +	/*F0-F7*/	"PIN_HOLE_RESET_IN_N","","",

> +				"PIN_HOLE_RESET_OUT_N","","","","",

> +	/*G0-G7*/	"","","","","","","","",

> +	/*H0-H7*/	"","","","","","","","",

> +	/*I0-I7*/	"","","","","","","","",

> +	/*J0-J7*/	"","","","","","","","",

> +	/*K0-K7*/	"","","","","","","","",

> +	/*L0-L7*/	"","","","","","","","",

> +	/*M0-M7*/	"","","","","","","","",

> +	/*N0-N7*/	"","","","","","","","",

> +	/*O0-O7*/	"","","","","","","","",

> +	/*P0-P7*/	"","","","","","","","",

> +	/*Q0-Q7*/	"","","","","","","","",

> +	/*R0-R7*/	"","","","","","I2C_FLASH_MICRO_N","","",

> +	/*S0-S7*/	"","","","","","","","",

> +	/*T0-T7*/	"","","","","","","","",

> +	/*U0-U7*/	"","","","","","","","",

> +	/*V0-V7*/	"","BMC_3RESTART_ATTEMPT_P","","","","","","",

> +	/*W0-W7*/	"","","","","","","","",

> +	/*X0-X7*/	"","","","","","","","",

> +	/*Y0-Y7*/	"","","","","","","","",

> +	/*Z0-Z7*/   "","","","","","","","";

> +};

> +

>   &i2c0 {

>   	status = "okay";

>   

> @@ -211,10 +242,276 @@ eeprom@51 {

>   		compatible = "atmel,24c64";

>   		reg = <0x51>;

>   	};

> +

> +	pca1: pca9552@62 {

> +		compatible = "nxp,pca9552";

> +		reg = <0x62>;

> +		#address-cells = <1>;

> +		#size-cells = <0>;

> +

> +		gpio-controller;

> +		#gpio-cells = <2>;

> +

> +		gpio-line-names =

> +			"presence-ps0",

> +			"presence-ps1",

> +			"presence-ps2",

> +			"presence-ps3",

> +			"presence-pdb",

> +			"presence-tpm",

> +			"", "",

> +			"presence-cp0",

> +			"presence-cp1",

> +			"presence-cp2",

> +			"presence-cp3",

> +			"presence-dasd",

> +			"presence-lcd-op",

> +			"presence-base-op",

> +			"";

> +

> +		gpio@0 {

> +			reg = <0>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@01 {

> +			reg = <1>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@2 {

> +			reg = <2>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@3 {

> +			reg = <3>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@4 {

> +			reg = <4>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@5 {

> +			reg = <5>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@6 {

> +			reg = <6>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@7 {

> +			reg = <7>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@8 {

> +			reg = <8>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@9 {

> +			reg = <9>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@10 {

> +			reg = <10>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@11 {

> +			reg = <11>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@12 {

> +			reg = <12>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@13 {

> +			reg = <13>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@14 {

> +			reg = <14>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@15 {

> +			reg = <15>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +	};

>   };

>   

>   &i2c1 {

>   	status = "okay";

> +

> +	pca2: pca9552@61 {

> +		compatible = "nxp,pca9552";

> +		reg = <0x61>;

> +		#address-cells = <1>;

> +		#size-cells = <0>;

> +

> +		gpio-controller;

> +		#gpio-cells = <2>;

> +

> +		gpio-line-names =

> +			"presence-cable-card1",

> +			"presence-cable-card2",

> +			"presence-cable-card3",

> +			"presence-cable-card4",

> +			"presence-cable-card5",

> +			"expander-cable-card1",

> +			"expander-cable-card2",

> +			"expander-cable-card3",

> +			"expander-cable-card4",

> +			"expander-cable-card5";

> +

> +		gpio@0 {

> +			reg = <0>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@1 {

> +			reg = <1>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@2 {

> +			reg = <2>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@3 {

> +			reg = <3>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@4 {

> +			reg = <4>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@5 {

> +			reg = <5>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@6 {

> +			reg = <6>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@7 {

> +			reg = <7>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@8 {

> +			reg = <8>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@9 {

> +			reg = <9>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +	};

> +

> +	pca3: pca9552@62 {

> +		compatible = "nxp,pca9552";

> +		reg = <0x62>;

> +		#address-cells = <1>;

> +		#size-cells = <0>;

> +

> +		gpio-controller;

> +		#gpio-cells = <2>;

> +

> +		gpio-line-names =

> +			"presence-cable-card6",

> +			"presence-cable-card7",

> +			"presence-cable-card8",

> +			"presence-cable-card9",

> +			"presence-cable-card10",

> +			"presence-cable-card11",

> +			"expander-cable-card6",

> +			"expander-cable-card7",

> +			"expander-cable-card8",

> +			"expander-cable-card9",

> +			"expander-cable-card10",

> +			"expander-cable-card11";

> +

> +		gpio@0 {

> +			reg = <0>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@1 {

> +			reg = <1>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@2 {

> +			reg = <2>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@3 {

> +			reg = <3>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@4 {

> +			reg = <4>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@5 {

> +			reg = <5>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@6 {

> +			reg = <6>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@7 {

> +			reg = <7>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@8 {

> +			reg = <8>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@9 {

> +			reg = <9>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@10 {

> +			reg = <10>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +		gpio@11 {

> +			reg = <11>;

> +			type = <PCA955X_TYPE_GPIO>;

> +		};

> +

> +	};

> +

>   };

>   

>   &i2c2 {