arm64: dts: renesas: r8a77995: add PWM device nodes
[linux-2.6-block.git] / arch / arm64 / boot / dts / renesas / r8a77995-draak.dts
CommitLineData
c550443f
GU
1/*
2 * Device Tree Source for the Draak board
3 *
4 * Copyright (C) 2016 Renesas Electronics Corp.
5 * Copyright (C) 2017 Glider bvba
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 "r8a77995.dtsi"
4503b50e 14#include <dt-bindings/gpio/gpio.h>
c550443f
GU
15
16/ {
17 model = "Renesas Draak board based on r8a77995";
18 compatible = "renesas,draak", "renesas,r8a77995";
19
20 aliases {
21 serial0 = &scif2;
4503b50e 22 ethernet0 = &avb;
c550443f
GU
23 };
24
25 chosen {
26 bootargs = "ignore_loglevel";
27 stdout-path = "serial0:115200n8";
28 };
29
30 memory@48000000 {
31 device_type = "memory";
32 /* first 128MB is reserved for secure area. */
33 reg = <0x0 0x48000000 0x0 0x18000000>;
34 };
35};
36
37&extal_clk {
38 clock-frequency = <48000000>;
39};
40
ea203404 41&pfc {
4503b50e
YS
42 avb0_pins: avb {
43 mux {
12bb3619 44 groups = "avb0_link", "avb0_mdc", "avb0_mii";
4503b50e
YS
45 function = "avb0";
46 };
47 };
48
ea203404
GU
49 scif2_pins: scif2 {
50 groups = "scif2_data";
51 function = "scif2";
52 };
53
34f058b2
YS
54 usb0_pins: usb0 {
55 groups = "usb0";
56 function = "usb0";
57 };
ea203404
GU
58};
59
607c73c3
YS
60&ehci0 {
61 status = "okay";
62};
63
64&ohci0 {
65 status = "okay";
66};
67
4503b50e
YS
68&avb {
69 pinctrl-0 = <&avb0_pins>;
70 pinctrl-names = "default";
71 renesas,no-ether-link;
72 phy-handle = <&phy0>;
73 status = "okay";
74
75 phy0: ethernet-phy@0 {
76 rxc-skew-ps = <1500>;
77 reg = <0>;
78 interrupt-parent = <&gpio5>;
79 interrupts = <19 IRQ_TYPE_LEVEL_LOW>;
80 };
81};
82
c550443f 83&scif2 {
ea203404
GU
84 pinctrl-0 = <&scif2_pins>;
85 pinctrl-names = "default";
86
c550443f
GU
87 status = "okay";
88};
89
34f058b2
YS
90&usb2_phy0 {
91 pinctrl-0 = <&usb0_pins>;
92 pinctrl-names = "default";
93
94 status = "okay";
95};
96
c550443f
GU
97&rwdt {
98 timeout-sec = <60>;
99 status = "okay";
100};