Skip to contentSkip to conversation

ARM: add support for Bananapi BPI-R1

PATCH Superseded Stephen Arnold 2 participants 4 messages Oct 7, 2016 – Oct 9, 2016

Subsystems (2)

v4 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

v4 cover ARM: add support for Bananapi BPI-R1

From: Steve Arnold <[email protected]>

* changes from lamobo-r1 required include:
- unset ahci power pin
- usbvbus gpio pin change
- mmc cd gpio pin change
- enable uart2, set default LED trigger
- CONFIG_GMAC_TX_DELAY change

Changes for v2:
- incorprated feedback for config options (remove 3, add 1)
Changes for v3/v4:
- re-submit (no change to patch payload) with cover

Steve Arnold (2):
ARM: sun7i: config: add config for Sinovoip/Bananapi BPI-R1
ARM: sun7i: dts: add support for Sinovoip/Bananapi BPI-R1

 arch/arm/dts/Makefile                  |   1 +
 arch/arm/dts/sun7i-a20-bananapi-r1.dts | 376 +++++++++++++++++++++++++++++++++
 configs/Bananapi_R1_defconfig          |  16 ++
 3 files changed, 393 insertions(+)
 create mode 100644 arch/arm/dts/sun7i-a20-bananapi-r1.dts
 create mode 100644 configs/Bananapi_R1_defconfig
Cc Ian Campbell <[email protected]>
Cc Hans De Goede <[email protected]>
Signature · 1 line
2.9.3
#1 lore raw

PATCH v4 1/2 ARM: sun7i: config: add config for Sinovoip/Bananapi R1

From: Steve Arnold <[email protected]>

Cc Ian Campbell <[email protected]>
Cc Hans De Goede <[email protected]>
---
 configs/Bananapi_R1_defconfig | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 configs/Bananapi_R1_defconfig
configs/Bananapi_R1_defconfig new file +16 -0
new file mode 100644
index 0000000..3743d5c
@@ -0,0 +1,16 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN7I=y
+CONFIG_DRAM_CLK=432
+CONFIG_GMAC_TX_DELAY=3
+CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-bananapi-r1"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI,USB_EHCI"
+# CONFIG_CMD_IMLS is not set
+# CONFIG_CMD_FLASH is not set
+# CONFIG_CMD_FPGA is not set
+CONFIG_USB_EHCI_HCD=y
+CONFIG_DM_ETH=y
+CONFIG_PHYLIB=y
+# CONFIG_RTL8211X_PHY_FORCE_MASTER=y
Signature · 1 line
2.9.3
#2 lore raw

PATCH v4 2/2 ARM: sun7i: dts: add support for Sinovoip/Bananapi R1

In reply to Stephen Arnold

From: Steve Arnold <[email protected]>

Cc Ian Campbell <[email protected]>
Cc Hans De Goede <[email protected]>
---
 arch/arm/dts/Makefile                  |   1 +
 arch/arm/dts/sun7i-a20-bananapi-r1.dts | 376 +++++++++++++++++++++++++++++++++
 2 files changed, 377 insertions(+)
 create mode 100644 arch/arm/dts/sun7i-a20-bananapi-r1.dts
arch/arm/dts/Makefile +1 -0
index 032c5ae..0cbae00 100644
@@ -216,6 +216,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \
 	sun7i-a20-ainol-aw1.dtb \
 	sun7i-a20-bananapi.dtb \
 	sun7i-a20-bananapi-m1-plus.dtb \
+	sun7i-a20-bananapi-r1.dtb \
 	sun7i-a20-bananapro.dtb \
 	sun7i-a20-cubieboard2.dtb \
 	sun7i-a20-cubietruck.dtb \
arch/arm/dts/sun7i-a20-bananapi-r1.dts new file +376 -0

376 lines not on this page · raw message

Signature · 1 line
2.9.3
#3 lore raw

v4 cover ARM: add support for Bananapi BPI-R1

In reply to Stephen Arnold
Quoted 9 lines · Stephen Arnold

From: Steve Arnold <[email protected]>

* changes from lamobo-r1 required include:
- unset ahci power pin
- usbvbus gpio pin change
- mmc cd gpio pin change
- enable uart2, set default LED trigger
- CONFIG_GMAC_TX_DELAY change

Quoted 8 lines

Changes for v2:
- incorprated feedback for config options (remove 3, add 1)
Changes for v3/v4:
- re-submit (no change to patch payload) with cover

Steve Arnold (2):
ARM: sun7i: config: add config for Sinovoip/Bananapi BPI-R1
ARM: sun7i: dts: add support for Sinovoip/Bananapi BPI-R1

Some how I lost the previous discussion about this thread, but please combine these two patches into one otherwise patch one get bisect-able issue.

thanks!

Signature · 4 lines
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.