xref: /linux/scripts/dtc/include-prefixes/arm64/renesas/r8a77970-eagle.dts (revision 7859eb31e4d457496ace72965f2fbb50e836ef12)
11a48290eSSergei Shtylyov/*
21a48290eSSergei Shtylyov * Device Tree Source for the Eagle board
31a48290eSSergei Shtylyov *
41a48290eSSergei Shtylyov * Copyright (C) 2016-2017 Renesas Electronics Corp.
51a48290eSSergei Shtylyov * Copyright (C) 2017 Cogent Embedded, Inc.
61a48290eSSergei Shtylyov *
71a48290eSSergei Shtylyov * This file is licensed under the terms of the GNU General Public License
81a48290eSSergei Shtylyov * version 2.  This program is licensed "as is" without any warranty of any
91a48290eSSergei Shtylyov * kind, whether express or implied.
101a48290eSSergei Shtylyov */
111a48290eSSergei Shtylyov
121a48290eSSergei Shtylyov/dts-v1/;
131a48290eSSergei Shtylyov#include "r8a77970.dtsi"
141a48290eSSergei Shtylyov
151a48290eSSergei Shtylyov/ {
161a48290eSSergei Shtylyov	model = "Renesas Eagle board based on r8a77970";
171a48290eSSergei Shtylyov	compatible = "renesas,eagle", "renesas,r8a77970";
181a48290eSSergei Shtylyov
191a48290eSSergei Shtylyov	aliases {
201a48290eSSergei Shtylyov		serial0 = &scif0;
2138525608SSergei Shtylyov		ethernet0 = &avb;
221a48290eSSergei Shtylyov	};
231a48290eSSergei Shtylyov
241a48290eSSergei Shtylyov	chosen {
2538525608SSergei Shtylyov		bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
261a48290eSSergei Shtylyov		stdout-path = "serial0:115200n8";
271a48290eSSergei Shtylyov	};
281a48290eSSergei Shtylyov
291a48290eSSergei Shtylyov	memory@48000000 {
301a48290eSSergei Shtylyov		device_type = "memory";
311a48290eSSergei Shtylyov		/* first 128MB is reserved for secure area. */
321a48290eSSergei Shtylyov		reg = <0x0 0x48000000 0x0 0x38000000>;
331a48290eSSergei Shtylyov	};
341a48290eSSergei Shtylyov};
351a48290eSSergei Shtylyov
36d0ff035fSGeert Uytterhoeven&avb {
37d0ff035fSGeert Uytterhoeven	renesas,no-ether-link;
38d0ff035fSGeert Uytterhoeven	phy-handle = <&phy0>;
39e5daa084SJacopo Mondi	phy-mode = "rgmii-id";
40d0ff035fSGeert Uytterhoeven	status = "okay";
41d0ff035fSGeert Uytterhoeven
42d0ff035fSGeert Uytterhoeven	phy0: ethernet-phy@0 {
43d0ff035fSGeert Uytterhoeven		rxc-skew-ps = <1500>;
44d0ff035fSGeert Uytterhoeven		reg = <0>;
4551671b26SSergei Shtylyov		interrupt-parent = <&gpio1>;
4651671b26SSergei Shtylyov		interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
47d0ff035fSGeert Uytterhoeven	};
48d0ff035fSGeert Uytterhoeven};
49d0ff035fSGeert Uytterhoeven
501a48290eSSergei Shtylyov&extal_clk {
511a48290eSSergei Shtylyov	clock-frequency = <16666666>;
521a48290eSSergei Shtylyov};
531a48290eSSergei Shtylyov
541a48290eSSergei Shtylyov&extalr_clk {
551a48290eSSergei Shtylyov	clock-frequency = <32768>;
561a48290eSSergei Shtylyov};
571a48290eSSergei Shtylyov
58*7859eb31SSergei Shtylyov&i2c0 {
59*7859eb31SSergei Shtylyov	pinctrl-0 = <&i2c0_pins>;
60*7859eb31SSergei Shtylyov	pinctrl-names = "default";
61*7859eb31SSergei Shtylyov
62*7859eb31SSergei Shtylyov	status = "okay";
63*7859eb31SSergei Shtylyov	clock-frequency = <400000>;
64*7859eb31SSergei Shtylyov
65*7859eb31SSergei Shtylyov	io_expander: gpio@20 {
66*7859eb31SSergei Shtylyov		compatible = "onnn,pca9654";
67*7859eb31SSergei Shtylyov		reg = <0x20>;
68*7859eb31SSergei Shtylyov		gpio-controller;
69*7859eb31SSergei Shtylyov		#gpio-cells = <2>;
70*7859eb31SSergei Shtylyov	};
71*7859eb31SSergei Shtylyov};
72*7859eb31SSergei Shtylyov
7331bded67SSergei Shtylyov&pfc {
74*7859eb31SSergei Shtylyov	i2c0_pins: i2c0 {
75*7859eb31SSergei Shtylyov		groups = "i2c0";
76*7859eb31SSergei Shtylyov		function = "i2c0";
77*7859eb31SSergei Shtylyov	};
78*7859eb31SSergei Shtylyov
7931bded67SSergei Shtylyov	scif0_pins: scif0 {
8031bded67SSergei Shtylyov		groups = "scif0_data";
8131bded67SSergei Shtylyov		function = "scif0";
8231bded67SSergei Shtylyov	};
8331bded67SSergei Shtylyov};
8431bded67SSergei Shtylyov
85fd363f54SGeert Uytterhoeven&rwdt {
86fd363f54SGeert Uytterhoeven	timeout-sec = <60>;
87fd363f54SGeert Uytterhoeven	status = "okay";
88fd363f54SGeert Uytterhoeven};
89fd363f54SGeert Uytterhoeven
901a48290eSSergei Shtylyov&scif0 {
9131bded67SSergei Shtylyov	pinctrl-0 = <&scif0_pins>;
9231bded67SSergei Shtylyov	pinctrl-names = "default";
9331bded67SSergei Shtylyov
941a48290eSSergei Shtylyov	status = "okay";
951a48290eSSergei Shtylyov};
96