Add EMAC and SRAM controller entries to FDT.
Add EMAC device to kernel config files and enable EMAC, SRAM drivers for build. Approved by: stas (mentor)
This commit is contained in:
parent
19297ab301
commit
8c95c97c2c
@ -12,8 +12,10 @@ arm/arm/gic.c standard
|
||||
|
||||
arm/allwinner/a20/a20_cpu_cfg.c standard
|
||||
arm/allwinner/a10_clk.c standard
|
||||
arm/allwinner/a10_sramc.c standard
|
||||
arm/allwinner/a10_gpio.c optional gpio
|
||||
arm/allwinner/a10_ehci.c optional ehci
|
||||
arm/allwinner/if_emac.c optional emac
|
||||
arm/allwinner/a10_wdog.c standard
|
||||
arm/allwinner/timer.c standard
|
||||
arm/arm/bus_space-v6.c standard
|
||||
|
@ -11,8 +11,10 @@ arm/arm/irq_dispatch.S standard
|
||||
|
||||
arm/allwinner/a20/a20_cpu_cfg.c standard
|
||||
arm/allwinner/a10_clk.c standard
|
||||
arm/allwinner/a10_sramc.c standard
|
||||
arm/allwinner/a10_gpio.c optional gpio
|
||||
arm/allwinner/a10_ehci.c optional ehci
|
||||
arm/allwinner/if_emac.c optional emac
|
||||
arm/allwinner/a10_wdog.c standard
|
||||
arm/allwinner/timer.c standard
|
||||
arm/allwinner/aintc.c standard
|
||||
|
@ -125,6 +125,8 @@ device smscphy
|
||||
#device cpsw
|
||||
device bpf
|
||||
|
||||
device emac
|
||||
|
||||
# USB ethernet support, requires miibus
|
||||
device miibus
|
||||
|
||||
|
@ -125,6 +125,8 @@ device smscphy
|
||||
#device cpsw
|
||||
device bpf
|
||||
|
||||
device emac
|
||||
|
||||
# USB ethernet support, requires miibus
|
||||
device miibus
|
||||
|
||||
|
@ -61,6 +61,13 @@
|
||||
reg = < 0x01c20400 0x400 >;
|
||||
};
|
||||
|
||||
sramc@01c00000 {
|
||||
compatible = "allwinner,sun4i-sramc";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
reg = < 0x01c00000 0x1000 >;
|
||||
};
|
||||
|
||||
ccm@01c20000 {
|
||||
compatible = "allwinner,sun4i-ccm";
|
||||
#address-cells = <1>;
|
||||
@ -124,6 +131,13 @@
|
||||
busy-detect = <1>;
|
||||
broken-txfifo = <1>;
|
||||
};
|
||||
|
||||
emac@01c0b000 {
|
||||
compatible = "allwinner,sun4i-emac";
|
||||
reg = <0x01c0b000 0x1000>;
|
||||
interrupts = <55>;
|
||||
interrupt-parent = <&AINTC>;
|
||||
};
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
@ -61,6 +61,13 @@
|
||||
#interrupt-cells = <1>;
|
||||
};
|
||||
|
||||
sramc@01c00000 {
|
||||
compatible = "allwinner,sun4i-sramc";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
reg = < 0x01c00000 0x1000 >;
|
||||
};
|
||||
|
||||
cpu-cfg@01c25c00 {
|
||||
compatible = "allwinner,sun7i-cpu-cfg";
|
||||
#address-cells = <1>;
|
||||
@ -130,6 +137,13 @@
|
||||
busy-detect = <1>;
|
||||
broken-txfifo = <1>;
|
||||
};
|
||||
|
||||
emac@01c0b000 {
|
||||
compatible = "allwinner,sun4i-emac";
|
||||
reg = <0x01c0b000 0x1000>;
|
||||
interrupts = <55>;
|
||||
interrupt-parent = <&GIC>;
|
||||
};
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
Loading…
Reference in New Issue
Block a user