public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [linux-sunxi] Re: [PATCH] sunxi: Add support for Cubietruck Plus
Date: Sun, 20 Mar 2016 14:47:04 +0100	[thread overview]
Message-ID: <56EEA9D8.5070501@redhat.com> (raw)
In-Reply-To: <1538990.SSYoUtQXKX@anubis.ausil.us>

hI,

On 19-03-16 23:43, Dennis Gilmore wrote:
> Hans,
>
> What is the status of this patch?

I added this to my sunxi-wip tree (including a fix for the build error)
a couple of days ago. I will send a pull-req for various u-boot sunxi
patch soonish and then it will hit mainline.

Regards,

Hans


>
> Dennis
>
> On Wednesday, January 27, 2016 4:34:44 PM CDT Chen-Yu Tsai wrote:
>> Cubietruck Plus is a A83T/H8 based development board. The board has
>> standard DDR3 SDRAM, AXP818 PMIC/codec, SD/MMC, eMMC, USB 2.0 host
>> via HSIC USB Hub, USB OTG, SATA via USB bridge, gigabit ethernet,
>> WiFi, headphone out / mic in, and various GPIO headers.
>>
>> The board also has an EEPROM on i2c0 which holds the MAC address.
>>
>> DLDO3 and DLDO4 provide power to the EMAC pins and PHY. Pin PA20
>> is connected to the reset control of the PHY. EMAC is not actually
>> supported yet.
>>
>> The DTS is the same as the one already in the kernel.
>>
>> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
>> ---
>>   arch/arm/dts/Makefile                       |  1 +
>>   arch/arm/dts/sun8i-a83t-cubietruck-plus.dts | 65
>> +++++++++++++++++++++++++++++ configs/Cubietruck_plus_defconfig           |
>> 18 ++++++++
>>   3 files changed, 84 insertions(+)
>>   create mode 100644 arch/arm/dts/sun8i-a83t-cubietruck-plus.dts
>>   create mode 100644 configs/Cubietruck_plus_defconfig
>>
>> diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
>> index 1c7d359..e338db5 100644
>> --- a/arch/arm/dts/Makefile
>> +++ b/arch/arm/dts/Makefile
>> @@ -184,6 +184,7 @@ dtb-$(CONFIG_MACH_SUN8I_A33) += \
>>   	sun8i-a33-sinlinx-sina33.dtb
>>   dtb-$(CONFIG_MACH_SUN8I_A83T) += \
>>   	sun8i-a83t-allwinner-h8homlet-v2.dtb \
>> +	sun8i-a83t-cubietruck-plus.dtb \
>>   	sun8i-a83t-sinovoip-bpi-m3.dtb
>>   dtb-$(CONFIG_MACH_SUN8I_H3) += \
>>   	sun8i-h3-orangepi-pc.dtb \
>> diff --git a/arch/arm/dts/sun8i-a83t-cubietruck-plus.dts
>> b/arch/arm/dts/sun8i-a83t-cubietruck-plus.dts new file mode 100644
>> index 0000000..88b1e09
>> --- /dev/null
>> +++ b/arch/arm/dts/sun8i-a83t-cubietruck-plus.dts
>> @@ -0,0 +1,65 @@
>> +/*
>> + * Copyright 2015 Chen-Yu Tsai
>> + *
>> + * Chen-Yu Tsai <wens@csie.org>
>> + *
>> + * This file is dual-licensed: you can use it either under the terms
>> + * of the GPL or the X11 license, at your option. Note that this dual
>> + * licensing only applies to this file, and not this project as a
>> + * whole.
>> + *
>> + *  a) This file is free software; you can redistribute it and/or
>> + *     modify it under the terms of the GNU General Public License as
>> + *     published by the Free Software Foundation; either version 2 of the
>> + *     License, or (at your option) any later version.
>> + *
>> + *     This file is distributed in the hope that it will be useful,
>> + *     but WITHOUT ANY WARRANTY; without even the implied warranty of
>> + *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>> + *     GNU General Public License for more details.
>> + *
>> + * Or, alternatively,
>> + *
>> + *  b) Permission is hereby granted, free of charge, to any person
>> + *     obtaining a copy of this software and associated documentation
>> + *     files (the "Software"), to deal in the Software without
>> + *     restriction, including without limitation the rights to use,
>> + *     copy, modify, merge, publish, distribute, sublicense, and/or
>> + *     sell copies of the Software, and to permit persons to whom the
>> + *     Software is furnished to do so, subject to the following
>> + *     conditions:
>> + *
>> + *     The above copyright notice and this permission notice shall be
>> + *     included in all copies or substantial portions of the Software.
>> + *
>> + *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
>> + *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
>> + *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
>> + *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
>> + *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
>> + *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
>> + *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
>> + *     OTHER DEALINGS IN THE SOFTWARE.
>> + */
>> +
>> +/dts-v1/;
>> +#include "sun8i-a83t.dtsi"
>> +
>> +/ {
>> +	model = "Cubietech Cubietruck Plus";
>> +	compatible = "cubietech,cubietruck-plus", "allwinner,sun8i-a83t";
>> +
>> +	aliases {
>> +		serial0 = &uart0;
>> +	};
>> +
>> +	chosen {
>> +		stdout-path = "serial0:115200n8";
>> +	};
>> +};
>> +
>> +&uart0 {
>> +	pinctrl-names = "default";
>> +	pinctrl-0 = <&uart0_pins_b>;
>> +	status = "okay";
>> +};
>> diff --git a/configs/Cubietruck_plus_defconfig
>> b/configs/Cubietruck_plus_defconfig new file mode 100644
>> index 0000000..bb0b336
>> --- /dev/null
>> +++ b/configs/Cubietruck_plus_defconfig
>> @@ -0,0 +1,18 @@
>> +CONFIG_ARM=y
>> +CONFIG_ARCH_SUNXI=y
>> +CONFIG_MACH_SUN8I_A83T=y
>> +CONFIG_DRAM_CLK=672
>> +CONFIG_DRAM_ZQ=15355
>> +CONFIG_DRAM_ODT_EN=y
>> +CONFIG_MMC0_CD_PIN="PF6"
>> +CONFIG_I2C0_ENABLE=y
>> +CONFIG_AXP_GPIO=y
>> +CONFIG_DEFAULT_DEVICE_TREE="sun8i-a83t-cubietruck-plus"
>> +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>> +CONFIG_SPL=y
>> +CONFIG_SYS_EXTRA_OPTIONS="RGMII,MACPWR=SUNXI_GPD(20)"
>> +# CONFIG_CMD_IMLS is not set
>> +# CONFIG_CMD_FLASH is not set
>> +# CONFIG_CMD_FPGA is not set
>> +CONFIG_AXP_DLDO3_VOLT=2500
>> +CONFIG_AXP_DLDO4_VOLT=3300
>
>

  parent reply	other threads:[~2016-03-20 13:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-27  8:34 [U-Boot] [PATCH] sunxi: Support SID e-fuses on A83T and H3 Chen-Yu Tsai
2016-01-27  8:34 ` [U-Boot] [PATCH] sunxi: Add support for Cubietruck Plus Chen-Yu Tsai
2016-03-19 22:43   ` Dennis Gilmore
2016-03-19 23:34     ` Dennis Gilmore
2016-03-20 13:47     ` Hans de Goede [this message]
2016-03-16 13:10 ` [U-Boot] sunxi: Support SID e-fuses on A83T and H3 Hans de Goede

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56EEA9D8.5070501@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox