| 1 |
// SPDX-License-Identifier: GPL-2.0 |
| 2 |
/* |
| 3 |
* Device Tree Source for the Falcon CPU and BreakOut boards with R-Car V3U |
| 4 |
* |
| 5 |
* Copyright (C) 2020 Renesas Electronics Corp. |
| 6 |
*/ |
| 7 |
|
| 8 |
/dts-v1/; |
| 9 |
#include "r8a779a0-falcon-cpu.dtsi" |
| 10 |
#include "r8a779a0-falcon-csi-dsi.dtsi" |
| 11 |
#include "r8a779a0-falcon-ethernet.dtsi" |
| 12 |
|
| 13 |
/ { |
| 14 |
model = "Renesas Falcon CPU and Breakout boards based on r8a779a0"; |
| 15 |
compatible = "renesas,falcon-breakout", "renesas,falcon-cpu", "renesas,r8a779a0"; |
| 16 |
|
| 17 |
aliases { |
| 18 |
ethernet0 = &avb0; |
| 19 |
}; |
| 20 |
}; |
| 21 |
|
| 22 |
&avb0 { |
| 23 |
pinctrl-0 = <&avb0_pins>; |
| 24 |
pinctrl-names = "default"; |
| 25 |
phy-handle = <&phy0>; |
| 26 |
tx-internal-delay-ps = <2000>; |
| 27 |
status = "okay"; |
| 28 |
|
| 29 |
phy0: ethernet-phy@0 { |
| 30 |
compatible = "ethernet-phy-id0022.1622", |
| 31 |
"ethernet-phy-ieee802.3-c22"; |
| 32 |
rxc-skew-ps = <1500>; |
| 33 |
reg = <0>; |
| 34 |
interrupts-extended = <&gpio4 16 IRQ_TYPE_LEVEL_LOW>; |
| 35 |
reset-gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; |
| 36 |
}; |
| 37 |
}; |
| 38 |
|
| 39 |
&can_clk { |
| 40 |
clock-frequency = <40000000>; |
| 41 |
}; |
| 42 |
|
| 43 |
&canfd { |
| 44 |
pinctrl-0 = <&canfd0_pins>, <&canfd1_pins>, <&can_clk_pins>; |
| 45 |
pinctrl-names = "default"; |
| 46 |
status = "okay"; |
| 47 |
|
| 48 |
channel0 { |
| 49 |
status = "okay"; |
| 50 |
}; |
| 51 |
|
| 52 |
channel1 { |
| 53 |
status = "okay"; |
| 54 |
}; |
| 55 |
}; |
| 56 |
|
| 57 |
&i2c0 { |
| 58 |
eeprom@51 { |
| 59 |
compatible = "rohm,br24g01", "atmel,24c01"; |
| 60 |
label = "breakout-board"; |
| 61 |
reg = <0x51>; |
| 62 |
pagesize = <8>; |
| 63 |
}; |
| 64 |
}; |
| 65 |
|
| 66 |
&pfc { |
| 67 |
avb0_pins: avb0 { |
| 68 |
mux { |
| 69 |
groups = "avb0_link", "avb0_mdio", "avb0_rgmii", |
| 70 |
"avb0_txcrefclk"; |
| 71 |
function = "avb0"; |
| 72 |
}; |
| 73 |
|
| 74 |
pins_mdio { |
| 75 |
groups = "avb0_mdio"; |
| 76 |
drive-strength = <21>; |
| 77 |
}; |
| 78 |
|
| 79 |
pins_mii { |
| 80 |
groups = "avb0_rgmii"; |
| 81 |
drive-strength = <21>; |
| 82 |
}; |
| 83 |
|
| 84 |
}; |
| 85 |
|
| 86 |
can_clk_pins: can-clk { |
| 87 |
groups = "can_clk"; |
| 88 |
function = "can_clk"; |
| 89 |
}; |
| 90 |
|
| 91 |
canfd0_pins: canfd0 { |
| 92 |
groups = "canfd0_data"; |
| 93 |
function = "canfd0"; |
| 94 |
}; |
| 95 |
|
| 96 |
canfd1_pins: canfd1 { |
| 97 |
groups = "canfd1_data"; |
| 98 |
function = "canfd1"; |
| 99 |
}; |
| 100 |
}; |