aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2013-10-07 14:39:16 -0400
committerOlof Johansson <olof@lixom.net>2013-10-07 14:39:16 -0400
commit32d7962d37138216a47c2c908969cab737fd3b3c (patch)
tree52a86433a00b13c5f54b0e60a583033aeaf41143
parentdbee3f2a121c5ed584cf8ae745d0a625ddf51a2e (diff)
parent2007e74ca3769fd353fe87a7a105c14102d7980c (diff)
Merge tag 'renesas-dt-for-v3.13' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/dt
From Simon Horman: Renesas ARM-based SoC DT updates for v3.13 * Add CPU cores to DTSI of r8a7790 SoC * Add MMCIF and SDHI DT nodes for reference DTS of ape6evm board * tag 'renesas-dt-for-v3.13' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: ARM: shmobile: Add r8a7790 CA7 CPU cores to DTSI ARM: shmobile: Add r8a7790 CA15 CPU cores ARM: shmobile: ape6evm-reference: add MMCIF and SDHI DT nodes Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r--arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts72
-rw-r--r--arch/arm/boot/dts/r8a7790.dtsi49
2 files changed, 121 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts b/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts
index f444624eb097..2b49b05ae2f4 100644
--- a/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts
+++ b/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts
@@ -10,6 +10,7 @@
10 10
11/dts-v1/; 11/dts-v1/;
12/include/ "r8a73a4.dtsi" 12/include/ "r8a73a4.dtsi"
13#include <dt-bindings/gpio/gpio.h>
13 14
14/ { 15/ {
15 model = "APE6EVM"; 16 model = "APE6EVM";
@@ -24,6 +25,34 @@
24 reg = <0 0x40000000 0 0x40000000>; 25 reg = <0 0x40000000 0 0x40000000>;
25 }; 26 };
26 27
28 vcc_mmc0: regulator@0 {
29 compatible = "regulator-fixed";
30 regulator-name = "MMC0 Vcc";
31 regulator-min-microvolt = <2800000>;
32 regulator-max-microvolt = <2800000>;
33 regulator-always-on;
34 };
35
36 vcc_sdhi0: regulator@1 {
37 compatible = "regulator-fixed";
38
39 regulator-name = "SDHI0 Vcc";
40 regulator-min-microvolt = <3300000>;
41 regulator-max-microvolt = <3300000>;
42
43 gpio = <&pfc 76 GPIO_ACTIVE_HIGH>;
44 enable-active-high;
45 };
46
47 /* Common 3.3V rail, used by several devices on APE6EVM */
48 ape6evm_fixed_3v3: regulator@2 {
49 compatible = "regulator-fixed";
50 regulator-name = "3V3";
51 regulator-min-microvolt = <3300000>;
52 regulator-max-microvolt = <3300000>;
53 regulator-always-on;
54 };
55
27 lbsc { 56 lbsc {
28 compatible = "simple-bus"; 57 compatible = "simple-bus";
29 #address-cells = <1>; 58 #address-cells = <1>;
@@ -62,4 +91,47 @@
62 renesas,groups = "scifa0_data"; 91 renesas,groups = "scifa0_data";
63 renesas,function = "scifa0"; 92 renesas,function = "scifa0";
64 }; 93 };
94
95 mmc0_pins: mmcif {
96 renesas,groups = "mmc0_data8", "mmc0_ctrl";
97 renesas,function = "mmc0";
98 };
99
100 sdhi0_pins: sdhi0 {
101 renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd";
102 renesas,function = "sdhi0";
103 };
104
105 sdhi1_pins: sdhi1 {
106 renesas,groups = "sdhi1_data4", "sdhi1_ctrl";
107 renesas,function = "sdhi1";
108 };
109};
110
111&mmcif0 {
112 vmmc-supply = <&vcc_mmc0>;
113 bus-width = <8>;
114 non-removable;
115 pinctrl-names = "default";
116 pinctrl-0 = <&mmc0_pins>;
117 status = "okay";
118};
119
120&sdhi0 {
121 vmmc-supply = <&vcc_sdhi0>;
122 bus-width = <4>;
123 toshiba,mmc-wrprotect-disable;
124 pinctrl-names = "default";
125 pinctrl-0 = <&sdhi0_pins>;
126 status = "okay";
127};
128
129&sdhi1 {
130 vmmc-supply = <&ape6evm_fixed_3v3>;
131 bus-width = <4>;
132 broken-cd;
133 toshiba,mmc-wrprotect-disable;
134 pinctrl-names = "default";
135 pinctrl-0 = <&sdhi1_pins>;
136 status = "okay";
65}; 137};
diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 3b879e7c697c..a0cfb6618884 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -24,6 +24,55 @@
24 reg = <0>; 24 reg = <0>;
25 clock-frequency = <1300000000>; 25 clock-frequency = <1300000000>;
26 }; 26 };
27
28 cpu1: cpu@1 {
29 device_type = "cpu";
30 compatible = "arm,cortex-a15";
31 reg = <1>;
32 clock-frequency = <1300000000>;
33 };
34
35 cpu2: cpu@2 {
36 device_type = "cpu";
37 compatible = "arm,cortex-a15";
38 reg = <2>;
39 clock-frequency = <1300000000>;
40 };
41
42 cpu3: cpu@3 {
43 device_type = "cpu";
44 compatible = "arm,cortex-a15";
45 reg = <3>;
46 clock-frequency = <1300000000>;
47 };
48
49 cpu4: cpu@4 {
50 device_type = "cpu";
51 compatible = "arm,cortex-a7";
52 reg = <0x100>;
53 clock-frequency = <780000000>;
54 };
55
56 cpu5: cpu@5 {
57 device_type = "cpu";
58 compatible = "arm,cortex-a7";
59 reg = <0x101>;
60 clock-frequency = <780000000>;
61 };
62
63 cpu6: cpu@6 {
64 device_type = "cpu";
65 compatible = "arm,cortex-a7";
66 reg = <0x102>;
67 clock-frequency = <780000000>;
68 };
69
70 cpu7: cpu@7 {
71 device_type = "cpu";
72 compatible = "arm,cortex-a7";
73 reg = <0x103>;
74 clock-frequency = <780000000>;
75 };
27 }; 76 };
28 77
29 gic: interrupt-controller@f1001000 { 78 gic: interrupt-controller@f1001000 {