UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Adventurer
Adventurer
339 Views
Registered: ‎10-17-2018

devicetree configuration for marvell alaska 88e1111

I'm looking for use the PHY present on the vc707 board, but my system-top.dts file is the following :

 

/dts-v1/;
/include/ "system-conf.dtsi"
/ {
};

I've no idea about how to properly set up the PHY.

 

0 Kudos
5 Replies
Explorer
Explorer
290 Views
Registered: ‎06-03-2015

Re: devicetree configuration for marvell alaska 88e1111

Hi

Is this the complete file of .dts, it is actually having nothing in the file.

In fact

1.  ".dtsi" is SoC representation. 

2. ".dts" represents Board representation.

3. .dts contains CPU cores, Memory controller physicall address  & PHY  device addrees as node etc 

 With this you can not achieve board up, first find the proper .dts file

Thank s & Regards

Satish G

G Satish Kumar
Adventurer
Adventurer
266 Views
Registered: ‎10-17-2018

Re: devicetree configuration for marvell alaska 88e1111

Hi, it is the file located at "project-root/project-spec/meta-user/recipes-dt/device-tree/files/system-top.dts" and its called "system-top.dts"

0 Kudos
Adventurer
Adventurer
247 Views
Registered: ‎10-17-2018

Re: devicetree configuration for marvell alaska 88e1111

my system-top.dts file is the following :

 

/dts-v1/;
/include/ "system-conf.dtsi"
/ {
};
&axi_ethernet_0 {		
	phy-handle = <&phy1>;
	phy-mode = "sgmii";		
	axi_ethernet_0_mdio: mdio {
		#address-cells = <1>;
		#size-cells = <0>;
		phy1: phy@1 {
			compatible = "marvell,88e1111";
			device_type = "ethernet-phy";
			reg = <1>;
		};
	};
};

and I get these messages while booting linux:

Ramdisk addr 0x00000000,
Compiled-in FDT at c03a7948
Linux version 4.6.0-xilinx (jamelly@lasse100) (gcc version 5.2.0 (crosstool-N9
setup_cpuinfo: initialising
setup_cpuinfo: Using full CPU PVR support
wt_msr_noirq
setup_memory: max_mapnr: 0x40000
setup_memory: min_low_pfn: 0x80000
setup_memory: max_low_pfn: 0xb0000
setup_memory: max_pfn: 0xc0000
Zone ranges:
DMA [mem 0x0000000080000000-0x00000000afffffff]
Normal empty
HighMem [mem 0x00000000b0000000-0x00000000bfffffff]
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000080000000-0x00000000bfffffff]
Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff]
On node 0 totalpages: 262144
free_area_init_node: node 0, pgdat c04e1e34, node_mem_map c1000000
DMA zone: 1536 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 196608 pages, LIFO batch:31
HighMem zone: 65536 pages, LIFO batch:15
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260608
Kernel command line: console=ttyUL0,9600 earlyprintk
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1027324K/1048576K available (3742K kernel code, 130K rwdata, 1092K ro)
Kernel virtual memory layout:
* 0xfffea000..0xfffff000 : fixmap
* 0xff800000..0xffc00000 : highmem PTEs
* 0xff800000..0xff800000 : early ioremap
* 0xf0000000..0xff800000 : vmalloc & ioremap
NR_IRQS:33
/amba_pl/interrupt-controller@41200000: num_irq=3, edge=0x2
/amba_pl/timer@41c00000: irq=1
clocksource: xilinx_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, maxs
xilinx_timer_shutdown
xilinx_timer_set_periodic
sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 21474836475ns
Calibrating delay loop... 49.56 BogoMIPS (lpj=247808)
pid_max: default: 4096 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1s
NET: Registered protocol family 16
PCI: Probing PCI hardware
vgaarb: loaded
clocksource: Switched to clocksource xilinx_clocksource
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 24576 bytes)
UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PCI: CLS 0 bytes, default 32
Skipping unavailable RESET gpio -2 (reset)
futex hash table entries: 16 (order: -4, 448 bytes)
audit: initializing netlink subsys (disabled)
audit: type=2000 audit(11.540:1): initialized
workingset: timestamp_bits=28 max_order=18 bucket_order=0
romfs: ROMFS MTD (C) 2007 Red Hat, Inc.
bounce: pool size: 64 pages
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
40600000.serial: ttyUL0 at MMIO 0x40600000 (irq = 3, base_baud = 0) is a uarte
console [ttyUL0] enabled
brd: module loaded
60000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0
NOR chip too large to fit in mapping. Attempting to cope...
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Using buffer write method
Using auto-unlock on power-up/resume
cfi_cmdset_0001: Erase suspend on write enabled
erase region 0: offset=0x0,size=0x40000,blocks=512
60000000.flash: program region size/ctrl_valid/ctrl_inval = 1024/16/16
60000000.flash: 1 set(s) of 1 interleaved chips --> 8 partitions of 16384 KiB
Reducing visibility of 131072KiB chip to 32768KiB
4 ofpart partitions found on MTD device 60000000.flash
Creating 4 MTD partitions on "60000000.flash":
0x000000000000-0x000000400000 : "fpga"
0x000000400000-0x000000440000 : "boot"
0x000000440000-0x000000460000 : "bootenv"
mtd: partition "bootenv" doesn't end on an erase block -- force read-only
0x000000460000-0x000000a60000 : "kernel"
mtd: partition "kernel" doesn't start on an erase block boundary -- force reay
xilinx_axienet 40c00000.ethernet: TX_CSUM 0
xilinx_axienet 40c00000.ethernet: RX_CSUM 0
xilinx_axienet 40c00000.ethernet: could not determine irqs
xilinx_axienet: probe of 40c00000.ethernet failed with error -12
NET: Registered protocol family 17
Key type encrypted registered
Warning: unable to open an initial console.
Freeing unused kernel memory: 5820K (c04e4000 - c0a93000)
This architecture does not have kernel memory protection.

 

0 Kudos
Explorer
Explorer
239 Views
Registered: ‎06-03-2015

Re: devicetree configuration for marvell alaska 88e1111

Hi

In basic, DTS file is having name with <board_name>.dts like

zed_board.dts

zynq_zc702.dts

zybo_board.dts

these files contains all device node information, works as it is

In first level take zynq_zc702.dts file as input & it works directly  for any board with Minium I/O Devices.

Provide Kudos if post is helpful.

Thanks & Regards

Satish G

G Satish Kumar
0 Kudos
Adventurer
Adventurer
226 Views
Registered: ‎10-17-2018

Re: devicetree configuration for marvell alaska 88e1111

I'm not using any of the boards you mentioned, sorry. I'm using the VC707 board, running Linux on a MicroBlaze processor.

0 Kudos