Commit b8bfedd3 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

1.update config 2.update device trees

parent acb9670c
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "xlnx,zynq-7000"; compatible = "xlnx,zynq-7000";
model = "Xilinx Zynq"; model = "Elphel 10393";
aliases { aliases {
ethernet0 = &ps7_ethernet_0; ethernet0 = &ps7_ethernet_0;
serial0 = &ps7_uart_0; serial0 = &ps7_uart_0;
...@@ -118,12 +118,14 @@ ...@@ -118,12 +118,14 @@
ps7_ethernet_0: ps7-ethernet@e000b000 { ps7_ethernet_0: ps7-ethernet@e000b000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
clock-names = "pclk", "hclk", "tx_clk", "ref_clk", "aper_clk"; clock-names = "ref_clk", "aper_clk";
clocks = <&clkc 30>, <&clkc 30>, <&clkc 13>, <&clkc 13>, <&clkc 30>; clocks = <&clkc 13>, <&clkc 30>;
compatible = "cdns,zynq-gem", "cdns,gem", "xlnx,ps7-ethernet-1.00.a"; compatible = "xlnx,ps7-ethernet-1.00.a";
interrupt-parent = <&ps7_scugic_0>; interrupt-parent = <&ps7_scugic_0>;
interrupts = <0 22 4>; interrupts = <0 22 4>;
local-mac-address = [ 00 0a 35 00 00 00 ]; local-mac-address = [00 0a 35 00 00 00];
phy-handle = <&phy3>;
phy-mode = "rgmii-id";
reg = <0xe000b000 0x1000>; reg = <0xe000b000 0x1000>;
xlnx,enet-reset = <0xffffffff>; xlnx,enet-reset = <0xffffffff>;
xlnx,eth-mode = <0x1>; xlnx,eth-mode = <0x1>;
......
...@@ -73,4 +73,8 @@ ...@@ -73,4 +73,8 @@
compatible = "usb-nop-xceiv"; compatible = "usb-nop-xceiv";
reset-gpios = <&ps7_gpio_0 7 1>; /* MIO 7, GPIO_ACTIVE_LOW */ reset-gpios = <&ps7_gpio_0 7 1>; /* MIO 7, GPIO_ACTIVE_LOW */
} ; } ;
elphel393_mem: elphel393-mem@0 {
compatible = "elphel,elphel393-mem-1.00";
memsize = <25600>;
} ;
} ; } ;
...@@ -4,3 +4,18 @@ CONFIG_COMMON_CLK_SI5338=y ...@@ -4,3 +4,18 @@ CONFIG_COMMON_CLK_SI5338=y
CONFIG_LTC3589=y CONFIG_LTC3589=y
CONFIG_VSC330X=y CONFIG_VSC330X=y
CONFIG_DEFAULT_HOSTNAME="elphel393" CONFIG_DEFAULT_HOSTNAME="elphel393"
CONFIG_GPIO_XILINX_PS=y
CONFIG_GPIO_PCA953X=y
CONFIG_CMA=y
CONFIG_DMA_CMA=y
#
# Default contiguous memory area size:
#
CONFIG_CMA_SIZE_MBYTES=16
CONFIG_CMA_SIZE_SEL_MBYTES=y
# CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set
# CONFIG_CMA_SIZE_SEL_MIN is not set
# CONFIG_CMA_SIZE_SEL_MAX is not set
CONFIG_CMA_ALIGNMENT=8
#CONFIG_CMA_AREAS=7 #obsolete
\ No newline at end of file
CONFIG_ELPHELDRVONMICROZED=y CONFIG_ELPHELDRVONMICROZED=y
CONFIG_GPIO_XILINX_PS=y
CONFIG_GPIO_PCA953X=y
CONFIG_CMA=y
CONFIG_DMA_CMA=y
#
# Default contiguous memory area size:
#
CONFIG_CMA_SIZE_MBYTES=16
CONFIG_CMA_SIZE_SEL_MBYTES=y
# CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set
# CONFIG_CMA_SIZE_SEL_MIN is not set
# CONFIG_CMA_SIZE_SEL_MAX is not set
CONFIG_CMA_ALIGNMENT=8
#CONFIG_CMA_AREAS=7 #obsolete
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment