[PATCH linux dev-5.8] ARM: dts: Aspeed: Rainier: Mark FSI SPI controllers as restricted

Eddie James eajames at linux.ibm.com
Tue Nov 3 06:47:13 AEDT 2020


Some of the FSI-attached SPI controllers can't use the loop command
due to security requirements. Indicate this in the devicetree with
the restricted compatible string.

Signed-off-by: Eddie James <eajames at linux.ibm.com>
---
 arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
index 676ae5602fb9..6b5d8ba81972 100644
--- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
@@ -310,6 +310,7 @@ eeprom at 0 {
 
 			cfam0_spi2: spi at 40 {
 				reg = <0x40>;
+				compatible = "ibm,fsi2spi-restricted";
 				#address-cells = <1>;
 				#size-cells = <0>;
 
@@ -326,6 +327,7 @@ eeprom at 0 {
 
 			cfam0_spi3: spi at 60 {
 				reg = <0x60>;
+				compatible = "ibm,fsi2spi-restricted";
 				#address-cells = <1>;
 				#size-cells = <0>;
 
@@ -422,6 +424,7 @@ eeprom at 0 {
 
 			cfam1_spi2: spi at 40 {
 				reg = <0x40>;
+				compatible = "ibm,fsi2spi-restricted";
 				#address-cells = <1>;
 				#size-cells = <0>;
 
@@ -438,6 +441,7 @@ eeprom at 0 {
 
 			cfam1_spi3: spi at 60 {
 				reg = <0x60>;
+				compatible = "ibm,fsi2spi-restricted";
 				#address-cells = <1>;
 				#size-cells = <0>;
 
@@ -532,6 +536,7 @@ eeprom at 0 {
 
 			cfam2_spi2: spi at 40 {
 				reg = <0x40>;
+				compatible = "ibm,fsi2spi-restricted";
 				#address-cells = <1>;
 				#size-cells = <0>;
 
@@ -548,6 +553,7 @@ eeprom at 0 {
 
 			cfam2_spi3: spi at 60 {
 				reg = <0x60>;
+				compatible = "ibm,fsi2spi-restricted";
 				#address-cells = <1>;
 				#size-cells = <0>;
 
-- 
2.26.2



More information about the openbmc mailing list