Skip to content

Commit

Permalink
dts: hi6220: Listing spidev in dts
Browse files Browse the repository at this point in the history
Signed-off-by: Akira Tsukamoto <akira.tsukamoto@linaro.org>
  • Loading branch information
Akira Tsukamoto authored and docularxu committed Jan 13, 2016
1 parent 4f2d637 commit e2ac311
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions arch/arm64/boot/dts/hi6220.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,8 @@

spi_0: spi@f7106000 {
compatible = "arm,pl022", "arm,primecell";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x0 0xf7106000 0x0 0x1000>;
interrupts = <0 50 4>;
bus-id = <0>;
Expand All @@ -761,10 +763,22 @@
clock-names = "apb_pclk";
pinctrl-names = "default";
pinctrl-0 = <&spi0_pmx_func &spi0_cfg_func>;
num-cs = <4>;
cs-gpios = <&gpio6 2 0>,<&gpio6 3 0>,<&gpio6 4 0>,<&gpio6 5 0>;
num-cs = <2>;
cs-gpios = <&gpio2 2 0>,<&gpio2 3 0>;

status = "ok";

spidev@0 {
compatible = "linux,spidev";
spi-max-frequency = <500000>;
reg = <0>;
};

spidev@1 {
compatible = "linux,spidev";
spi-max-frequency = <500000>;
reg = <1>;
};
};

display-subsystem {
Expand Down

0 comments on commit e2ac311

Please sign in to comment.