Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
82 lines
1.6 KiB
Devicetree
82 lines
1.6 KiB
Devicetree
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
|
/*
|
|
* As a loose attempt to separate RP1 customizations from SoC peripherals
|
|
* definitioni, this file is intended to host the override nodes for the RP1
|
|
* peripherals, e.g. to declare the phy of the ethernet interface or custom
|
|
* pin setup.
|
|
* All other nodes that do not have anything to do with RP1 should be added
|
|
* to the included bcm2712-rpi-5-b-base.dtsi instead.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "bcm2712-rpi-5-b-base.dtsi"
|
|
|
|
/ {
|
|
aliases {
|
|
ethernet0 = &rp1_eth;
|
|
};
|
|
};
|
|
|
|
&pcie2 {
|
|
pci@0,0 {
|
|
reg = <0x0 0x0 0x0 0x0 0x0>;
|
|
ranges;
|
|
bus-range = <0 1>;
|
|
device_type = "pci";
|
|
#address-cells = <3>;
|
|
#size-cells = <2>;
|
|
|
|
dev@0,0 {
|
|
compatible = "pci1de4,1";
|
|
reg = <0x10000 0x0 0x0 0x0 0x0>;
|
|
ranges = <0x1 0x0 0x0 0x82010000 0x0 0x0 0x0 0x400000>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
#address-cells = <3>;
|
|
#size-cells = <2>;
|
|
|
|
#include "rp1-common.dtsi"
|
|
};
|
|
};
|
|
};
|
|
|
|
&rp1_eth {
|
|
assigned-clocks = <&rp1_clocks RP1_CLK_ETH_TSU>,
|
|
<&rp1_clocks RP1_CLK_ETH>;
|
|
assigned-clock-rates = <50000000>,
|
|
<125000000>;
|
|
status = "okay";
|
|
phy-mode = "rgmii-id";
|
|
phy-handle = <&phy1>;
|
|
|
|
mdio {
|
|
reg = <0x1>;
|
|
reset-gpios = <&rp1_gpio 32 GPIO_ACTIVE_LOW>;
|
|
reset-delay-us = <5000>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
phy1: ethernet-phy@1 {
|
|
reg = <0x1>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&rp1_gpio {
|
|
usb_vbus_default_state: usb-vbus-default-state {
|
|
function = "vbus1";
|
|
groups = "vbus1";
|
|
};
|
|
};
|
|
|
|
&rp1_usb0 {
|
|
pinctrl-0 = <&usb_vbus_default_state>;
|
|
pinctrl-names = "default";
|
|
status = "okay";
|
|
};
|
|
|
|
&rp1_usb1 {
|
|
status = "okay";
|
|
};
|