]> asedeno.scripts.mit.edu Git - linux.git/blob - arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts
49162bd488f81fafae544217aa953afbe0261b22
[linux.git] / arch / arm64 / boot / dts / renesas / r8a7796-m3ulcb.dts
1 /*
2  * Device Tree Source for the M3ULCB (R-Car Starter Kit Pro) board
3  *
4  * Copyright (C) 2016 Renesas Electronics Corp.
5  * Copyright (C) 2016 Cogent Embedded, Inc.
6  *
7  * This file is licensed under the terms of the GNU General Public License
8  * version 2.  This program is licensed "as is" without any warranty of any
9  * kind, whether express or implied.
10  */
11
12 /dts-v1/;
13 #include "r8a7796.dtsi"
14 #include <dt-bindings/gpio/gpio.h>
15
16 / {
17         model = "Renesas M3ULCB board based on r8a7796";
18         compatible = "renesas,m3ulcb", "renesas,r8a7796";
19
20         aliases {
21                 serial0 = &scif2;
22         };
23
24         chosen {
25                 stdout-path = "serial0:115200n8";
26         };
27
28         memory@48000000 {
29                 device_type = "memory";
30                 /* first 128MB is reserved for secure area. */
31                 reg = <0x0 0x48000000 0x0 0x38000000>;
32         };
33
34         leds {
35                 compatible = "gpio-leds";
36
37                 led5 {
38                         gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>;
39                 };
40                 led6 {
41                         gpios = <&gpio6 13 GPIO_ACTIVE_HIGH>;
42                 };
43         };
44 };
45
46 &extal_clk {
47         clock-frequency = <16666666>;
48 };
49
50 &pfc {
51         pinctrl-0 = <&scif_clk_pins>;
52         pinctrl-names = "default";
53
54         scif2_pins: scif2 {
55                 groups = "scif2_data_a";
56                 function = "scif2";
57         };
58
59         scif_clk_pins: scif_clk {
60                 groups = "scif_clk_a";
61                 function = "scif_clk";
62         };
63 };
64
65 &scif2 {
66         pinctrl-0 = <&scif2_pins>;
67         pinctrl-names = "default";
68
69         status = "okay";
70 };
71
72 &scif_clk {
73         clock-frequency = <14745600>;
74         status = "okay";
75 };