~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/renesas/white-hawk-ethernet.dtsi

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 /*
  3  * Device Tree Source for the White Hawk RAVB/Ethernet(1000Base-T1)
  4  * sub-board
  5  *
  6  * Copyright (C) 2022 Glider bv
  7  */
  8 
  9 / {
 10         aliases {
 11                 ethernet1 = &avb1;
 12                 ethernet2 = &avb2;
 13         };
 14 };
 15 
 16 &avb1 {
 17         pinctrl-0 = <&avb1_pins>;
 18         pinctrl-names = "default";
 19         phy-handle = <&avb1_phy>;
 20         status = "okay";
 21 
 22         mdio {
 23                 #address-cells = <1>;
 24                 #size-cells = <0>;
 25 
 26                 reset-gpios = <&gpio6 1 GPIO_ACTIVE_LOW>;
 27                 reset-post-delay-us = <4000>;
 28 
 29                 avb1_phy: ethernet-phy@0 {
 30                         compatible = "ethernet-phy-ieee802.3-c45";
 31                         reg = <0>;
 32                         interrupt-parent = <&gpio6>;
 33                         interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
 34                 };
 35         };
 36 };
 37 
 38 &avb2 {
 39         pinctrl-0 = <&avb2_pins>;
 40         pinctrl-names = "default";
 41         phy-handle = <&avb2_phy>;
 42         status = "okay";
 43 
 44         mdio {
 45                 #address-cells = <1>;
 46                 #size-cells = <0>;
 47 
 48                 reset-gpios = <&gpio5 5 GPIO_ACTIVE_LOW>;
 49                 reset-post-delay-us = <4000>;
 50 
 51                 avb2_phy: ethernet-phy@0 {
 52                         compatible = "ethernet-phy-ieee802.3-c45";
 53                         reg = <0>;
 54                         interrupt-parent = <&gpio5>;
 55                         interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
 56                 };
 57         };
 58 };
 59 
 60 &i2c0 {
 61         eeprom@53 {
 62                 compatible = "rohm,br24g01", "atmel,24c01";
 63                 label = "ethernet-sub-board-id";
 64                 reg = <0x53>;
 65                 pagesize = <8>;
 66         };
 67 };
 68 
 69 &pfc {
 70         avb1_pins: avb1 {
 71                 mux {
 72                         groups = "avb1_link", "avb1_mdio", "avb1_rgmii",
 73                                  "avb1_txcrefclk";
 74                         function = "avb1";
 75                 };
 76 
 77                 mdio {
 78                         groups = "avb1_mdio";
 79                         drive-strength = <24>;
 80                         bias-disable;
 81                 };
 82 
 83                 rgmii {
 84                         groups = "avb1_rgmii";
 85                         drive-strength = <24>;
 86                         bias-disable;
 87                 };
 88 
 89                 link {
 90                         groups = "avb1_link";
 91                         bias-disable;
 92                 };
 93         };
 94 
 95         avb2_pins: avb2 {
 96                 mux {
 97                         groups = "avb2_link", "avb2_mdio", "avb2_rgmii",
 98                                  "avb2_txcrefclk";
 99                         function = "avb2";
100                 };
101 
102                 mdio {
103                         groups = "avb2_mdio";
104                         drive-strength = <24>;
105                         bias-disable;
106                 };
107 
108                 rgmii {
109                         groups = "avb2_rgmii";
110                         drive-strength = <24>;
111                         bias-disable;
112                 };
113 
114                 link {
115                         groups = "avb2_link";
116                         bias-disable;
117                 };
118         };
119 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php