mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 00:21:59 +00:00
c80fe3357f
This patch adds support to STiH415 SOC, which has two ethernet snps,dwmac controllers version 3.610. With this patch B2000 and B2020 boards can boot with ethernet in MII and RGMII modes. Tested on both B2020 and B2000. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
53 lines
1.1 KiB
Plaintext
53 lines
1.1 KiB
Plaintext
/*
|
|
* Copyright (C) 2013 STMicroelectronics (R&D) Limited
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
/ {
|
|
clocks {
|
|
/*
|
|
* Fixed 30MHz oscillator input to SoC
|
|
*/
|
|
CLK_SYSIN: CLK_SYSIN {
|
|
#clock-cells = <0>;
|
|
compatible = "fixed-clock";
|
|
clock-frequency = <30000000>;
|
|
};
|
|
|
|
/*
|
|
* ARM Peripheral clock for timers
|
|
*/
|
|
arm_periph_clk: arm_periph_clk {
|
|
#clock-cells = <0>;
|
|
compatible = "fixed-clock";
|
|
clock-frequency = <500000000>;
|
|
};
|
|
|
|
/*
|
|
* Bootloader initialized system infrastructure clock for
|
|
* serial devices.
|
|
*/
|
|
CLKS_ICN_REG_0: CLKS_ICN_REG_0 {
|
|
#clock-cells = <0>;
|
|
compatible = "fixed-clock";
|
|
clock-frequency = <100000000>;
|
|
};
|
|
|
|
CLKS_GMAC0_PHY: clockgenA1@7 {
|
|
#clock-cells = <0>;
|
|
compatible = "fixed-clock";
|
|
clock-frequency = <25000000>;
|
|
clock-output-names = "CLKS_GMAC0_PHY";
|
|
};
|
|
|
|
CLKS_ETH1_PHY: clockgenA0@7 {
|
|
#clock-cells = <0>;
|
|
compatible = "fixed-clock";
|
|
clock-frequency = <25000000>;
|
|
clock-output-names = "CLKS_ETH1_PHY";
|
|
};
|
|
};
|
|
};
|