mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-05-24 10:39:52 +00:00
ARM: dts: qcom: add ethernet definitions to ipq8064
Plumb in the 4 IPQ8064 stmmac based ethernet interfaces. Signed-off-by: Jonathan McDowell <noodles@earth.li> Link: https://lore.kernel.org/r/723344332357b5eed957443ec4a705a080fcc2da.1589824955.git.noodles@earth.li Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
parent
cd13c72c18
commit
6acd6ad562
1 changed files with 108 additions and 0 deletions
|
@ -597,6 +597,114 @@
|
|||
perst-gpio = <&qcom_pinmux 63 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
nss_common: syscon@03000000 {
|
||||
compatible = "syscon";
|
||||
reg = <0x03000000 0x0000FFFF>;
|
||||
};
|
||||
|
||||
qsgmii_csr: syscon@1bb00000 {
|
||||
compatible = "syscon";
|
||||
reg = <0x1bb00000 0x000001FF>;
|
||||
};
|
||||
|
||||
stmmac_axi_setup: stmmac-axi-config {
|
||||
snps,wr_osr_lmt = <7>;
|
||||
snps,rd_osr_lmt = <7>;
|
||||
snps,blen = <16 0 0 0 0 0 0>;
|
||||
};
|
||||
|
||||
gmac0: ethernet@37000000 {
|
||||
device_type = "network";
|
||||
compatible = "qcom,ipq806x-gmac";
|
||||
reg = <0x37000000 0x200000>;
|
||||
interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "macirq";
|
||||
|
||||
snps,axi-config = <&stmmac_axi_setup>;
|
||||
snps,pbl = <32>;
|
||||
snps,aal = <1>;
|
||||
|
||||
qcom,nss-common = <&nss_common>;
|
||||
qcom,qsgmii-csr = <&qsgmii_csr>;
|
||||
|
||||
clocks = <&gcc GMAC_CORE1_CLK>;
|
||||
clock-names = "stmmaceth";
|
||||
|
||||
resets = <&gcc GMAC_CORE1_RESET>;
|
||||
reset-names = "stmmaceth";
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
gmac1: ethernet@37200000 {
|
||||
device_type = "network";
|
||||
compatible = "qcom,ipq806x-gmac";
|
||||
reg = <0x37200000 0x200000>;
|
||||
interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "macirq";
|
||||
|
||||
snps,axi-config = <&stmmac_axi_setup>;
|
||||
snps,pbl = <32>;
|
||||
snps,aal = <1>;
|
||||
|
||||
qcom,nss-common = <&nss_common>;
|
||||
qcom,qsgmii-csr = <&qsgmii_csr>;
|
||||
|
||||
clocks = <&gcc GMAC_CORE2_CLK>;
|
||||
clock-names = "stmmaceth";
|
||||
|
||||
resets = <&gcc GMAC_CORE2_RESET>;
|
||||
reset-names = "stmmaceth";
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
gmac2: ethernet@37400000 {
|
||||
device_type = "network";
|
||||
compatible = "qcom,ipq806x-gmac";
|
||||
reg = <0x37400000 0x200000>;
|
||||
interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "macirq";
|
||||
|
||||
snps,axi-config = <&stmmac_axi_setup>;
|
||||
snps,pbl = <32>;
|
||||
snps,aal = <1>;
|
||||
|
||||
qcom,nss-common = <&nss_common>;
|
||||
qcom,qsgmii-csr = <&qsgmii_csr>;
|
||||
|
||||
clocks = <&gcc GMAC_CORE3_CLK>;
|
||||
clock-names = "stmmaceth";
|
||||
|
||||
resets = <&gcc GMAC_CORE3_RESET>;
|
||||
reset-names = "stmmaceth";
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
gmac3: ethernet@37600000 {
|
||||
device_type = "network";
|
||||
compatible = "qcom,ipq806x-gmac";
|
||||
reg = <0x37600000 0x200000>;
|
||||
interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "macirq";
|
||||
|
||||
snps,axi-config = <&stmmac_axi_setup>;
|
||||
snps,pbl = <32>;
|
||||
snps,aal = <1>;
|
||||
|
||||
qcom,nss-common = <&nss_common>;
|
||||
qcom,qsgmii-csr = <&qsgmii_csr>;
|
||||
|
||||
clocks = <&gcc GMAC_CORE4_CLK>;
|
||||
clock-names = "stmmaceth";
|
||||
|
||||
resets = <&gcc GMAC_CORE4_RESET>;
|
||||
reset-names = "stmmaceth";
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
vsdcc_fixed: vsdcc-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "SDCC Power";
|
||||
|
|
Loading…
Add table
Reference in a new issue