Re: [microblaze-uclinux] Re: [microblaze-uclinux] RE: [PATCH v3] Device tree bindings for Xilinx devices
Michal Simek
Monstr at seznam.cz
Tue Oct 23 17:34:37 EST 2007
Hi David,
I remove some labels from my generator. I created fake system with some peripherals.
There are 3 buses and 3 bridges.
Can you check it and tell me what is wrong?
Thanks,
Michal Simek
/ {
model = "mONStR";
chosen {
bootargs = "root=/dev/xsysace/disc0/part2";
} ;
cpus {
#size-cells = <0>;
#cpus = < 0 >;
#address-cells = <1>;
microblaze_0,5.00.c at 0 {
device_type = "cpu";
reg = <0>;
clock-frequency = <5f5e1000>;
timebase-frequency = <1FCA055>;
i-cache-line-size = <2000>;
i-cache-size = <10>;
d-cache-line-size = <2000>;
d-cache-size = <10>;
xilinx,pvr = <0>;
xilinx,debug-enabled = <1>;
xilinx,fsl-links = <0>;
} ;
} ;
ethernet at 10060000 {
compatible = "opb_ethernet_1.04.a","opb_ethernet";
interrupts = < 3 0 >;
reg = < 10060000 10000 >;
device_type = "network";
xilinx,cam-exist = <0>;
xilinx,dev-blk-id = <1>;
xilinx,dev-mir-enable = <1>;
xilinx,dma-present = <1>;
xilinx,include-dev-pencoder = <1>;
xilinx,ipif-rdfifo-depth = <8000>;
xilinx,ipif-wrfifo-depth = <8000>;
xilinx,mii-exist = <1>;
} ;
memory at 20000000 {
memreg:reg = < 20000000 10000000 >;
device_type = "memory";
} ;
serial at 10030000 {
compatible = "opb_uart16550_1.00.d","opb_uart16550";
reg = < 10030000 10000 >;
device_type = "serial";
} ;
opb_timer at 10020000 {
compatible = "opb_timer_1.00.b","opb_timer";
interrupts = < 0 0 >;
reg = < 10020000 10000 >;
xilinx,count-width = <20>;
xilinx,one-timer-only = <0>;
} ;
opb_opb_lite at 30000000 {
ranges = < 0 30000000 10000000 >;
opb_gpio at 30020000 {
compatible = "opb_gpio_3.01.b","opb_gpio";
reg = < 30020000 10000 >;
xilinx,gpio-width = <4>;
xilinx,is-dual = <0>;
} ;
i2c at 30030000 {
compatible = "opb_iic_1.02.a","opb_iic";
reg = < 30030000 10000 >;
device_type = "i2c";
} ;
opb_gpio at 30010000 {
compatible = "opb_gpio_3.01.b","opb_gpio";
reg = < 30010000 10000 >;
xilinx,gpio-width = <20>;
xilinx,is-dual = <0>;
} ;
ethernet at 30040000 {
compatible = "opb_ethernetlite_1.01.b","opb_ethernetlite";
reg = < 30040000 10000 >;
device_type = "network";
xilinx,duplex = <1>;
xilinx,rx-ping-pong = <0>;
xilinx,tx-ping-pong = <0>;
} ;
opb_sysace at 30050000 {
compatible = "opb_sysace_1.00.c","opb_sysace";
reg = < 30050000 10000 >;
xilinx,mem-width = <10>;
} ;
opb_ps2_dual_ref at 30060000 {
compatible = "opb_ps2_dual_ref_1.00.a","opb_ps2_dual_ref";
interrupts = < 2 0 >;
interrupts = < 1 0 >;
reg = < 30060000 10000 >;
} ;
};
opb_intc at 10010000 {
compatible = "opb_intc_1.00.c","opb_intc";
reg = < 10010000 10000 >;
} ;
opb_mdm at 10050000 {
compatible = "opb_mdm_2.00.a","opb_mdm";
reg = < 10050000 10000 >;
xilinx,mb-dbg-ports = <1>;
xilinx,uart-width = <8>;
xilinx,use-uart = <1>;
} ;
serial at 10040000 {
compatible = "opb_uartlite_1.00.b","opb_uartlite";
interrupts = < 4 0 >;
reg = < 10040000 10000 >;
device_type = "serial";
xilinx,baudrate = <2580>;
xilinx,data-bits = <8>;
xilinx,clk-freq = <5f5e100>;
xilinx,odd-parity = <0>;
xilinx,use-parity = <0>;
} ;
opb2plb_bridge at 80000000 {
ranges = < 0 80000000 80000000 >;
serial at a0020000 {
compatible = "plb_uart16550_1.00.c","plb_uart16550";
reg = < a0020000 10000 >;
device_type = "serial";
} ;
plb_gpio at a0010000 {
compatible = "plb_gpio_1.00.b","plb_gpio";
reg = < a0010000 10000 >;
xilinx,gpio-width = <20>;
xilinx,is-dual = <0>;
} ;
ethernet at a0000000 {
compatible = "plb_ethernet_1.01.a","plb_ethernet";
reg = < a0000000 10000 >;
device_type = "network";
} ;
plb2opb_bridge at 10000000 {
ranges = < 0 10000000 10000000 >;
ranges = < 1 20000000 10000000 >;
};
cpus {
#size-cells = <0>;
#cpus = < 1 >;
#address-cells = <1>;
ppc405_0,405 at 1 {
device_type = "cpu";
reg = <0>;
clock-frequency = <5f5e1000>;
timebase-frequency = <1FCA055>;
} ;
} ;
};
} ;
More information about the Linuxppc-dev
mailing list