Re: [U-Boot] [U-Boot, v4, 3/4] rockchip: Add basic support for phyCORE-RK3288 SoM based carrier board

2017-07-04 Thread Philipp Tomsich
> The phyCORE-RK3288 is a SoM (System on Module) containing a RK3288 SoC.
> The module can be connected to different carrier boards.
> It can be also equipped with different RAM, SPI flash and eMMC variants.
> The Rapid Development Kit option is using the following setup:
> 
>   - 1 GB DDR3 RAM (2 Banks)
>   - 1x 4 KB EEPROM
>   - DP83867 Gigabit Ethernet PHY
>   - 16 MB SPI Flash
>   - 4 GB eMMC Flash
> 
> Add basic support for the PCM-947 carrier board, a RK3288 based development
> board made by PHYTEC. This board works in a combination with
> the phyCORE-RK3288 System on Module.
> 
> Signed-off-by: Wadim Egorov 
> Reviewed-by: Simon Glass 
> Acked-by: Philipp Tomsich 
> ---
> Changes in v4:
> - Use of_machine_is_compatible()
> - Wrap phycore_init()/of_machine_is_compatible() with CONFIG_SPL_OF_PLATDATA
>   and CONFIG_SPL_POWER_SUPPORT. Needed because of_machine_is_compatible() and
>   rk818_spl_configure_*() is not available with all rk3288 board configs.
> - Added Reviewed-by: Simon Glass 
> 
>  arch/arm/dts/Makefile|   1 +
>  arch/arm/dts/rk3288-phycore-rdk.dts  | 294 
>  arch/arm/dts/rk3288-phycore-som.dtsi | 506 
> +++
>  arch/arm/mach-rockchip/rk3288-board-spl.c|  40 +++
>  arch/arm/mach-rockchip/rk3288/Kconfig|  10 +
>  board/phytec/phycore_rk3288/Kconfig  |  15 +
>  board/phytec/phycore_rk3288/MAINTAINERS  |   6 +
>  board/phytec/phycore_rk3288/Makefile |   8 +
>  board/phytec/phycore_rk3288/phycore-rk3288.c |   8 +
>  configs/phycore-rk3288_defconfig |  70 
>  include/configs/phycore_rk3288.h |  23 ++
>  11 files changed, 981 insertions(+)
>  create mode 100644 arch/arm/dts/rk3288-phycore-rdk.dts
>  create mode 100644 arch/arm/dts/rk3288-phycore-som.dtsi
>  create mode 100644 board/phytec/phycore_rk3288/Kconfig
>  create mode 100644 board/phytec/phycore_rk3288/MAINTAINERS
>  create mode 100644 board/phytec/phycore_rk3288/Makefile
>  create mode 100644 board/phytec/phycore_rk3288/phycore-rk3288.c
>  create mode 100644 configs/phycore-rk3288_defconfig
>  create mode 100644 include/configs/phycore_rk3288.h
> 

Applied to u-boot-rockchip/next, thanks!
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [U-Boot, v4, 3/4] rockchip: Add basic support for phyCORE-RK3288 SoM based carrier board

2017-06-26 Thread Philipp Tomsich



On Mon, 19 Jun 2017, Wadim Egorov wrote:


The phyCORE-RK3288 is a SoM (System on Module) containing a RK3288 SoC.
The module can be connected to different carrier boards.
It can be also equipped with different RAM, SPI flash and eMMC variants.
The Rapid Development Kit option is using the following setup:

 - 1 GB DDR3 RAM (2 Banks)
 - 1x 4 KB EEPROM
 - DP83867 Gigabit Ethernet PHY
 - 16 MB SPI Flash
 - 4 GB eMMC Flash

Add basic support for the PCM-947 carrier board, a RK3288 based development
board made by PHYTEC. This board works in a combination with
the phyCORE-RK3288 System on Module.

Signed-off-by: Wadim Egorov 
Reviewed-by: Simon Glass 
Acked-by: Philipp Tomsich 
---
Changes in v4:
- Use of_machine_is_compatible()
- Wrap phycore_init()/of_machine_is_compatible() with CONFIG_SPL_OF_PLATDATA
 and CONFIG_SPL_POWER_SUPPORT. Needed because of_machine_is_compatible() and
 rk818_spl_configure_*() is not available with all rk3288 board configs.
- Added Reviewed-by: Simon Glass 

