1139804Simp// SPDX-License-Identifier: GPL-2.0 2139013Sdavidxu/* 3112904Sjeff * Device Tree Source for the SK-RZG1E board 4112904Sjeff * 5112904Sjeff * Copyright (C) 2016-2017 Cogent Embedded, Inc. 6112904Sjeff */ 7112904Sjeff 8112904Sjeff/dts-v1/; 9112904Sjeff#include "r8a7745.dtsi" 10112904Sjeff#include <dt-bindings/gpio/gpio.h> 11112904Sjeff 12112904Sjeff/ { 13112904Sjeff model = "SK-RZG1E"; 14112904Sjeff compatible = "renesas,sk-rzg1e", "renesas,r8a7745"; 15112904Sjeff 16112904Sjeff aliases { 17112904Sjeff serial0 = &scif2; 18112904Sjeff }; 19112904Sjeff 20112904Sjeff chosen { 21112904Sjeff bootargs = "ignore_loglevel rw root=/dev/nfs ip=on"; 22112904Sjeff stdout-path = "serial0:115200n8"; 23112904Sjeff }; 24112904Sjeff 25112904Sjeff memory@40000000 { 26112904Sjeff device_type = "memory"; 27112904Sjeff reg = <0 0x40000000 0 0x40000000>; 28116182Sobrien }; 29116182Sobrien}; 30116182Sobrien 31112904Sjeff&extal_clk { 32112904Sjeff clock-frequency = <20000000>; 33131431Smarcel}; 34112904Sjeff 35115765Sjeff&pfc { 36112904Sjeff scif2_pins: scif2 { 37112904Sjeff groups = "scif2_data"; 38112904Sjeff function = "scif2"; 39112904Sjeff }; 40112904Sjeff 41139013Sdavidxu ether_pins: ether { 42112904Sjeff groups = "eth_link", "eth_mdio", "eth_rmii"; 43112904Sjeff function = "eth"; 44112904Sjeff }; 45139013Sdavidxu 46139013Sdavidxu phy1_pins: phy1 { 47139013Sdavidxu groups = "intc_irq8"; 48139013Sdavidxu function = "intc"; 49139013Sdavidxu }; 50139013Sdavidxu}; 51139013Sdavidxu 52139013Sdavidxu&scif2 { 53139013Sdavidxu pinctrl-0 = <&scif2_pins>; 54139013Sdavidxu pinctrl-names = "default"; 55139013Sdavidxu 56139013Sdavidxu status = "okay"; 57139013Sdavidxu}; 58139013Sdavidxu 59139013Sdavidxuðer { 60139013Sdavidxu pinctrl-0 = <ðer_pins>, <&phy1_pins>; 61139013Sdavidxu pinctrl-names = "default"; 62139013Sdavidxu 63139013Sdavidxu phy-handle = <&phy1>; 64139013Sdavidxu renesas,ether-link-active-low; 65139013Sdavidxu status = "okay"; 66139013Sdavidxu 67139013Sdavidxu phy1: ethernet-phy@1 { 68139013Sdavidxu compatible = "ethernet-phy-id0022.1537", 69139013Sdavidxu "ethernet-phy-ieee802.3-c22"; 70139013Sdavidxu reg = <1>; 71139013Sdavidxu interrupt-parent = <&irqc>; 72115765Sjeff interrupts = <8 IRQ_TYPE_LEVEL_LOW>; 73115765Sjeff micrel,led-mode = <1>; 74139013Sdavidxu reset-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>; 75158718Sdavidxu }; 76158718Sdavidxu}; 77139257Sdavidxu