| 1 |
// SPDX-License-Identifier: GPL-2.0 |
| 2 |
/* |
| 3 |
* Device Tree Source for the Silicon Linux sub board for CAT874 (CAT875) |
| 4 |
* |
| 5 |
* Copyright (C) 2019 Renesas Electronics Corp. |
| 6 |
*/ |
| 7 |
|
| 8 |
/ { |
| 9 |
model = "Silicon Linux sub board for CAT874 (CAT875)"; |
| 10 |
|
| 11 |
aliases { |
| 12 |
ethernet0 = &avb; |
| 13 |
}; |
| 14 |
}; |
| 15 |
|
| 16 |
&avb { |
| 17 |
pinctrl-0 = <&avb_pins>; |
| 18 |
pinctrl-names = "default"; |
| 19 |
renesas,no-ether-link; |
| 20 |
phy-handle = <&phy0>; |
| 21 |
phy-mode = "rgmii-id"; |
| 22 |
status = "okay"; |
| 23 |
|
| 24 |
phy0: ethernet-phy@0 { |
| 25 |
compatible = "ethernet-phy-id001c.c915", |
| 26 |
"ethernet-phy-ieee802.3-c22"; |
| 27 |
reg = <0>; |
| 28 |
interrupts-extended = <&gpio2 21 IRQ_TYPE_LEVEL_LOW>; |
| 29 |
reset-gpios = <&gpio1 20 GPIO_ACTIVE_LOW>; |
| 30 |
}; |
| 31 |
}; |
| 32 |
|
| 33 |
&can0 { |
| 34 |
pinctrl-0 = <&can0_pins>; |
| 35 |
pinctrl-names = "default"; |
| 36 |
status = "okay"; |
| 37 |
}; |
| 38 |
|
| 39 |
&can1 { |
| 40 |
pinctrl-0 = <&can1_pins>; |
| 41 |
pinctrl-names = "default"; |
| 42 |
status = "okay"; |
| 43 |
}; |
| 44 |
|
| 45 |
&pciec0 { |
| 46 |
status = "okay"; |
| 47 |
}; |
| 48 |
|
| 49 |
&pfc { |
| 50 |
avb_pins: avb { |
| 51 |
mux { |
| 52 |
groups = "avb_mii"; |
| 53 |
function = "avb"; |
| 54 |
}; |
| 55 |
}; |
| 56 |
|
| 57 |
can0_pins: can0 { |
| 58 |
groups = "can0_data"; |
| 59 |
function = "can0"; |
| 60 |
}; |
| 61 |
|
| 62 |
can1_pins: can1 { |
| 63 |
groups = "can1_data"; |
| 64 |
function = "can1"; |
| 65 |
}; |
| 66 |
}; |