Skip to content

Commit

Permalink
ARM: PRIMA2: add CSR SiRFmarco device tree .dts
Browse files Browse the repository at this point in the history
SiRFmarco is a dual-core cortex-a9 SMP SoC from CSR. this patch
adds the .dtsi and a basic evb board .dts for it.

Signed-off-by: Barry Song <Baohua.Song@csr.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
  • Loading branch information
Barry Song authored and Barry Song committed Jan 22, 2013
1 parent 90cf214 commit 09180e5
Show file tree
Hide file tree
Showing 3 changed files with 818 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Documentation/devicetree/bindings/arm/sirf.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
prima2 "cb" evaluation board
CSR SiRFprimaII and SiRFmarco device tree bindings.
========================================

Required root node properties:
- compatible = "sirf,prima2-cb", "sirf,prima2";
- compatible:
- "sirf,prima2-cb" : prima2 "cb" evaluation board
- "sirf,marco-cb" : marco "cb" evaluation board
- "sirf,prima2" : prima2 device based board
- "sirf,marco" : marco device based board
54 changes: 54 additions & 0 deletions arch/arm/boot/dts/marco-evb.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
/*
* DTS file for CSR SiRFmarco Evaluation Board
*
* Copyright (c) 2012 Cambridge Silicon Radio Limited, a CSR plc group company.
*
* Licensed under GPLv2 or later.
*/

/dts-v1/;

/include/ "marco.dtsi"

/ {
model = "CSR SiRFmarco Evaluation Board";
compatible = "sirf,marco-cb", "sirf,marco";

memory {
reg = <0x40000000 0x60000000>;
};

axi {
peri-iobg {
uart1: uart@cc060000 {
status = "okay";
};
uart2: uart@cc070000 {
status = "okay";
};
i2c0: i2c@cc0e0000 {
status = "okay";
fpga-cpld@4d {
compatible = "sirf,fpga-cpld";
reg = <0x4d>;
};
};
spi1: spi@cc170000 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&spi1_pins_a>;
spi@0 {
compatible = "spidev";
reg = <0>;
spi-max-frequency = <1000000>;
};
};
pci-iobg {
sd0: sdhci@cd000000 {
bus-width = <8>;
status = "okay";
};
};
};
};
};
Loading

0 comments on commit 09180e5

Please sign in to comment.