arch/arm/dts/Makefile|   1 +
arch/arm/dts/rk3288-phycore-rdk.dts  | 294 
arch/arm/dts/rk3288-phycore-som.dtsi | 506 +++
arch/arm/mach-rockchip/rk3288-board-spl.c|  40 +++
arch/arm/mach-rockchip/rk3288/Kconfig|  10 +
board/phytec/phycore_rk3288/Kconfig  |  15 +
board/phytec/phycore_rk3288/MAINTAINERS  |   6 +
board/phytec/phycore_rk3288/Makefile |   8 +
board/phytec/phycore_rk3288/phycore-rk3288.c |   8 +
configs/phycore-rk3288_defconfig |  70 
include/configs/phycore_rk3288.h |  23 ++
11 files changed, 981 insertions(+)
create mode 100644 arch/arm/dts/rk3288-phycore-rdk.dts
create mode 100644 arch/arm/dts/rk3288-phycore-som.dtsi
create mode 100644 board/phytec/phycore_rk3288/Kconfig
create mode 100644 board/phytec/phycore_rk3288/MAINTAINERS
create mode 100644 board/phytec/phycore_rk3288/Makefile
create mode 100644 board/phytec/phycore_rk3288/phycore-rk3288.c
create mode 100644 configs/phycore-rk3288_defconfig
create mode 100644 include/configs/phycore_rk3288.h

diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 8b8f5e9..84f63e1 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -34,6 +34,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \
rk3288-fennec.dtb \
rk3288-firefly.dtb \
rk3288-miqi.dtb \
+   rk3288-phycore-rdk.dtb \
rk3288-popmetal.dtb \
rk3288-rock2-square.dtb \
rk3288-tinker.dtb \
diff --git a/arch/arm/dts/rk3288-phycore-rdk.dts 
b/arch/arm/dts/rk3288-phycore-rdk.dts
new file mode 100644
index 000..f2bb7b5
--- /dev/null
+++ b/arch/arm/dts/rk3288-phycore-rdk.dts
@@ -0,0 +1,294 @@
+/*
+ * Device tree file for Phytec PCM-947 carrier board
+ * Copyright (C) 2017 PHYTEC Messtechnik GmbH
+ * Author: Wadim Egorov 
+ *
+ * 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 
+#include 

Re: [U-Boot] [U-Boot, v4, 3/4] rockchip: Add basic support for phyCORE-RK3288 SoM based carrier board

2017-06-25 Thread Philipp Tomsich
> The phyCORE-RK3288 is a SoM (System on Module) containing a RK3288 SoC.
> The module can be connected to different carrier boards.
> It can be also equipped with different RAM, SPI flash and eMMC variants.
> The Rapid Development Kit option is using the following setup:
> 
>   - 1 GB DDR3 RAM (2 Banks)
>   - 1x 4 KB EEPROM
>   - DP83867 Gigabit Ethernet PHY
>   - 16 MB SPI Flash
>   - 4 GB eMMC Flash
> 
> Add basic support for the PCM-947 carrier board, a RK3288 based development
> board made by PHYTEC. This board works in a combination with
> the phyCORE-RK3288 System on Module.
> 
> Signed-off-by: Wadim Egorov 
> Reviewed-by: Simon Glass 
> ---
> Changes in v4:
> - Use of_machine_is_compatible()
> - Wrap phycore_init()/of_machine_is_compatible() with CONFIG_SPL_OF_PLATDATA
>   and CONFIG_SPL_POWER_SUPPORT. Needed because of_machine_is_compatible() and
>   rk818_spl_configure_*() is not available with all rk3288 board configs.
> - Added Reviewed-by: Simon Glass 
> 
>  arch/arm/dts/Makefile|   1 +
>  arch/arm/dts/rk3288-phycore-rdk.dts  | 294 
>  arch/arm/dts/rk3288-phycore-som.dtsi | 506 
> +++
>  arch/arm/mach-rockchip/rk3288-board-spl.c|  40 +++
>  arch/arm/mach-rockchip/rk3288/Kconfig|  10 +
>  board/phytec/phycore_rk3288/Kconfig  |  15 +
>  board/phytec/phycore_rk3288/MAINTAINERS  |   6 +
>  board/phytec/phycore_rk3288/Makefile |   8 +
>  board/phytec/phycore_rk3288/phycore-rk3288.c |   8 +
>  configs/phycore-rk3288_defconfig |  70 
>  include/configs/phycore_rk3288.h |  23 ++
>  11 files changed, 981 insertions(+)
>  create mode 100644 arch/arm/dts/rk3288-phycore-rdk.dts
>  create mode 100644 arch/arm/dts/rk3288-phycore-som.dtsi
>  create mode 100644 board/phytec/phycore_rk3288/Kconfig
>  create mode 100644 board/phytec/phycore_rk3288/MAINTAINERS
>  create mode 100644 board/phytec/phycore_rk3288/Makefile
>  create mode 100644 board/phytec/phycore_rk3288/phycore-rk3288.c
>  create mode 100644 configs/phycore-rk3288_defconfig
>  create mode 100644 include/configs/phycore_rk3288.h
> 

Acked-by: Philipp Tomsich 
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot