blob: ec82674d80336d8f854b5ceb1df1f6288e58b5ff [file] [log] [blame]
Simon Horman6dace672013-06-28 13:42:16 +09001/*
2 * Device Tree Source for the Lager board
3 *
4 * Copyright (C) 2013 Renesas Solutions Corp.
5 *
6 * This file is licensed under the terms of the GNU General Public License
7 * version 2. This program is licensed "as is" without any warranty of any
8 * kind, whether express or implied.
9 */
10
11/dts-v1/;
12/include/ "r8a7790.dtsi"
Laurent Pinchart466f3022013-07-16 11:45:56 +020013#include <dt-bindings/gpio/gpio.h>
Simon Horman6dace672013-06-28 13:42:16 +090014
15/ {
16 model = "Lager";
17 compatible = "renesas,lager-reference", "renesas,r8a7790";
18
19 chosen {
Laurent Pinchartd2f463a2013-07-29 22:31:41 +020020 bootargs = "console=ttySC6,115200 ignore_loglevel rw";
Simon Horman6dace672013-06-28 13:42:16 +090021 };
22
23 memory@40000000 {
24 device_type = "memory";
25 reg = <0 0x40000000 0 0x80000000>;
26 };
27
28 lbsc {
29 #address-cells = <1>;
30 #size-cells = <1>;
31 };
Laurent Pinchart466f3022013-07-16 11:45:56 +020032
33 leds {
34 compatible = "gpio-leds";
35 led6 {
36 gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>;
37 };
38 led7 {
39 gpios = <&gpio4 23 GPIO_ACTIVE_HIGH>;
40 };
41 led8 {
42 gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>;
43 };
44 };
Kuninori Morimoto02b4a742013-10-06 21:26:58 -070045
46 fixedregulator3v3: fixedregulator@0 {
47 compatible = "regulator-fixed";
48 regulator-name = "fixed-3.3V";
49 regulator-min-microvolt = <3300000>;
50 regulator-max-microvolt = <3300000>;
51 regulator-boot-on;
52 regulator-always-on;
53 };
Simon Horman6dace672013-06-28 13:42:16 +090054};
Kuninori Morimoto4a46bea2013-10-06 21:26:40 -070055
56&pfc {
57 pinctrl-0 = <&scif0_pins &scif1_pins>;
58 pinctrl-names = "default";
59
Kuninori Morimotof56d51f2013-10-21 19:38:16 -070060 scif0_pins: serial0 {
Kuninori Morimoto4a46bea2013-10-06 21:26:40 -070061 renesas,groups = "scif0_data";
62 renesas,function = "scif0";
63 };
64
Kuninori Morimotof56d51f2013-10-21 19:38:16 -070065 scif1_pins: serial1 {
Kuninori Morimoto4a46bea2013-10-06 21:26:40 -070066 renesas,groups = "scif1_data";
67 renesas,function = "scif1";
68 };
Kuninori Morimoto02b4a742013-10-06 21:26:58 -070069
70 mmc1_pins: mmc1 {
71 renesas,groups = "mmc1_data8", "mmc1_ctrl";
72 renesas,function = "mmc1";
73 };
74};
75
76&mmcif1 {
77 pinctrl-0 = <&mmc1_pins>;
78 pinctrl-names = "default";
79
80 vmmc-supply = <&fixedregulator3v3>;
81 bus-width = <8>;
82 non-removable;
83 status = "okay";
Kuninori Morimoto4a46bea2013-10-06 21:26:40 -070084};