2016-11-04 01:07:09 +07:00
|
|
|
/*
|
|
|
|
* Device Tree Source for the M3ULCB (R-Car Starter Kit Pro) board
|
|
|
|
*
|
|
|
|
* Copyright (C) 2016 Renesas Electronics Corp.
|
|
|
|
* Copyright (C) 2016 Cogent Embedded, Inc.
|
|
|
|
*
|
|
|
|
* This file is licensed under the terms of the GNU General Public License
|
|
|
|
* version 2. This program is licensed "as is" without any warranty of any
|
|
|
|
* kind, whether express or implied.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
#include "r8a7796.dtsi"
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
2016-11-04 01:07:43 +07:00
|
|
|
#include <dt-bindings/input/input.h>
|
2016-11-04 01:07:09 +07:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Renesas M3ULCB board based on r8a7796";
|
|
|
|
compatible = "renesas,m3ulcb", "renesas,r8a7796";
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
serial0 = &scif2;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
stdout-path = "serial0:115200n8";
|
|
|
|
};
|
|
|
|
|
|
|
|
memory@48000000 {
|
|
|
|
device_type = "memory";
|
|
|
|
/* first 128MB is reserved for secure area. */
|
|
|
|
reg = <0x0 0x48000000 0x0 0x38000000>;
|
|
|
|
};
|
2016-11-04 01:07:31 +07:00
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
led5 {
|
|
|
|
gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
led6 {
|
|
|
|
gpios = <&gpio6 13 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
};
|
2016-11-04 01:07:43 +07:00
|
|
|
|
|
|
|
keyboard {
|
|
|
|
compatible = "gpio-keys";
|
|
|
|
|
|
|
|
key-1 {
|
|
|
|
linux,code = <KEY_1>;
|
|
|
|
label = "SW3";
|
|
|
|
wakeup-source;
|
|
|
|
debounce-interval = <20>;
|
|
|
|
gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
};
|
2016-11-04 01:07:09 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
&extal_clk {
|
|
|
|
clock-frequency = <16666666>;
|
|
|
|
};
|
|
|
|
|
2016-11-04 01:08:02 +07:00
|
|
|
&extalr_clk {
|
|
|
|
clock-frequency = <32768>;
|
|
|
|
};
|
|
|
|
|
2016-11-04 01:07:09 +07:00
|
|
|
&pfc {
|
2016-11-04 01:07:20 +07:00
|
|
|
pinctrl-0 = <&scif_clk_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
2016-11-04 01:07:09 +07:00
|
|
|
scif2_pins: scif2 {
|
|
|
|
groups = "scif2_data_a";
|
|
|
|
function = "scif2";
|
|
|
|
};
|
2016-11-04 01:07:20 +07:00
|
|
|
|
|
|
|
scif_clk_pins: scif_clk {
|
|
|
|
groups = "scif_clk_a";
|
|
|
|
function = "scif_clk";
|
|
|
|
};
|
2016-11-04 01:07:09 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
&scif2 {
|
|
|
|
pinctrl-0 = <&scif2_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
|
|
|
status = "okay";
|
|
|
|
};
|
2016-11-04 01:07:20 +07:00
|
|
|
|
|
|
|
&scif_clk {
|
|
|
|
clock-frequency = <14745600>;
|
|
|
|
status = "okay";
|
|
|
|
};
|