Skip to contentSkip to conversation

sunxi: Fix sorting of boards in MAINTAINERS

PATCH New Hans de Goede 2 participants 3 messages Oct 15, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 sunxi: Fix sorting of boards in MAINTAINERS

---
 board/sunxi/MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/sunxi/MAINTAINERS +1 -1
index c6371ea..dd27487 100644
@@ -29,11 +29,11 @@ F:	configs/mk802_a10s_defconfig
 F:	configs/q8_a13_tablet_defconfig
 F:	configs/r7-tv-dongle_defconfig
 F:	configs/UTOO_P66_defconfig
+F:	configs/Wobo_i5_defconfig
 F:	include/configs/sun6i.h
 F:	configs/CSQ_CS908_defconfig
 F:	configs/Mele_A1000G_quad_defconfig
 F:	configs/Mele_M9_defconfig
-F:	configs/Wobo_i5_defconfig
 F:	include/configs/sun7i.h
 F:	configs/A20-OLinuXino_MICRO_defconfig
 F:	configs/Bananapi_defconfig
Signature · 1 line
2.5.0
#1 lore raw

PATCH v2 2/2 sunxi: Add defconfig for the Sinovoip BPI-M2 board

The Sinovoip BPI-M2 is a SBC board based on the A31s SoC it features 1G RAM, a microsd slot, Gbit ethernet, 4 usb-a USB-2 ports, ir receiver, stereo headphone jack and hdmi video output.

The dts changes are identical to the dts files submitted upstream.

A few notes on the use if dldo and aldo regulators. DLDO1 is used for Vdd for the ethernet phy, ALDO2 is used for AVdd for the ethernet phy. ALDO1 is used to power the sdio wifi module.

---
 arch/arm/dts/Makefile                       |   3 +-
 arch/arm/dts/sun6i-a31.dtsi                 |  18 +++
 arch/arm/dts/sun6i-a31s-sinovoip-bpi-m2.dts | 194 ++++++++++++++++++++++++++++
 board/sunxi/MAINTAINERS                     |   1 +
 configs/Sinovoip_BPI_M2_defconfig           |  18 +++
 5 files changed, 233 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/sun6i-a31s-sinovoip-bpi-m2.dts
 create mode 100644 configs/Sinovoip_BPI_M2_defconfig
arch/arm/dts/Makefile +2 -1
index 3538553..8b656e9 100644
@@ -124,7 +124,8 @@ dtb-$(CONFIG_MACH_SUN6I) += \
 	sun6i-a31-mele-a1000g-quad.dtb \
 	sun6i-a31-mixtile-loftq.dtb \
 	sun6i-a31s-cs908.dtb \
-	sun6i-a31s-primo81.dtb
+	sun6i-a31s-primo81.dtb \
+	sun6i-a31s-sinovoip-bpi-m2.dtb
 dtb-$(CONFIG_MACH_SUN7I) += \
 	sun7i-a20-ainol-aw1.dtb \
 	sun7i-a20-bananapi.dtb \
arch/arm/dts/sun6i-a31.dtsi +18 -0
index 39953e7..44f889f 100644
@@ -659,6 +659,24 @@
 				allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
 			};
 
+			mmc2_pins_a: mmc2 at 0 {
+				allwinner,pins = "PC6", "PC7", "PC8", "PC9",
+						 "PC10", "PC11";
+				allwinner,function = "mmc2";
+				allwinner,drive = <SUN4I_PINCTRL_30_MA>;
+				allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+			};
+
+			mmc2_8bit_emmc_pins: mmc2 at 1 {
+				allwinner,pins = "PC6", "PC7", "PC8", "PC9",
+						 "PC10", "PC11", "PC12",
+						 "PC13", "PC14", "PC15",
+						 "PC24";
+				allwinner,function = "mmc2";
+				allwinner,drive = <SUN4I_PINCTRL_30_MA>;
+				allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+			};
+
 			gmac_pins_mii_a: gmac_mii at 0 {
 				allwinner,pins = "PA0", "PA1", "PA2", "PA3",
 						"PA8", "PA9", "PA11",
arch/arm/dts/sun6i-a31s-sinovoip-bpi-m2.dts new file +194 -0

194 lines not on this page · raw message

board/sunxi/MAINTAINERS +1 -0
index dd27487..99f29d3 100644
@@ -34,6 +34,7 @@ F:	include/configs/sun6i.h
 F:	configs/CSQ_CS908_defconfig
 F:	configs/Mele_A1000G_quad_defconfig
 F:	configs/Mele_M9_defconfig
+F:	configs/Sinovoip_BPI_M2_defconfig
 F:	include/configs/sun7i.h
 F:	configs/A20-OLinuXino_MICRO_defconfig
 F:	configs/Bananapi_defconfig
configs/Sinovoip_BPI_M2_defconfig new file +18 -0
new file mode 100644
index 0000000..17c30a8
@@ -0,0 +1,18 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN6I=y
+CONFIG_DRAM_CLK=432
+CONFIG_USB1_VBUS_PIN=""
+CONFIG_USB2_VBUS_PIN=""
+CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31s-sinovoip-bpi-m2"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII"
+# CONFIG_CMD_IMLS is not set
+# CONFIG_CMD_FLASH is not set
+# CONFIG_CMD_FPGA is not set
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_AXP_DLDO1_VOLT=3000
+CONFIG_AXP_ALDO1_VOLT=3300
+CONFIG_AXP_ALDO2_VOLT=1800
+CONFIG_USB_EHCI_HCD=y
Signature · 1 line
2.5.0
#2 lore raw

PATCH v2 2/2 sunxi: Add defconfig for the Sinovoip BPI-M2 board

Quoted 5 lines · Hans de Goede

The Sinovoip BPI-M2 is a SBC board based on the A31s SoC it features 1G RAM, a microsd slot, Gbit ethernet, 4 usb-a USB-2 ports, ir receiver,
stereo headphone jack and hdmi video output.

Quoted 7 lines

The dts changes are identical to the dts files submitted upstream.

A few notes on the use if dldo and aldo regulators. DLDO1 is used for Vdd for the ethernet phy, ALDO2 is used for AVdd for the ethernet phy. ALDO1 is used to power the sdio wifi module.

and for the 1/2 as well, which hardly needs an ack IMHO.