forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pinctrl: sirf: add DT-binding pinmux mapping support
This makes us possible to define pinmux mapping in board-specific DTS. prima2.dtsi provides all possible (groups,functions) configuration, and device in .dts select configurations from dtsi files. Signed-off-by: Barry Song <Baohua.Song@csr.com> Acked-by: Linus Walleij <linus.walleij@linaro.org>
- Loading branch information
Showing
4 changed files
with
315 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* | ||
* DTS file for CSR SiRFprimaII Evaluation Board | ||
* | ||
* Copyright (c) 2012 Cambridge Silicon Radio Limited, a CSR plc group company. | ||
* | ||
* Licensed under GPLv2 or later. | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
/include/ "prima2.dtsi" | ||
|
||
/ { | ||
model = "CSR SiRFprimaII Evaluation Board"; | ||
compatible = "sirf,prima2", "sirf,prima2-cb"; | ||
|
||
memory { | ||
reg = <0x00000000 0x20000000>; | ||
}; | ||
|
||
axi { | ||
peri-iobg { | ||
uart@b0060000 { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&uart1_pins_a>; | ||
}; | ||
spi@b00d0000 { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&spi0_pins_a>; | ||
}; | ||
spi@b0170000 { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&spi1_pins_a>; | ||
}; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
zreladdr-y += 0x00008000 | ||
params_phys-y := 0x00000100 | ||
initrd_phys-y := 0x00800000 | ||
|
||
dtb-$(CONFIG_ARCH_PRIMA2) += prima2-evb.dtb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters