|
Edited by boob at 2016-2-21 12:19
- //ADD
- gmac: ethernet@01c30000 {
- compatible = "allwinner,sun7i-a20-gmac", "snps,dwmac";
- reg = <0x01c30000 0x1054>;
- interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-names = "macirq";
- clocks = <&bus_gates 17>;
- clock-names = "stmmaceth";
- //Maybe init phy at 25mhz after reset? (defaut CLK_SEL 24mhz = 1)
- //resets = <&ahb_rst 17>, <&ahb2_rst 2>, <&emac_clk_reg_rst 16>, <&emac_clk_reg_rst 18>;
- //reset-names = "stmmaceth", "ephyrst", "pwrup", "clk_sel_25mhz";
- resets = <&ahb_rst 17>, <&ahb2_rst 2>, <&emac_clk_reg_rst 16>;
- reset-names = "stmmaceth", "ephyrst", "pwrup";
- snps,pbl = <2>;
- snps,fixed-burst;
- snps,force_sf_dma_mode;
- status = "disabled";
- #address-cells = <1>;
- #size-cells = <0>;
- };
Copy code |
|