Skip to content

Commit

Permalink
u-boot-sp: update demo board V3
Browse files Browse the repository at this point in the history
  • Loading branch information
BPI-SINOVOIP committed Nov 12, 2019
1 parent cc8f1e5 commit a469790
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
21 changes: 20 additions & 1 deletion u-boot-sp/arch/arm/dts/pentagram-common.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = <PMX_L2SW_CLK_OUT G_MX50_GPIO_P6_2
PMX_L2SW_MAC_SMI_MDC G_MX44_GPIO_P5_4
PMX_L2SW_LED_FLASH0 G_MX54_GPIO_P6_6
Expand All @@ -66,6 +66,25 @@
PMX_L2SW_P0_MAC_RMII_RXD1 G_MX49_GPIO_P6_1
PMX_L2SW_P0_MAC_RMII_RXER G_MX46_GPIO_P5_6
>;
#else // Demo board V3 (BPi)
pinmux = <PMX_L2SW_CLK_OUT G_MX49_GPIO_P6_1
PMX_L2SW_MAC_SMI_MDC G_MX44_GPIO_P5_4
PMX_L2SW_MAC_SMI_MDIO G_MX43_GPIO_P5_3
PMX_L2SW_P0_MAC_RMII_TXEN G_MX52_GPIO_P6_4
PMX_L2SW_P0_MAC_RMII_TXD0 G_MX50_GPIO_P6_2
PMX_L2SW_P0_MAC_RMII_TXD1 G_MX51_GPIO_P6_3
PMX_L2SW_P0_MAC_RMII_CRSDV G_MX46_GPIO_P5_6
PMX_L2SW_P0_MAC_RMII_RXD0 G_MX47_GPIO_P5_7
PMX_L2SW_P0_MAC_RMII_RXD1 G_MX48_GPIO_P6_0
PMX_L2SW_P0_MAC_RMII_RXER G_MX45_GPIO_P5_5
PMX_L2SW_P1_MAC_RMII_TXEN G_MX59_GPIO_P7_3
PMX_L2SW_P1_MAC_RMII_TXD0 G_MX57_GPIO_P7_1
PMX_L2SW_P1_MAC_RMII_TXD1 G_MX58_GPIO_P7_2
PMX_L2SW_P1_MAC_RMII_CRSDV G_MX54_GPIO_P6_6
PMX_L2SW_P1_MAC_RMII_RXD0 G_MX55_GPIO_P6_7
PMX_L2SW_P1_MAC_RMII_RXD1 G_MX56_GPIO_P7_0
PMX_L2SW_P1_MAC_RMII_RXER G_MX53_GPIO_P6_5
>;
#endif
};
};
Expand Down
7 changes: 6 additions & 1 deletion u-boot-sp/arch/arm/dts/pentagram-tppg2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = <PMX_L2SW_CLK_OUT G_MX63_GPIO_P7_7
Expand Down

0 comments on commit a469790

Please sign in to comment.