Merge branch 'x86-boot-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / r7s9210-rza2mevb.dts
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Device Tree Source for the RZA2MEVB board
4  *
5  * Copyright (C) 2018 Renesas Electronics
6  *
7  */
8
9 /dts-v1/;
10 #include "r7s9210.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/pinctrl/r7s9210-pinctrl.h>
13
14 / {
15         model = "RZA2MEVB";
16         compatible = "renesas,rza2mevb", "renesas,r7s9210";
17
18         aliases {
19                 serial0 = &scif4;
20         };
21
22         chosen {
23                 bootargs = "ignore_loglevel";
24                 stdout-path = "serial0:115200n8";
25         };
26
27         memory@40000000 {
28                 device_type = "memory";
29                 reg = <0x40000000 0x00800000>;   /* HyperRAM */
30         };
31
32         lbsc {
33                 #address-cells = <1>;
34                 #size-cells = <1>;
35         };
36
37         leds {
38                 compatible = "gpio-leds";
39
40                 red {
41                         gpios = <&pinctrl RZA2_PIN(PORT6, 0) GPIO_ACTIVE_HIGH>;
42                 };
43                 green {
44                         gpios = <&pinctrl RZA2_PIN(PORTC, 1) GPIO_ACTIVE_HIGH>;
45                 };
46         };
47 };
48
49 /* EXTAL */
50 &extal_clk {
51         clock-frequency = <24000000>;   /* 24MHz */
52 };
53
54 /* RTC_X1 */
55 &rtc_x1_clk {
56         clock-frequency = <32768>;
57 };
58
59 &pinctrl {
60         /* Serial Console */
61         scif4_pins: serial4 {
62                 pinmux = <RZA2_PINMUX(PORT9, 0, 4)>,    /* TxD4 */
63                          <RZA2_PINMUX(PORT9, 1, 4)>;    /* RxD4 */
64         };
65 };
66
67 /* High resolution System tick timers */
68 &ostm0 {
69         status = "okay";
70 };
71
72 &ostm1 {
73         status = "okay";
74 };
75
76 /* Serial Console */
77 &scif4 {
78         pinctrl-names = "default";
79         pinctrl-0 = <&scif4_pins>;
80
81         status = "okay";
82 };