Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/arch/arm64/boot/dts/renesas/   (Open Source Betriebssystem Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 1 kB image not shown  

Quelle  white-hawk-ethernet.dtsi   Sprache: unbekannt

 
Spracherkennung für: .dtsi vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
/*
 * Device Tree Source for the White Hawk RAVB/Ethernet(1000Base-T1)
 * sub-board
 *
 * Copyright (C) 2022 Glider bv
 */

/ {
 aliases {
  ethernet1 = &avb1;
  ethernet2 = &avb2;
 };
};

&avb1 {
 pinctrl-0 = <&avb1_pins>;
 pinctrl-names = "default";
 phy-handle = <&avb1_phy>;
 status = "okay";

 mdio {
  #address-cells = <1>;
  #size-cells = <0>;

  reset-gpios = <&gpio6 1 GPIO_ACTIVE_LOW>;
  reset-post-delay-us = <4000>;

  avb1_phy: ethernet-phy@0 {
   compatible = "ethernet-phy-ieee802.3-c45";
   reg = <0>;
   interrupts-extended = <&gpio6 3 IRQ_TYPE_LEVEL_LOW>;
  };
 };
};

&avb2 {
 pinctrl-0 = <&avb2_pins>;
 pinctrl-names = "default";
 phy-handle = <&avb2_phy>;
 status = "okay";

 mdio {
  #address-cells = <1>;
  #size-cells = <0>;

  reset-gpios = <&gpio5 5 GPIO_ACTIVE_LOW>;
  reset-post-delay-us = <4000>;

  avb2_phy: ethernet-phy@0 {
   compatible = "ethernet-phy-ieee802.3-c45";
   reg = <0>;
   interrupts-extended = <&gpio5 4 IRQ_TYPE_LEVEL_LOW>;
  };
 };
};

&i2c0 {
 eeprom@53 {
  compatible = "rohm,br24g01", "atmel,24c01";
  label = "ethernet-sub-board-id";
  reg = <0x53>;
  pagesize = <8>;
 };
};

&pfc {
 avb1_pins: avb1 {
  mux {
   groups = "avb1_link", "avb1_mdio", "avb1_rgmii",
     "avb1_txcrefclk";
   function = "avb1";
  };

  mdio {
   groups = "avb1_mdio";
   drive-strength = <24>;
   bias-disable;
  };

  rgmii {
   groups = "avb1_rgmii";
   drive-strength = <24>;
   bias-disable;
  };

  link {
   groups = "avb1_link";
   bias-disable;
  };
 };

 avb2_pins: avb2 {
  mux {
   groups = "avb2_link", "avb2_mdio", "avb2_rgmii",
     "avb2_txcrefclk";
   function = "avb2";
  };

  mdio {
   groups = "avb2_mdio";
   drive-strength = <24>;
   bias-disable;
  };

  rgmii {
   groups = "avb2_rgmii";
   drive-strength = <24>;
   bias-disable;
  };

  link {
   groups = "avb2_link";
   bias-disable;
  };
 };
};

[ Dauer der Verarbeitung: 0.29 Sekunden  ]