Biju Das | 4e87766 | 2019-01-16 18:37:47 +0000 | [diff] [blame] | 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)"; |
Biju Das | 6b170cd | 2019-01-16 18:37:50 +0000 | [diff] [blame] | 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>; |
Biju Das | 1d64e2b | 2021-11-15 14:28:30 +0000 | [diff] [blame] | 21 | phy-mode = "rgmii-id"; |
Biju Das | 6b170cd | 2019-01-16 18:37:50 +0000 | [diff] [blame] | 22 | status = "okay"; |
| 23 | |
| 24 | phy0: ethernet-phy@0 { |
Biju Das | 6b170cd | 2019-01-16 18:37:50 +0000 | [diff] [blame] | 25 | reg = <0>; |
| 26 | interrupt-parent = <&gpio2>; |
| 27 | interrupts = <21 IRQ_TYPE_LEVEL_LOW>; |
| 28 | reset-gpios = <&gpio1 20 GPIO_ACTIVE_LOW>; |
| 29 | }; |
| 30 | }; |
| 31 | |
Fabrizio Castro | e64f2c4 | 2019-03-01 11:02:37 +0000 | [diff] [blame] | 32 | &can0 { |
| 33 | pinctrl-0 = <&can0_pins>; |
| 34 | pinctrl-names = "default"; |
| 35 | status = "okay"; |
| 36 | }; |
| 37 | |
| 38 | &can1 { |
| 39 | pinctrl-0 = <&can1_pins>; |
| 40 | pinctrl-names = "default"; |
| 41 | status = "okay"; |
| 42 | }; |
| 43 | |
Biju Das | ee20aee | 2019-02-07 08:31:50 +0000 | [diff] [blame] | 44 | &pciec0 { |
| 45 | status = "okay"; |
| 46 | }; |
| 47 | |
Biju Das | 6b170cd | 2019-01-16 18:37:50 +0000 | [diff] [blame] | 48 | &pfc { |
| 49 | avb_pins: avb { |
| 50 | mux { |
| 51 | groups = "avb_mii"; |
| 52 | function = "avb"; |
| 53 | }; |
| 54 | }; |
Fabrizio Castro | e64f2c4 | 2019-03-01 11:02:37 +0000 | [diff] [blame] | 55 | |
| 56 | can0_pins: can0 { |
| 57 | groups = "can0_data"; |
| 58 | function = "can0"; |
| 59 | }; |
| 60 | |
| 61 | can1_pins: can1 { |
| 62 | groups = "can1_data"; |
| 63 | function = "can1"; |
| 64 | }; |
Biju Das | 4e87766 | 2019-01-16 18:37:47 +0000 | [diff] [blame] | 65 | }; |