add support for Firefly-RK3288 and Rayeager PX2 boards
v4 cover add support for Firefly-RK3288 and Rayeager PX2 boards
This series adds support for following Rockchip SoC based boards.
- Firefly, Firefly-RK3288 (both beta and mass production version)
- ChipSPARK, Rayeager PX2
Changes in v4:
- revert wrong clock-* fixes in v3
- remove non-working tsadc
- remove spi2 which uses only clk and cs0 pins
- remove vqmmc-supply from sdmmc and keep vccio_sd 3.3V to make SD card works
- update gmac regulator properties to match with recent Romain Perier's change
Changes in v3:
- fix ordering more
- fix clock-* properties
- enable tsadc with clock-* properties
Changes in v2:
- use own compatible property for Firefly-RK3288 beta version
- remove disabled tsadc node
- add missing vin-supply
- use two chars for i2c address
- fix ordering for the nodes without address element
- add commit messages
FUKAUMI Naoki (3):
dt-bindings: add vendor prefix and root compatible property for
Rockchip boards
ARM: dts: rockchip: add dts for Firefly Firefly-RK3288 boards
ARM: dts: rockchip: add dts for ChipSPARK Rayeager PX2 board
Documentation/devicetree/bindings/arm/rockchip.txt | 10 + .../devicetree/bindings/vendor-prefixes.txt | 2 + arch/arm/boot/dts/Makefile | 5 +- arch/arm/boot/dts/rk3066a-rayeager.dts | 468 ++++++++++++++++++++ arch/arm/boot/dts/rk3288-firefly-beta.dts | 71 +++ arch/arm/boot/dts/rk3288-firefly.dts | 71 +++ arch/arm/boot/dts/rk3288-firefly.dtsi | 483 +++++++++++++++++++++ 7 files changed, 1109 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/rk3066a-rayeager.dts create mode 100644 arch/arm/boot/dts/rk3288-firefly-beta.dts create mode 100644 arch/arm/boot/dts/rk3288-firefly.dts create mode 100644 arch/arm/boot/dts/rk3288-firefly.dtsi
Signature · 1 line
2.2.2
PATCH v4 1/3 dt-bindings: add vendor prefix and root compatible property for Rockchip boards
This adds vendor prefix and root compatible property for following boards
- Firefly, Firefly-RK3288 boards (both beta and mass production version)
- ChipSPARK, Rayeager PX2 board
PX2 SoC is fully compatible with RK3066.
---
Changes in v4: none
Changes in v3: none
Changes in v2:
- use own compatible property for Firefly-RK3288 beta version
Documentation/devicetree/bindings/arm/rockchip.txt | 10 ++++++++++ Documentation/devicetree/bindings/vendor-prefixes.txt | 2 ++ 2 files changed, 12 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.txt +10 -0
@@ -9,6 +9,16 @@ Rockchip platforms device tree bindings Required root node properties: - compatible = "mundoreader,bq-curie2", "rockchip,rk3066a"; +- ChipSPARK Rayeager PX2 board: + Required root node properties: + - compatible = "chipspark,rayeager-px2", "rockchip,rk3066a"; + - Radxa Rock board: Required root node properties: - compatible = "radxa,rock", "rockchip,rk3188"; + +- Firefly Firefly-RK3288 board: + Required root node properties: + - compatible = "firefly,firefly-rk3288", "rockchip,rk3288"; + or + - compatible = "firefly,firefly-rk3288-beta", "rockchip,rk3288";
Documentation/devicetree/bindings/vendor-prefixes.txt +2 -0
@@ -34,6 +34,7 @@ capella Capella Microsystems, Inc cavium Cavium, Inc. cdns Cadence Design Systems Inc. chipidea Chipidea, Inc +chipspark ChipSPARK chrp Common Hardware Reference Platform chunghwa Chunghwa Picture Tubes Ltd. cirrus Cirrus Logic, Inc.
@@ -65,6 +66,7 @@ everest Everest Semiconductor Co. Ltd. everspin Everspin Technologies, Inc. excito Excito fcs Fairchild Semiconductor +firefly Firefly fsl Freescale Semiconductor GEFanuc GE Fanuc Intelligent Platforms Embedded Systems, Inc. gef GE Fanuc Intelligent Platforms Embedded Systems, Inc.
Signature · 1 line
2.2.2
PATCH v4 2/3 ARM: dts: rockchip: add dts for Firefly Firefly-RK3288 boards
In reply to FUKAUMI NaokiThis adds support for Firefly-RK3288, Rockchip RK3288 based development boards made by Firefly.
There are 2 dts for 2 versions of the board. rk3288-firefly-beta.dts is for the beta version, rk3288-firefly.dts is for the mass production version.
---
Changes in v4:
- revert wrong clock-* fixes in v3
- remove non-working tsadc
- remove spi2 which uses only clk and cs0 pins
- remove vqmmc-supply from sdmmc and keep vccio_sd 3.3V to make SD card works
- update gmac regulator properties to match with recent Romain Perier's change
Changes in v3:
- fix ordering more
- fix clock-* properties
- enable tsadc with clock-* properties
Changes in v2:
- use own compatible property for Firefly-RK3288 beta version
- remove disabled tsadc node
- fix ordering for the nodes without address element
- add commit messages
arch/arm/boot/dts/Makefile | 4 +- arch/arm/boot/dts/rk3288-firefly-beta.dts | 71 +++++ arch/arm/boot/dts/rk3288-firefly.dts | 71 +++++ arch/arm/boot/dts/rk3288-firefly.dtsi | 483 ++++++++++++++++++++++++++++++ 4 files changed, 628 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/rk3288-firefly-beta.dts create mode 100644 arch/arm/boot/dts/rk3288-firefly.dts create mode 100644 arch/arm/boot/dts/rk3288-firefly.dtsi
arch/arm/boot/dts/Makefile +3 -1
@@ -453,7 +453,9 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \ rk3066a-marsboard.dtb \ rk3188-radxarock.dtb \ rk3288-evb-act8846.dtb \ - rk3288-evb-rk808.dtb + rk3288-evb-rk808.dtb \ + rk3288-firefly-beta.dtb \ + rk3288-firefly.dtb dtb-$(CONFIG_ARCH_S3C24XX) += \ s3c2416-smdk2416.dtb dtb-$(CONFIG_ARCH_S3C64XX) += \
arch/arm/boot/dts/rk3288-firefly-beta.dts new file +71 -0
71 lines not on this page · raw message
arch/arm/boot/dts/rk3288-firefly.dts new file +71 -0
71 lines not on this page · raw message
arch/arm/boot/dts/rk3288-firefly.dtsi new file +483 -0
483 lines not on this page · raw message
Signature · 1 line
2.2.2
PATCH v4 3/3 ARM: dts: rockchip: add dts for ChipSPARK Rayeager PX2 board
In reply to FUKAUMI NaokiThis add support for Rayeager PX2, Rockchip PX2 based development board made by ChipSPARK.
---
Changes in v4: none
Changes in v3:
- fix ordering more
Changes in v2:
- add missing vin-supply
- use two chars for i2c address
- fix ordering for nodes without address element
- add commit messages
arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/rk3066a-rayeager.dts | 468 +++++++++++++++++++++++++++++++++ 2 files changed, 469 insertions(+) create mode 100644 arch/arm/boot/dts/rk3066a-rayeager.dts
arch/arm/boot/dts/Makefile +1 -0
@@ -451,6 +451,7 @@ dtb-$(CONFIG_ARCH_REALVIEW) += \ dtb-$(CONFIG_ARCH_ROCKCHIP) += \ rk3066a-bqcurie2.dtb \ rk3066a-marsboard.dtb \ + rk3066a-rayeager.dtb \ rk3188-radxarock.dtb \ rk3288-evb-act8846.dtb \ rk3288-evb-rk808.dtb \
arch/arm/boot/dts/rk3066a-rayeager.dts new file +468 -0
468 lines not on this page · raw message
Signature · 1 line
2.2.2
Heiko Stübner
maintainerv4 cover add support for Firefly-RK3288 and Rayeager PX2 boards
In reply to FUKAUMI NaokiAm Sonntag, 25. Januar 2015, 21:39:33 schrieb FUKAUMI Naoki:
Quoted 4 lines
This series adds support for following Rockchip SoC based boards.
- Firefly, Firefly-RK3288 (both beta and mass production version)
- ChipSPARK, Rayeager PX2
I've applied this series with Andy's Tested-by for the Rayeager board and my Tested-by for the Firefly.
One caveat, I had to remove the gmac node from the firefly dtsi, as the whole gmac series goes through the network tree, so the dtb won't compile either in my tree or arm-soc due to the missing core node.
I'll try to see if I can get the separate gmac node in when everything is combined in 3.20-rc1.
Heiko
Heiko Stübner
maintainerv4 cover add support for Firefly-RK3288 and Rayeager PX2 boards
Am Montag, 26. Januar 2015, 02:22:55 schrieb Heiko St?bner:
Quoted 9 lines
Am Sonntag, 25. Januar 2015, 21:39:33 schrieb FUKAUMI Naoki:
Quoted 4 lines
This series adds support for following Rockchip SoC based boards.
- Firefly, Firefly-RK3288 (both beta and mass production version)
- ChipSPARK, Rayeager PX2I've applied this series with Andy's Tested-by for the Rayeager board and my Tested-by for the Firefly.
Quoted 6 lines
One caveat, I had to remove the gmac node from the firefly dtsi, as the whole gmac series goes through the network tree, so the dtb won't compile either in my tree or arm-soc due to the missing core node.
I'll try to see if I can get the separate gmac node in when everything is combined in 3.20-rc1.
I've added the missing gmac config now to my dts-branch for 3.21 (or whatever it might get called), with the following patch:
----------- 8< ------------
From: Heiko Stuebner <[email protected]>
Date: Fri, 20 Feb 2015 01:31:57 +0100
Subject: [PATCH] ARM: dts: rockchip: enable gmac on rk3288-firefly
This was left out of the original firefly board definition due to the ethernet support going completely through the network tree, making the underlying nodes unavailable.
Now that everything is present enable the gmac on the firefly.
--- arch/arm/boot/dts/rk3288-firefly.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
arch/arm/boot/dts/rk3288-firefly.dtsi +16 -0
@@ -179,6 +179,22 @@ status = "okay"; }; +&gmac { + assigned-clocks = <&cru SCLK_MAC>; + assigned-clock-parents = <&ext_gmac>; + clock_in_out = "input"; + pinctrl-names = "default"; + pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>; + phy-supply = <&vcc_lan>; + phy-mode = "rgmii"; + snps,reset-active-low; + snps,reset-delays-us = <0 10000 1000000>; + snps,reset-gpio = <&gpio4 8 GPIO_ACTIVE_LOW>; + tx_delay = <0x30>; + rx_delay = <0x10>; + status = "ok"; +}; + &hdmi { ddc-i2c-bus = <&i2c5>; status = "okay";
Signature · 1 line
2.1.4