Skip to content

Commit

Permalink
ARM: dts: enable SPI1 for exynos4412-odroidu3
Browse files Browse the repository at this point in the history
SPI1 is available on IO Port #2 (as depicted on their website)
in PCB Revision 0.5 of Hardkernel Odroid U3 board.
The shield connects a 256KiB spi-nor flash on that bus.

Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
  • Loading branch information
Alexis Ballier authored and Kukjin Kim committed Aug 13, 2015
1 parent e0b1251 commit c8b34e3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions arch/arm/boot/dts/exynos4412-odroidu3.dts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

/dts-v1/;
#include "exynos4412-odroid-common.dtsi"
#include <dt-bindings/gpio/gpio.h>

/ {
model = "Hardkernel ODROID-U3 board based on Exynos4412";
Expand Down Expand Up @@ -61,3 +62,10 @@
"Speakers", "SPKL",
"Speakers", "SPKR";
};

&spi_1 {
pinctrl-names = "default";
pinctrl-0 = <&spi1_bus>;
cs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>;
status = "okay";
};

0 comments on commit c8b34e3

Please sign in to comment.