Device tree changes for system1 BMC
Subsystems (2)
cover Device tree changes for system1 BMC
Hello,
Please review the device tree changes for BMC for system1 machine.
Ninad Palsule (3):
ARM: dts: aspeed: system1: Bump up i2c busses freq
ARM: dts: aspeed: system1: Enable serial gpio0
ARM: dts: aspeed: system1: Add GPIO line names
.../arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-)
Signature · 1 line
2.43.0
PATCH 1/3 ARM: dts: aspeed: system1: Bump up i2c busses freq
Bump up i2c8 and i2c15 bus frequency so that PCIe slot and FPGA runs faster
--- arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts +2 -0
@@ -1007,6 +1007,7 @@ i2c7mux0chn7: i2c at 7 { &i2c8 { status = "okay"; + bus-frequency = <400000>; i2c-mux at 71 { compatible = "nxp,pca9548";
@@ -1468,6 +1469,7 @@ i2c14mux0chn7: i2c at 7 { &i2c15 { status = "okay"; + bus-frequency = <400000>; i2c-mux at 71 { compatible = "nxp,pca9548";
Signature · 1 line
2.43.0
PATCH 2/3 ARM: dts: aspeed: system1: Enable serial gpio0
In reply to Ninad PalsuleEnable serial GPIO0. Set number of GPIO lines to 128 and bus frequency to 1MHz.
--- arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts +6 -0
@@ -398,6 +398,12 @@ &emmc { clk-phase-mmc-hs200 = <180>, <180>; }; +&sgpiom0 { + status = "okay"; + ngpios = <128>; + bus-frequency = <1000000>; +}; + &ibt { status = "okay"; };
Signature · 1 line
2.43.0
PATCH 3/3 ARM: dts: aspeed: system1: Add GPIO line names
In reply to Ninad PalsuleAdd following GPIO line names so that userspace can control them
- PCH related GPIOs
- FPGA related GPIOs
--- arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts +3 -3
@@ -370,17 +370,17 @@ &gpio0 { /*K0-K7*/ "","","","","","","","", /*L0-L7*/ "","","","","","","","bmc-ready", /*M0-M7*/ "","","","","","","","", - /*N0-N7*/ "","","","","","","","", + /*N0-N7*/ "fpga-debug-enable","","","","","","","", /*O0-O7*/ "","","","","","","","", /*P0-P7*/ "","","","","","","","bmc-hb", - /*Q0-Q7*/ "","","","","","","","", + /*Q0-Q7*/ "","","","","","","pch-ready","", /*R0-R7*/ "","","","","","","","", /*S0-S7*/ "","","","","","","rear-enc-fault0","rear-enc-id0", /*T0-T7*/ "","","","","","","","", /*U0-U7*/ "","","","","","","","", /*V0-V7*/ "","rtc-battery-voltage-read-enable","","power-chassis-control","","","","", /*W0-W7*/ "","","","","","","","", - /*X0-X7*/ "","power-chassis-good","","","","","","", + /*X0-X7*/ "fpga-pgood","power-chassis-good","pch-pgood","","","","","", /*Y0-Y7*/ "","","","","","","","", /*Z0-Z7*/ "","","","","","","",""; };
Signature · 1 line
2.43.0
Re: [PATCH v1 1/3] ARM: dts: aspeed: system1: Bump up i2c busses freq
In reply to Ninad PalsuleQuoted 2 lines · Ninad Palsule
Bump up i2c8 and i2c15 bus frequency so that PCIe slot and FPGA runs faster
Quoted 26 lines
Signed-off-by Ninad Palsule <[email protected]>--- arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts | 2 ++ 1 file changed, 2 insertions(+)arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts +2
-0@@ -1007,6 +1007,7 @@ i2c7mux0chn7: i2c at 7 { &i2c8 { status = "okay"; + bus-frequency = <400000>; i2c-mux at 71 { compatible = "nxp,pca9548";@@ -1468,6 +1469,7 @@ i2c14mux0chn7: i2c at 7 { &i2c15 { status = "okay"; + bus-frequency = <400000>; i2c-mux at 71 { compatible = "nxp,pca9548";
Re: [PATCH v1 2/3] ARM: dts: aspeed: system1: Enable serial gpio0
In reply to Ninad PalsuleQuoted 2 lines · Ninad Palsule
Enable serial GPIO0. Set number of GPIO lines to 128 and bus frequency to 1MHz.
Quoted 23 lines
Signed-off-by Ninad Palsule <[email protected]>--- arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts | 6 ++++++ 1 file changed, 6 insertions(+)arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts +6
-0@@ -398,6 +398,12 @@ &emmc { clk-phase-mmc-hs200 = <180>, <180>; }; +&sgpiom0 { + status = "okay"; + ngpios = <128>; + bus-frequency = <1000000>; +}; + &ibt { status = "okay"; };
Re: [PATCH v1 3/3] ARM: dts: aspeed: system1: Add GPIO line names
In reply to Ninad PalsuleQuoted 3 lines · Ninad Palsule
Add following GPIO line names so that userspace can control them
- PCH related GPIOs
- FPGA related GPIOs
Quoted 31 lines
Signed-off-by Ninad Palsule <[email protected]>--- arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts +3
-3@@ -370,17 +370,17 @@ &gpio0 { /*K0-K7*/ "","","","","","","","", /*L0-L7*/ "","","","","","","","bmc-ready", /*M0-M7*/ "","","","","","","","", - /*N0-N7*/ "","","","","","","","", + /*N0-N7*/ "fpga-debug-enable","","","","","","","", /*O0-O7*/ "","","","","","","","", /*P0-P7*/ "","","","","","","","bmc-hb", - /*Q0-Q7*/ "","","","","","","","", + /*Q0-Q7*/ "","","","","","","pch-ready","", /*R0-R7*/ "","","","","","","","", /*S0-S7*/ "","","","","","","rear-enc-fault0","rear-enc-id0", /*T0-T7*/ "","","","","","","","", /*U0-U7*/ "","","","","","","","", /*V0-V7*/ "","rtc-battery-voltage-read-enable","","power-chassis-control","","","","", /*W0-W7*/ "","","","","","","","", - /*X0-X7*/ "","power-chassis-good","","","","","","", + /*X0-X7*/ "fpga-pgood","power-chassis-good","pch-pgood","","","","","", /*Y0-Y7*/ "","","","","","","","", /*Z0-Z7*/ "","","","","","","",""; };
Andrew Jeffery
maintainerQuoted 8 lines · Ninad Palsule
Please review the device tree changes for BMC for system1 machine.
Ninad Palsule (3):
ARM: dts: aspeed: system1: Bump up i2c busses freq
ARM: dts: aspeed: system1: Enable serial gpio0
ARM: dts: aspeed: system1: Add GPIO line names[...]
Thanks, I've applied this to be picked up through the BMC tree.
--
Andrew Jeffery <[email protected]>
Hi Andrew,
Quoted 10 lines · Andrew Jeffery
Quoted 8 lines · Ninad Palsule
Please review the device tree changes for BMC for system1 machine.
Ninad Palsule (3):
ARM: dts: aspeed: system1: Bump up i2c busses freq
ARM: dts: aspeed: system1: Enable serial gpio0
ARM: dts: aspeed: system1: Add GPIO line names[...]
Thanks, I've applied this to be picked up through the BMC tree.
Thank you!
Quoted 4 lines
--
Andrew Jeffery <[email protected]>