diff mbox series

[v1,2/3] ARM: dts: aspeed: system1: Enable serial gpio0

Message ID 20241001191756.234096-3-ninad@linux.ibm.com
State New
Headers show
Series Device tree changes for system1 BMC | expand

Commit Message

Ninad Palsule Oct. 1, 2024, 7:17 p.m. UTC
Enable serial GPIO0. Set number of GPIO lines to 128 and bus frequency
to 1MHz.

Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
---
 arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Eddie James Oct. 1, 2024, 8:49 p.m. UTC | #1
On 10/1/24 14:17, Ninad Palsule wrote:
> Enable serial GPIO0. Set number of GPIO lines to 128 and bus frequency
> to 1MHz.


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


>
> Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
> ---
>   arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts | 6 ++++++
>   1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
> index 1cbf257fb0a0b..c0219167a337a 100644
> --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
> +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
> @@ -398,6 +398,12 @@ &emmc {
>   	clk-phase-mmc-hs200 = <180>, <180>;
>   };
>   
> +&sgpiom0 {
> +	status = "okay";
> +	ngpios = <128>;
> +	bus-frequency = <1000000>;
> +};
> +
>   &ibt {
>   	status = "okay";
>   };
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
index 1cbf257fb0a0b..c0219167a337a 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
@@ -398,6 +398,12 @@  &emmc {
 	clk-phase-mmc-hs200 = <180>, <180>;
 };
 
+&sgpiom0 {
+	status = "okay";
+	ngpios = <128>;
+	bus-frequency = <1000000>;
+};
+
 &ibt {
 	status = "okay";
 };