1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2/* 3 * Device Tree Source for the White Hawk Single board 4 * 5 * Copyright (C) 2023-2024 Glider bv 6 */ 7 8#include "white-hawk-cpu-common.dtsi" 9#include "white-hawk-common.dtsi" 10 11/ { 12 model = "Renesas White Hawk Single board"; 13 compatible = "renesas,white-hawk-single"; 14 15 aliases { 16 ethernet3 = &tsn0; 17 }; 18}; 19 20&hscif0 { 21 uart-has-rtscts; 22}; 23 24&hscif0_pins { 25 groups = "hscif0_data", "hscif0_ctrl"; 26 function = "hscif0"; 27}; 28 29&pfc { 30 tsn0_pins: tsn0 { 31 mux { 32 groups = "tsn0_link", "tsn0_mdio", "tsn0_rgmii", 33 "tsn0_txcrefclk"; 34 function = "tsn0"; 35 }; 36 37 link { 38 groups = "tsn0_link"; 39 bias-disable; 40 }; 41 42 mdio { 43 groups = "tsn0_mdio"; 44 drive-strength = <24>; 45 bias-disable; 46 }; 47 48 rgmii { 49 groups = "tsn0_rgmii"; 50 drive-strength = <24>; 51 bias-disable; 52 }; 53 }; 54}; 55 56&tsn0 { 57 pinctrl-0 = <&tsn0_pins>; 58 pinctrl-names = "default"; 59 phy-mode = "rgmii"; 60 phy-handle = <&tsn0_phy>; 61 status = "okay"; 62 63 mdio { 64 #address-cells = <1>; 65 #size-cells = <0>; 66 67 reset-gpios = <&gpio1 23 GPIO_ACTIVE_LOW>; 68 reset-post-delay-us = <4000>; 69 70 tsn0_phy: ethernet-phy@0 { 71 compatible = "ethernet-phy-id002b.0980", 72 "ethernet-phy-ieee802.3-c22"; 73 reg = <0>; 74 interrupts-extended = <&gpio4 3 IRQ_TYPE_LEVEL_LOW>; 75 }; 76 }; 77}; 78