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 }; 343c3d1672SJacopo Mondi 353c3d1672SJacopo Mondi hdmi-out { 363c3d1672SJacopo Mondi compatible = "hdmi-connector"; 373c3d1672SJacopo Mondi type = "a"; 383c3d1672SJacopo Mondi 393c3d1672SJacopo Mondi port { 403c3d1672SJacopo Mondi hdmi_con_out: endpoint { 413c3d1672SJacopo Mondi remote-endpoint = <&adv7511_out>; 423c3d1672SJacopo Mondi }; 433c3d1672SJacopo Mondi }; 443c3d1672SJacopo Mondi }; 453c3d1672SJacopo Mondi 463c3d1672SJacopo Mondi d3p3: regulator-fixed { 473c3d1672SJacopo Mondi compatible = "regulator-fixed"; 483c3d1672SJacopo Mondi regulator-name = "fixed-3.3V"; 493c3d1672SJacopo Mondi regulator-min-microvolt = <3300000>; 503c3d1672SJacopo Mondi regulator-max-microvolt = <3300000>; 513c3d1672SJacopo Mondi regulator-boot-on; 523c3d1672SJacopo Mondi regulator-always-on; 533c3d1672SJacopo Mondi }; 543c3d1672SJacopo Mondi 553c3d1672SJacopo Mondi lvds-decoder { 563c3d1672SJacopo Mondi compatible = "thine,thc63lvd1024"; 573c3d1672SJacopo Mondi 583c3d1672SJacopo Mondi vcc-supply = <&d3p3>; 593c3d1672SJacopo Mondi 603c3d1672SJacopo Mondi ports { 613c3d1672SJacopo Mondi #address-cells = <1>; 623c3d1672SJacopo Mondi #size-cells = <0>; 633c3d1672SJacopo Mondi 643c3d1672SJacopo Mondi port@0 { 653c3d1672SJacopo Mondi reg = <0>; 663c3d1672SJacopo Mondi thc63lvd1024_in: endpoint { 673c3d1672SJacopo Mondi remote-endpoint = <&lvds0_out>; 683c3d1672SJacopo Mondi }; 693c3d1672SJacopo Mondi }; 703c3d1672SJacopo Mondi 713c3d1672SJacopo Mondi port@2 { 723c3d1672SJacopo Mondi reg = <2>; 733c3d1672SJacopo Mondi thc63lvd1024_out: endpoint { 743c3d1672SJacopo Mondi remote-endpoint = <&adv7511_in>; 753c3d1672SJacopo Mondi }; 763c3d1672SJacopo Mondi }; 773c3d1672SJacopo Mondi }; 783c3d1672SJacopo Mondi }; 791a48290eSSergei Shtylyov}; 801a48290eSSergei Shtylyov 81d0ff035fSGeert Uytterhoeven&avb { 82*1119cffeSSergei Shtylyov pinctrl-0 = <&avb_pins>; 83*1119cffeSSergei Shtylyov pinctrl-names = "default"; 84*1119cffeSSergei Shtylyov 85d0ff035fSGeert Uytterhoeven renesas,no-ether-link; 86d0ff035fSGeert Uytterhoeven phy-handle = <&phy0>; 87e5daa084SJacopo Mondi phy-mode = "rgmii-id"; 88d0ff035fSGeert Uytterhoeven status = "okay"; 89d0ff035fSGeert Uytterhoeven 90d0ff035fSGeert Uytterhoeven phy0: ethernet-phy@0 { 91d0ff035fSGeert Uytterhoeven rxc-skew-ps = <1500>; 92d0ff035fSGeert Uytterhoeven reg = <0>; 9351671b26SSergei Shtylyov interrupt-parent = <&gpio1>; 9451671b26SSergei Shtylyov interrupts = <17 IRQ_TYPE_LEVEL_LOW>; 95d0ff035fSGeert Uytterhoeven }; 96d0ff035fSGeert Uytterhoeven}; 97d0ff035fSGeert Uytterhoeven 981a48290eSSergei Shtylyov&extal_clk { 991a48290eSSergei Shtylyov clock-frequency = <16666666>; 1001a48290eSSergei Shtylyov}; 1011a48290eSSergei Shtylyov 1021a48290eSSergei Shtylyov&extalr_clk { 1031a48290eSSergei Shtylyov clock-frequency = <32768>; 1041a48290eSSergei Shtylyov}; 1051a48290eSSergei Shtylyov 1067859eb31SSergei Shtylyov&i2c0 { 1077859eb31SSergei Shtylyov pinctrl-0 = <&i2c0_pins>; 1087859eb31SSergei Shtylyov pinctrl-names = "default"; 1097859eb31SSergei Shtylyov 1107859eb31SSergei Shtylyov status = "okay"; 1117859eb31SSergei Shtylyov clock-frequency = <400000>; 1127859eb31SSergei Shtylyov 1137859eb31SSergei Shtylyov io_expander: gpio@20 { 1147859eb31SSergei Shtylyov compatible = "onnn,pca9654"; 1157859eb31SSergei Shtylyov reg = <0x20>; 1167859eb31SSergei Shtylyov gpio-controller; 1177859eb31SSergei Shtylyov #gpio-cells = <2>; 1187859eb31SSergei Shtylyov }; 1193c3d1672SJacopo Mondi 1203c3d1672SJacopo Mondi hdmi@39 { 1213c3d1672SJacopo Mondi compatible = "adi,adv7511w"; 1223c3d1672SJacopo Mondi reg = <0x39>; 1233c3d1672SJacopo Mondi interrupt-parent = <&gpio1>; 1243c3d1672SJacopo Mondi interrupts = <20 IRQ_TYPE_LEVEL_LOW>; 1253c3d1672SJacopo Mondi 1263c3d1672SJacopo Mondi adi,input-depth = <8>; 1273c3d1672SJacopo Mondi adi,input-colorspace = "rgb"; 1283c3d1672SJacopo Mondi adi,input-clock = "1x"; 1293c3d1672SJacopo Mondi adi,input-style = <1>; 1303c3d1672SJacopo Mondi adi,input-justification = "evenly"; 1313c3d1672SJacopo Mondi 1323c3d1672SJacopo Mondi ports { 1333c3d1672SJacopo Mondi #address-cells = <1>; 1343c3d1672SJacopo Mondi #size-cells = <0>; 1353c3d1672SJacopo Mondi 1363c3d1672SJacopo Mondi port@0 { 1373c3d1672SJacopo Mondi reg = <0>; 1383c3d1672SJacopo Mondi adv7511_in: endpoint { 1393c3d1672SJacopo Mondi remote-endpoint = <&thc63lvd1024_out>; 1403c3d1672SJacopo Mondi }; 1413c3d1672SJacopo Mondi }; 1423c3d1672SJacopo Mondi 1433c3d1672SJacopo Mondi port@1 { 1443c3d1672SJacopo Mondi reg = <1>; 1453c3d1672SJacopo Mondi adv7511_out: endpoint { 1463c3d1672SJacopo Mondi remote-endpoint = <&hdmi_con_out>; 1473c3d1672SJacopo Mondi }; 1483c3d1672SJacopo Mondi }; 1493c3d1672SJacopo Mondi }; 1503c3d1672SJacopo Mondi }; 1517859eb31SSergei Shtylyov}; 1527859eb31SSergei Shtylyov 15331bded67SSergei Shtylyov&pfc { 154*1119cffeSSergei Shtylyov avb_pins: avb0 { 155*1119cffeSSergei Shtylyov groups = "avb0_mdio", "avb0_rgmii", "avb0_txcrefclk"; 156*1119cffeSSergei Shtylyov function = "avb0"; 157*1119cffeSSergei Shtylyov }; 158*1119cffeSSergei Shtylyov 1597859eb31SSergei Shtylyov i2c0_pins: i2c0 { 1607859eb31SSergei Shtylyov groups = "i2c0"; 1617859eb31SSergei Shtylyov function = "i2c0"; 1627859eb31SSergei Shtylyov }; 1637859eb31SSergei Shtylyov 16431bded67SSergei Shtylyov scif0_pins: scif0 { 16531bded67SSergei Shtylyov groups = "scif0_data"; 16631bded67SSergei Shtylyov function = "scif0"; 16731bded67SSergei Shtylyov }; 16831bded67SSergei Shtylyov}; 16931bded67SSergei Shtylyov 170fd363f54SGeert Uytterhoeven&rwdt { 171fd363f54SGeert Uytterhoeven timeout-sec = <60>; 172fd363f54SGeert Uytterhoeven status = "okay"; 173fd363f54SGeert Uytterhoeven}; 174fd363f54SGeert Uytterhoeven 1751a48290eSSergei Shtylyov&scif0 { 17631bded67SSergei Shtylyov pinctrl-0 = <&scif0_pins>; 17731bded67SSergei Shtylyov pinctrl-names = "default"; 17831bded67SSergei Shtylyov 1791a48290eSSergei Shtylyov status = "okay"; 1801a48290eSSergei Shtylyov}; 1813c3d1672SJacopo Mondi 1823c3d1672SJacopo Mondi&du { 1833c3d1672SJacopo Mondi status = "okay"; 1843c3d1672SJacopo Mondi}; 1853c3d1672SJacopo Mondi 1863c3d1672SJacopo Mondi&lvds0 { 1873c3d1672SJacopo Mondi status = "okay"; 1883c3d1672SJacopo Mondi 1893c3d1672SJacopo Mondi ports { 1903c3d1672SJacopo Mondi port@1 { 1913c3d1672SJacopo Mondi lvds0_out: endpoint { 1923c3d1672SJacopo Mondi remote-endpoint = <&thc63lvd1024_in>; 1933c3d1672SJacopo Mondi }; 1943c3d1672SJacopo Mondi }; 1953c3d1672SJacopo Mondi }; 1963c3d1672SJacopo Mondi}; 197