summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2016-11-17 23:31:55 -0800
committerOlof Johansson <olof@lixom.net>2016-11-17 23:31:55 -0800
commite99b4c970b0dc69503657b98faa2859984d884f7 (patch)
tree8937224971b94218203e5d5c6466fc4a9654840d /include/dt-bindings
parentf17ccd11a0034cca18236383fcd00ec62c5de8ad (diff)
parent6a8883d614c7bede1075a4850139daa9723c291e (diff)
downloadop-kernel-dev-e99b4c970b0dc69503657b98faa2859984d884f7.zip
op-kernel-dev-e99b4c970b0dc69503657b98faa2859984d884f7.tar.gz
Merge tag 'v4.10-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into next/dt
32bit devicetree changes for Rockchip including removal of skeleton.dtsi inclusion, missing unit names for memory nodes, various frequency optimizations allowing for better performance on rk3066, the usage of pin constants to bridge between the two numbering schemes used (gpio controllers using 0-31 and pins being labeled A0-A7,..., D0-D7) and UHS/HS modes for the mmc controllers on the popmetal board. Two new boards, the PX3-based evaluation board, with the PX3 being an industrial variant of the rk3188 soc and the Rikomagic MK808 board based around the rk3066 are also added. * tag 'v4.10-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: (21 commits) ARM: dts: rockchip: replace to "max-frequency" instead of "clock-freq-min-max" ARM: dts: rockchip: Set sdmmc frequency at boot time for rk3066a ARM: dts: rockchip: use pin constants to describe gpios on Popmetal-RK3288 include: dt-bindings: Add GPIO pin index definition for rockchip pinctrl ARM: dts: rockchip: Add rk3066 MK808 board devicetree: Add vendor prefix for Rikomagic ARM: dts: rockchip: initialize rk3066 PLL clock rate clk: rockchip: Add binding ids for cpu and peri clocks on rk3066 ARM: dts: rockchip: enable HS200/DDR52 mode for emmc on rk3288-popmetal ARM: dts: rockchip: Support UHS mode for SD card on PopMetal-RK3288 board ARM: dts: rockchip: remove always-on and boot-on from vcc_sd for px3-evb ARM: dts: rockchip: update compatible strings for Rockchip efuse ARM: dts: rockchip: add rockchip PX3 Evaluation board ARM: dts: rockchip: Add missing unit name to memory nodes in rk3xxx boards ARM: dts: rockchip: Add missing unit name to memory nodes in rk3288 boards ARM: dts: rockchip: Add missing unit name to memory nodes in rk322x boards ARM: dts: rockchip: Add missing unit name to memory nodes in rk3036 boards ARM: dts: rockchip: Remove skeleton.dtsi inclusion in rk3xxx.dtsi ARM: dts: rockchip: Remove skeleton.dtsi inclusion in rk3288.dtsi ARM: dts: rockchip: Remove skeleton.dtsi inclusion in rk322x.dtsi ... Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/clock/rk3188-cru-common.h8
-rw-r--r--include/dt-bindings/pinctrl/rockchip.h33
2 files changed, 40 insertions, 1 deletions
diff --git a/include/dt-bindings/clock/rk3188-cru-common.h b/include/dt-bindings/clock/rk3188-cru-common.h
index 4f53e70..d141c1f 100644
--- a/include/dt-bindings/clock/rk3188-cru-common.h
+++ b/include/dt-bindings/clock/rk3188-cru-common.h
@@ -72,6 +72,8 @@
#define ACLK_IPP 200
#define ACLK_RGA 201
#define ACLK_CIF0 202
+#define ACLK_CPU 203
+#define ACLK_PERI 204
/* pclk gates */
#define PCLK_GRF 320
@@ -104,6 +106,8 @@
#define PCLK_EFUSE 347
#define PCLK_TZPC 348
#define PCLK_TSADC 349
+#define PCLK_CPU 350
+#define PCLK_PERI 351
/* hclk gates */
#define HCLK_SDMMC 448
@@ -126,8 +130,10 @@
#define HCLK_IPP 465
#define HCLK_RGA 466
#define HCLK_NANDC0 467
+#define HCLK_CPU 468
+#define HCLK_PERI 469
-#define CLK_NR_CLKS (HCLK_NANDC0 + 1)
+#define CLK_NR_CLKS (HCLK_PERI + 1)
/* soft-reset indices */
#define SRST_MCORE 2
diff --git a/include/dt-bindings/pinctrl/rockchip.h b/include/dt-bindings/pinctrl/rockchip.h
index 743e66a..aaec8ba 100644
--- a/include/dt-bindings/pinctrl/rockchip.h
+++ b/include/dt-bindings/pinctrl/rockchip.h
@@ -25,6 +25,39 @@
#define RK_GPIO4 4
#define RK_GPIO6 6
+#define RK_PA0 0
+#define RK_PA1 1
+#define RK_PA2 2
+#define RK_PA3 3
+#define RK_PA4 4
+#define RK_PA5 5
+#define RK_PA6 6
+#define RK_PA7 7
+#define RK_PB0 8
+#define RK_PB1 9
+#define RK_PB2 10
+#define RK_PB3 11
+#define RK_PB4 12
+#define RK_PB5 13
+#define RK_PB6 14
+#define RK_PB7 15
+#define RK_PC0 16
+#define RK_PC1 17
+#define RK_PC2 18
+#define RK_PC3 19
+#define RK_PC4 20
+#define RK_PC5 21
+#define RK_PC6 22
+#define RK_PC7 23
+#define RK_PD0 24
+#define RK_PD1 25
+#define RK_PD2 26
+#define RK_PD3 27
+#define RK_PD4 28
+#define RK_PD5 29
+#define RK_PD6 30
+#define RK_PD7 31
+
#define RK_FUNC_GPIO 0
#define RK_FUNC_1 1
#define RK_FUNC_2 2
OpenPOWER on IntegriCloud