summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts
blob: 22da819f186be395daae3c4ca1c97a590fa21fff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// SPDX-License-Identifier: GPL-2.0
/*
 * Device Tree Source for the iWave-RZ/G1C single board computer
 *
 * Copyright (C) 2018 Renesas Electronics Corp.
 */

/dts-v1/;
#include "r8a77470.dtsi"
/ {
	model = "iWave iW-RainboW-G23S single board computer based on RZ/G1C";
	compatible = "iwave,g23s", "renesas,r8a77470";

	aliases {
		ethernet0 = &avb;
		serial1 = &scif1;
	};

	chosen {
		bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
		stdout-path = "serial1:115200n8";
	};

	memory@40000000 {
		device_type = "memory";
		reg = <0 0x40000000 0 0x20000000>;
	};
};

&avb {
	phy-handle = <&phy3>;
	phy-mode = "gmii";
	renesas,no-ether-link;
	status = "okay";

	phy3: ethernet-phy@3 {
		reg = <3>;
		interrupt-parent = <&gpio5>;
		interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
		micrel,led-mode = <1>;
	};
};

&extal_clk {
	clock-frequency = <20000000>;
};

&pfc {
	scif1_pins: scif1 {
		groups = "scif1_data_b";
		function = "scif1";
	};
};

&scif1 {
	pinctrl-0 = <&scif1_pins>;
	pinctrl-names = "default";

	status = "okay";
};