mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 08:56:47 +07:00
f276c0ce5d
Looks like on 3517 davinci_emac MAC address registers have a different layout compared to dm816x and am33xx. Let's add a function to get the 3517 MAC address. Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: David S. Miller <davem@davemloft.net>
84 lines
1.8 KiB
Plaintext
84 lines
1.8 KiB
Plaintext
/*
|
|
* Device Tree Source for am3517 SoC
|
|
*
|
|
* Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public License
|
|
* version 2. This program is licensed "as is" without any warranty of any
|
|
* kind, whether express or implied.
|
|
*/
|
|
|
|
#include "omap3.dtsi"
|
|
|
|
/ {
|
|
aliases {
|
|
serial3 = &uart4;
|
|
};
|
|
|
|
ocp {
|
|
am35x_otg_hs: am35x_otg_hs@5c040000 {
|
|
compatible = "ti,omap3-musb";
|
|
ti,hwmods = "am35x_otg_hs";
|
|
status = "disabled";
|
|
reg = <0x5c040000 0x1000>;
|
|
interrupts = <71>;
|
|
interrupt-names = "mc";
|
|
};
|
|
|
|
davinci_emac: ethernet@0x5c000000 {
|
|
compatible = "ti,am3517-emac";
|
|
ti,hwmods = "davinci_emac";
|
|
status = "disabled";
|
|
reg = <0x5c000000 0x30000>;
|
|
interrupts = <67 68 69 70>;
|
|
syscon = <&omap3_scm_general>;
|
|
ti,davinci-ctrl-reg-offset = <0x10000>;
|
|
ti,davinci-ctrl-mod-reg-offset = <0>;
|
|
ti,davinci-ctrl-ram-offset = <0x20000>;
|
|
ti,davinci-ctrl-ram-size = <0x2000>;
|
|
ti,davinci-rmii-en = /bits/ 8 <1>;
|
|
local-mac-address = [ 00 00 00 00 00 00 ];
|
|
};
|
|
|
|
davinci_mdio: ethernet@0x5c030000 {
|
|
compatible = "ti,davinci_mdio";
|
|
ti,hwmods = "davinci_mdio";
|
|
status = "disabled";
|
|
reg = <0x5c030000 0x1000>;
|
|
bus_freq = <1000000>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
};
|
|
|
|
uart4: serial@4809e000 {
|
|
compatible = "ti,omap3-uart";
|
|
ti,hwmods = "uart4";
|
|
status = "disabled";
|
|
reg = <0x4809e000 0x400>;
|
|
interrupts = <84>;
|
|
dmas = <&sdma 55 &sdma 54>;
|
|
dma-names = "tx", "rx";
|
|
clock-frequency = <48000000>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&iva {
|
|
status = "disabled";
|
|
};
|
|
|
|
&mailbox {
|
|
status = "disabled";
|
|
};
|
|
|
|
&mmu_isp {
|
|
status = "disabled";
|
|
};
|
|
|
|
&smartreflex_mpu_iva {
|
|
status = "disabled";
|
|
};
|
|
|
|
/include/ "am35xx-clocks.dtsi"
|
|
/include/ "omap36xx-am35xx-omap3430es2plus-clocks.dtsi"
|