From a469790a80236080663861a442fca25bf4d6306b Mon Sep 17 00:00:00 2001 From: Banana Pi -BPI Date: Tue, 12 Nov 2019 21:03:23 +0800 Subject: [PATCH] u-boot-sp: update demo board V3 --- u-boot-sp/arch/arm/dts/pentagram-common.dts | 21 ++++++++++++++++++++- u-boot-sp/arch/arm/dts/pentagram-tppg2.dts | 7 ++++++- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/u-boot-sp/arch/arm/dts/pentagram-common.dts b/u-boot-sp/arch/arm/dts/pentagram-common.dts index de247f52e..5e111f620 100755 --- a/u-boot-sp/arch/arm/dts/pentagram-common.dts +++ b/u-boot-sp/arch/arm/dts/pentagram-common.dts @@ -52,7 +52,7 @@ PMX_L2SW_P1_MAC_RMII_RXD1 G_MX34_GPIO_P4_2 PMX_L2SW_P1_MAC_RMII_RXER G_MX31_GPIO_P3_7 >; -#else // Demo board +#elif 0 // Demo board V2/V3 pinmux = ; +#else // Demo board V3 (BPi) + pinmux = ; #endif }; }; diff --git a/u-boot-sp/arch/arm/dts/pentagram-tppg2.dts b/u-boot-sp/arch/arm/dts/pentagram-tppg2.dts index f2a7f6e7c..c078d4831 100644 --- a/u-boot-sp/arch/arm/dts/pentagram-tppg2.dts +++ b/u-boot-sp/arch/arm/dts/pentagram-tppg2.dts @@ -20,7 +20,12 @@ stdout-path = "serial0:115200n8"; }; - sppctl { + sppctl: sppctl@0x9c00010 { + compatible = "sunplus,sppctl"; + reg = <0x9c000100 0x100>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_func>; + pinctrl_func: pinmux_func { net_l2sw { pinmux =