sunxi: Add A20-SOM204-EVB-eMMC board
Subsystems (2)
PATCH 3/3 sunxi: Add A20-SOM204-EVB-eMMC board
A20-SOM204 board has option with onboard 16GB eMMC. The chip is wired to MMC2 slot.
This patch adds defconfig and dts files for this board. The dts is same with mainline kernel.
--- arch/arm/dts/Makefile | 1 + arch/arm/dts/sun7i-a20-olimex-som204-evb-emmc.dts | 36 +++++++++++++++++++++++ configs/A20-Olimex-SOM204-EVB-eMMC_defconfig | 34 +++++++++++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 arch/arm/dts/sun7i-a20-olimex-som204-evb-emmc.dts create mode 100644 configs/A20-Olimex-SOM204-EVB-eMMC_defconfig
arch/arm/dts/Makefile +1 -0
@@ -304,6 +304,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \ sun7i-a20-mk808c.dtb \ sun7i-a20-olimex-som-evb.dtb \ sun7i-a20-olimex-som204-evb.dtb \ + sun7i-a20-olimex-som204-evb-emmc.dtb \ sun7i-a20-olinuxino-lime.dtb \ sun7i-a20-olinuxino-lime2.dtb \ sun7i-a20-olinuxino-lime2-emmc.dtb \
arch/arm/dts/sun7i-a20-olimex-som204-evb-emmc.dts new file +36 -0
@@ -0,0 +1,36 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree Source for A20-SOM204-EVB-eMMC Board + * + * Copyright (C) 2018 Olimex Ltd. + * Author: Stefan Mavrodiev <[email protected]> + */ + +/dts-v1/; +#include "sun7i-a20-olimex-som204-evb.dts" + +/ { + model = "Olimex A20-SOM204-EVB-eMMC"; + compatible = "olimex,a20-olimex-som204-evb-emmc", "allwinner,sun7i-a20"; + + mmc2_pwrseq: mmc2_pwrseq { + compatible = "mmc-pwrseq-emmc"; + reset-gpios = <&pio 2 16 GPIO_ACTIVE_LOW>; + }; +}; + +&mmc2 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc2_pins_a>; + vmmc-supply = <®_vcc3v3>; + mmc-pwrseq = <&mmc2_pwrseq>; + bus-width = <4>; + non-removable; + status = "okay"; + + emmc: emmc at 0 { + reg = <0>; + compatible = "mmc-card"; + broken-hpi; + }; +};
configs/A20-Olimex-SOM204-EVB-eMMC_defconfig new file +34 -0
@@ -0,0 +1,34 @@ +CONFIG_ARM=y +CONFIG_ARCH_SUNXI=y +CONFIG_MACH_SUN7I=y +CONFIG_DRAM_CLK=384 +CONFIG_MMC0_CD_PIN="PH1" +CONFIG_MMC_SUNXI_SLOT_EXTRA=2 +CONFIG_USB0_VBUS_PIN="PC17" +CONFIG_USB0_VBUS_DET="PH5" +CONFIG_I2C1_ENABLE=y +CONFIG_SATAPWR="PC3" +CONFIG_GMAC_TX_DELAY=4 +CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-olimex-som204-evb-emmc" +CONFIG_AHCI=y +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set +CONFIG_SPL=y +CONFIG_SPL_I2C_SUPPORT=y +# CONFIG_CMD_FLASH is not set +# CONFIG_CMD_FPGA is not set +# CONFIG_SPL_DOS_PARTITION is not set +# CONFIG_SPL_ISO_PARTITION is not set +# CONFIG_SPL_PARTITION_UUIDS is not set +CONFIG_SCSI_AHCI=y +CONFIG_ETH_DESIGNWARE=y +CONFIG_PHY_ADDR=3 +CONFIG_PHY_MICREL=y +CONFIG_PHY_MICREL_KSZ90X1=y +CONFIG_RGMII=y +CONFIG_SUN7I_GMAC=y +CONFIG_AXP_ALDO3_VOLT=2800 +CONFIG_AXP_ALDO4_VOLT=2800 +CONFIG_SCSI=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_MUSB_GADGET=y +CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
Signature · 1 line
2.7.4
PATCH 3/3 sunxi: Add A20-SOM204-EVB-eMMC board
Quoted 7 lines · Stefan Mavrodiev
A20-SOM204 board has option with onboard 16GB eMMC. The chip is wired to MMC2 slot.
This patch adds defconfig and dts files for this board. The dts is same with mainline kernel.
Signed-off-by Stefan Mavrodiev <[email protected]>
Thanks!
Maxime
Signature · 10 lines
Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180202/b8f87fb8/attachment-0001.sig>
PATCH 3/3 sunxi: Add A20-SOM204-EVB-eMMC board
Quoted 4 lines · Maxime Ripard
Quoted 3 lines · Stefan Mavrodiev
A20-SOM204 board has option with onboard 16GB eMMC. The chip is wired to MMC2 slot.
Quoted 9 lines
Quoted 4 lines
This patch adds defconfig and dts files for this board. The dts is same with mainline kernel.
Signed-off-by Stefan Mavrodiev <[email protected]>Acked-by Maxime Ripard <[email protected]>Thanks!
Maxime
Should I send "Patch v2" with the changes mentioned by Jagan (Wrong --subject-prefix and updated MAINTAINERS) ?
Regards,
Stefan Mavrodiev
PATCH 3/3 sunxi: Add A20-SOM204-EVB-eMMC board
Quoted 8 lines · Stefan Mavrodiev
Quoted 7 lines · Maxime Ripard
Quoted 6 lines · Stefan Mavrodiev
A20-SOM204 board has option with onboard 16GB eMMC. The chip is wired to MMC2 slot.
This patch adds defconfig and dts files for this board. The dts is same with mainline kernel.
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
Signed-off-by Stefan Mavrodiev <[email protected]>Acked-by Maxime Ripard <[email protected]>Thanks!
MaximeShould I send "Patch v2" with the changes mentioned by Jagan (Wrong --subject-prefix and updated
MAINTAINERS) ?
Yes, please, and you can add my Acked-by in your v2
Maxime
Signature · 10 lines
Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180202/8379af08/attachment.sig>