diff options
| author | Nathan Rossi <nathan.rossi@xilinx.com> | 2014-04-09 11:26:53 +1000 |
|---|---|---|
| committer | Nathan Rossi <nathan.rossi@xilinx.com> | 2014-04-09 11:26:53 +1000 |
| commit | a874e296af8c38b0c2e3047500fa6b83a4dba450 (patch) | |
| tree | 3f5f680cf3b64ed5e1e1cd2d21315c80eee5af4b /conf/machine | |
| parent | 33b68c4f36483aceb9b4a8b4b1d8a67ea67599fb (diff) | |
| download | meta-xilinx-a874e296af8c38b0c2e3047500fa6b83a4dba450.tar.gz | |
qemumicroblaze: Update dts
* Remove axi pcie node (it is invalid)
* Added clock nodes for newer kernel common clock framework
compatibility for microblaze
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Diffstat (limited to 'conf/machine')
| -rw-r--r-- | conf/machine/boards/qemu/qemumicroblaze.dts | 101 |
1 files changed, 25 insertions, 76 deletions
diff --git a/conf/machine/boards/qemu/qemumicroblaze.dts b/conf/machine/boards/qemu/qemumicroblaze.dts index 9ec05843..a0dd6abf 100644 --- a/conf/machine/boards/qemu/qemumicroblaze.dts +++ b/conf/machine/boards/qemu/qemumicroblaze.dts | |||
| @@ -21,7 +21,9 @@ | |||
| 21 | #cpus = <0x1>; | 21 | #cpus = <0x1>; |
| 22 | #size-cells = <0>; | 22 | #size-cells = <0>; |
| 23 | microblaze_0: cpu@0 { | 23 | microblaze_0: cpu@0 { |
| 24 | bus-handle = <&axi4_0>, <&axi4lite_0>; | ||
| 24 | clock-frequency = <100000000>; | 25 | clock-frequency = <100000000>; |
| 26 | clocks = <&clk_cpu>; | ||
| 25 | compatible = "xlnx,microblaze-8.40.a"; | 27 | compatible = "xlnx,microblaze-8.40.a"; |
| 26 | d-cache-baseaddr = <0x50000000>; | 28 | d-cache-baseaddr = <0x50000000>; |
| 27 | d-cache-highaddr = <0x53ffffff>; | 29 | d-cache-highaddr = <0x53ffffff>; |
| @@ -121,6 +123,24 @@ | |||
| 121 | xlnx,use-stack-protection = <0x0>; | 123 | xlnx,use-stack-protection = <0x0>; |
| 122 | } ; | 124 | } ; |
| 123 | } ; | 125 | } ; |
| 126 | clocks { | ||
| 127 | #address-cells = <1>; | ||
| 128 | #size-cells = <0>; | ||
| 129 | clk_bus: bus { | ||
| 130 | #clock-cells = <0>; | ||
| 131 | clock-frequency = <100000000>; | ||
| 132 | clock-output-names = "bus"; | ||
| 133 | compatible = "fixed-clock"; | ||
| 134 | reg = <1>; | ||
| 135 | } ; | ||
| 136 | clk_cpu: cpu { | ||
| 137 | #clock-cells = <0>; | ||
| 138 | clock-frequency = <100000000>; | ||
| 139 | clock-output-names = "cpu"; | ||
| 140 | compatible = "fixed-clock"; | ||
| 141 | reg = <0>; | ||
| 142 | } ; | ||
| 143 | } ; | ||
| 124 | axi4_0: axi@0 { | 144 | axi4_0: axi@0 { |
| 125 | #address-cells = <1>; | 145 | #address-cells = <1>; |
| 126 | #size-cells = <1>; | 146 | #size-cells = <1>; |
| @@ -136,11 +156,12 @@ | |||
| 136 | axistream-connected = <ðernet_dma>; | 156 | axistream-connected = <ðernet_dma>; |
| 137 | axistream-control-connected = <ðernet_dma>; | 157 | axistream-control-connected = <ðernet_dma>; |
| 138 | clock-frequency = <100000000>; | 158 | clock-frequency = <100000000>; |
| 159 | clocks = <&clk_bus>; | ||
| 139 | compatible = "xlnx,axi-ethernet-3.01.a", "xlnx,axi-ethernet-1.00.a"; | 160 | compatible = "xlnx,axi-ethernet-3.01.a", "xlnx,axi-ethernet-1.00.a"; |
| 140 | device_type = "network"; | 161 | device_type = "network"; |
| 141 | interrupt-parent = <µblaze_0_intc>; | 162 | interrupt-parent = <µblaze_0_intc>; |
| 142 | interrupts = < 3 2 >; | 163 | interrupts = < 3 2 >; |
| 143 | local-mac-address = [ 00 0a 35 00 81 91 ]; | 164 | local-mac-address = [ 00 0a 35 00 00 00 ]; |
| 144 | phy-handle = <&phy0>; | 165 | phy-handle = <&phy0>; |
| 145 | reg = < 0x82780000 0x40000 >; | 166 | reg = < 0x82780000 0x40000 >; |
| 146 | xlnx,avb = <0x0>; | 167 | xlnx,avb = <0x0>; |
| @@ -148,7 +169,7 @@ | |||
| 148 | xlnx,include-io = <0x1>; | 169 | xlnx,include-io = <0x1>; |
| 149 | xlnx,mcast-extend = <0x0>; | 170 | xlnx,mcast-extend = <0x0>; |
| 150 | xlnx,phy-type = <0x1>; | 171 | xlnx,phy-type = <0x1>; |
| 151 | xlnx,phyaddr = "0B00001"; | 172 | xlnx,phyaddr = <0x1>; |
| 152 | xlnx,rxcsum = <0x0>; | 173 | xlnx,rxcsum = <0x0>; |
| 153 | xlnx,rxmem = <0x1000>; | 174 | xlnx,rxmem = <0x1000>; |
| 154 | xlnx,rxvlan-strp = <0x0>; | 175 | xlnx,rxvlan-strp = <0x0>; |
| @@ -165,7 +186,6 @@ | |||
| 165 | #address-cells = <1>; | 186 | #address-cells = <1>; |
| 166 | #size-cells = <0>; | 187 | #size-cells = <0>; |
| 167 | phy0: phy@7 { | 188 | phy0: phy@7 { |
| 168 | compatible = "marvell,88e1111"; | ||
| 169 | device_type = "ethernet-phy"; | 189 | device_type = "ethernet-phy"; |
| 170 | reg = <7>; | 190 | reg = <7>; |
| 171 | } ; | 191 | } ; |
| @@ -195,6 +215,7 @@ | |||
| 195 | } ; | 215 | } ; |
| 196 | rs232_uart_1: serial@83e00000 { | 216 | rs232_uart_1: serial@83e00000 { |
| 197 | clock-frequency = <100000000>; | 217 | clock-frequency = <100000000>; |
| 218 | clocks = <&clk_bus>; | ||
| 198 | compatible = "xlnx,axi-uart16550-1.01.a", "xlnx,xps-uart16550-2.00.a", "ns16550a"; | 219 | compatible = "xlnx,axi-uart16550-1.01.a", "xlnx,xps-uart16550-2.00.a", "ns16550a"; |
| 199 | current-speed = <115200>; | 220 | current-speed = <115200>; |
| 200 | device_type = "serial"; | 221 | device_type = "serial"; |
| @@ -366,6 +387,7 @@ | |||
| 366 | } ; | 387 | } ; |
| 367 | system_timer: system-timer@83c00000 { | 388 | system_timer: system-timer@83c00000 { |
| 368 | clock-frequency = <100000000>; | 389 | clock-frequency = <100000000>; |
| 390 | clocks = <&clk_bus>; | ||
| 369 | compatible = "xlnx,axi-timer-1.03.a", "xlnx,xps-timer-1.00.a"; | 391 | compatible = "xlnx,axi-timer-1.03.a", "xlnx,xps-timer-1.00.a"; |
| 370 | interrupt-parent = <µblaze_0_intc>; | 392 | interrupt-parent = <µblaze_0_intc>; |
| 371 | interrupts = < 2 2 >; | 393 | interrupts = < 2 2 >; |
| @@ -379,78 +401,5 @@ | |||
| 379 | xlnx,trig0-assert = <0x1>; | 401 | xlnx,trig0-assert = <0x1>; |
| 380 | xlnx,trig1-assert = <0x1>; | 402 | xlnx,trig1-assert = <0x1>; |
| 381 | } ; | 403 | } ; |
| 382 | axi_pcie_0: axi-pcie@80000000 { | ||
| 383 | #address-cells = <2>; | ||
| 384 | #size-cells = <2>; | ||
| 385 | compatible = "xlnx,axi-pcie-1.05.a"; | ||
| 386 | interrupt-parent = <µblaze_0_intc>; | ||
| 387 | interrupts = < 6 2 >; | ||
| 388 | ranges = < 0x00000002 0x00000000 0x40000000 0x70000000 0x00000000 0x00000000 0x10000000 >; | ||
| 389 | reg = < 0x80000000 0x1000000 >; | ||
| 390 | xlnx,axi-aclk-freq-hz = <0x7735940>; | ||
| 391 | xlnx,axibar-0 = <0x70000000>; | ||
| 392 | xlnx,axibar-1 = <0xffffffff>; | ||
| 393 | xlnx,axibar-2 = <0xffffffff>; | ||
| 394 | xlnx,axibar-3 = <0xffffffff>; | ||
| 395 | xlnx,axibar-4 = <0xffffffff>; | ||
| 396 | xlnx,axibar-5 = <0xffffffff>; | ||
| 397 | xlnx,axibar-as-0 = <0x0>; | ||
| 398 | xlnx,axibar-as-1 = <0x0>; | ||
| 399 | xlnx,axibar-as-2 = <0x0>; | ||
| 400 | xlnx,axibar-as-3 = <0x0>; | ||
| 401 | xlnx,axibar-as-4 = <0x0>; | ||
| 402 | xlnx,axibar-as-5 = <0x0>; | ||
| 403 | xlnx,axibar-highaddr-0 = <0x7fffffff>; | ||
| 404 | xlnx,axibar-highaddr-1 = <0x0>; | ||
| 405 | xlnx,axibar-highaddr-2 = <0x0>; | ||
| 406 | xlnx,axibar-highaddr-3 = <0x0>; | ||
| 407 | xlnx,axibar-highaddr-4 = <0x0>; | ||
| 408 | xlnx,axibar-highaddr-5 = <0x0>; | ||
| 409 | xlnx,axibar-num = <0x1>; | ||
| 410 | xlnx,axibar2pciebar-0 = <0x40000000>; | ||
| 411 | xlnx,axibar2pciebar-1 = <0x0>; | ||
| 412 | xlnx,axibar2pciebar-2 = <0x0>; | ||
| 413 | xlnx,axibar2pciebar-3 = <0x0>; | ||
| 414 | xlnx,axibar2pciebar-4 = <0x0>; | ||
| 415 | xlnx,axibar2pciebar-5 = <0x0>; | ||
| 416 | xlnx,class-code = <0x60400>; | ||
| 417 | xlnx,comp-timeout = <0x1>; | ||
| 418 | xlnx,device-id = <0x705>; | ||
| 419 | xlnx,family = "virtex6"; | ||
| 420 | xlnx,include-baroffset-reg = <0x0>; | ||
| 421 | xlnx,include-rc = <0x1>; | ||
| 422 | xlnx,instance = "axi_pcie_0"; | ||
| 423 | xlnx,interrupt-pin = <0x0>; | ||
| 424 | xlnx,max-link-speed = <0x0>; | ||
| 425 | xlnx,no-of-lanes = <0x1>; | ||
| 426 | xlnx,num-msi-req = <0x0>; | ||
| 427 | xlnx,pcie-cap-slot-implemented = <0x0>; | ||
| 428 | xlnx,pcie-use-mode = "1.0"; | ||
| 429 | xlnx,pciebar-as = <0x0>; | ||
| 430 | xlnx,pciebar-len-0 = <0x1c>; | ||
| 431 | xlnx,pciebar-len-1 = <0xd>; | ||
| 432 | xlnx,pciebar-len-2 = <0xd>; | ||
| 433 | xlnx,pciebar-num = <0x1>; | ||
| 434 | xlnx,pciebar2axibar-0 = <0xc0000000>; | ||
| 435 | xlnx,pciebar2axibar-0-sec = <0x0>; | ||
| 436 | xlnx,pciebar2axibar-1 = <0xffffffff>; | ||
| 437 | xlnx,pciebar2axibar-1-sec = <0x0>; | ||
| 438 | xlnx,pciebar2axibar-2 = <0xffffffff>; | ||
| 439 | xlnx,pciebar2axibar-2-sec = <0x0>; | ||
| 440 | xlnx,ref-clk-freq = <0x0>; | ||
| 441 | xlnx,ref-clk-freq-hz = <0x5f5e100>; | ||
| 442 | xlnx,rev-id = <0x0>; | ||
| 443 | xlnx,s-axi-ctl-aclk-freq-hz = <0x7735940>; | ||
| 444 | xlnx,s-axi-ctl-protocol = "AXI4LITE"; | ||
| 445 | xlnx,s-axi-id-width = <0x1>; | ||
| 446 | xlnx,s-axi-support-threads = <0x1>; | ||
| 447 | xlnx,s-axi-supports-narrow-burst = <0x0>; | ||
| 448 | xlnx,s-axi-supports-read = <0x1>; | ||
| 449 | xlnx,s-axi-supports-write = <0x1>; | ||
| 450 | xlnx,subsystem-id = <0x0>; | ||
| 451 | xlnx,subsystem-vendor-id = <0x0>; | ||
| 452 | xlnx,vendor-id = <0x10ee>; | ||
| 453 | } ; | ||
| 454 | |||
| 455 | } ; | 404 | } ; |
| 456 | } ; | 405 | } ; |
