Skip to content

Commit

Permalink
th1520-beaglev-ahead.dts
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
  • Loading branch information
RobertCNelson authored and RevySR committed Sep 28, 2023
1 parent 966c1a4 commit e863f2a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
compatible = "beagle,beaglev-ahead", "thead,th1520";

aliases {
ethernet0 = &gmac0;
gpio0 = &gpio0;
gpio1 = &gpio1;
gpio2 = &gpio2;
Expand Down Expand Up @@ -64,6 +65,26 @@
status = "okay";
};

&gmac_clk {
clock-frequency = <500000000>;
};

&gmac_axi_clk {
clock-frequency = <100000000>;
};

&mdio0 {
phy0: ethernet-phy@1 {
reg = <1>;
};
};

&gmac0 {
phy-handle = <&phy0>;
phy-mode = "rgmii-id";
status = "okay";
};

&mmc0 {
bus-width = <8>;
max-frequency = <198000000>;
Expand Down

0 comments on commit e863f2a

Please sign in to comment.