mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 16:09:57 +07:00
938fbd1ae2
Specify EtherAVB PHY IRQ in the board specific device tree, now that we have GPIO support. Signed-off-by: Biju Das <biju.das@bp.renesas.com> Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
61 lines
1.0 KiB
Plaintext
61 lines
1.0 KiB
Plaintext
// 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";
|
|
};
|