aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-12-11 09:13:47 -0500
committerSimon Horman <horms+renesas@verge.net.au>2013-12-19 06:01:33 -0500
commit39fa511b8cd96395ee788267a16b8d3b20ac56e2 (patch)
treeefa056339274656f4e625f403629027d49336e95
parent59e79895b95892863617ce630fbda467f2470575 (diff)
ARM: shmobile: Sync Lager DTS with Lager reference DTS
Copy the device nodes from Lager reference into the Lager device tree file. This will allow us to use a single DTS file regarless of kernel configuration. In case of legacy C board code the device nodes may or may not be used, but in the multiplatform case all the DT device nodes are used. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--arch/arm/boot/dts/r8a7790-lager.dts53
1 files changed, 53 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
index 10e6a08164e5..67a69399ba19 100644
--- a/arch/arm/boot/dts/r8a7790-lager.dts
+++ b/arch/arm/boot/dts/r8a7790-lager.dts
@@ -10,6 +10,7 @@
10 10
11/dts-v1/; 11/dts-v1/;
12#include "r8a7790.dtsi" 12#include "r8a7790.dtsi"
13#include <dt-bindings/gpio/gpio.h>
13 14
14/ { 15/ {
15 model = "Lager"; 16 model = "Lager";
@@ -33,4 +34,56 @@
33 #address-cells = <1>; 34 #address-cells = <1>;
34 #size-cells = <1>; 35 #size-cells = <1>;
35 }; 36 };
37
38 leds {
39 compatible = "gpio-leds";
40 led6 {
41 gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>;
42 };
43 led7 {
44 gpios = <&gpio4 23 GPIO_ACTIVE_HIGH>;
45 };
46 led8 {
47 gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>;
48 };
49 };
50
51 fixedregulator3v3: fixedregulator@0 {
52 compatible = "regulator-fixed";
53 regulator-name = "fixed-3.3V";
54 regulator-min-microvolt = <3300000>;
55 regulator-max-microvolt = <3300000>;
56 regulator-boot-on;
57 regulator-always-on;
58 };
59};
60
61&pfc {
62 pinctrl-0 = <&scif0_pins &scif1_pins>;
63 pinctrl-names = "default";
64
65 scif0_pins: serial0 {
66 renesas,groups = "scif0_data";
67 renesas,function = "scif0";
68 };
69
70 scif1_pins: serial1 {
71 renesas,groups = "scif1_data";
72 renesas,function = "scif1";
73 };
74
75 mmc1_pins: mmc1 {
76 renesas,groups = "mmc1_data8", "mmc1_ctrl";
77 renesas,function = "mmc1";
78 };
79};
80
81&mmcif1 {
82 pinctrl-0 = <&mmc1_pins>;
83 pinctrl-names = "default";
84
85 vmmc-supply = <&fixedregulator3v3>;
86 bus-width = <8>;
87 non-removable;
88 status = "okay";
36}; 89};