mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 10:57:46 +00:00
ARM: dts: cfa10049: Add the 74HC595 gpio expanders
Add the two daisy-chains of 74hc595s shift registers available on the CFA-10049. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
This commit is contained in:
parent
acd3b69f30
commit
13b4569bbb
1 changed files with 21 additions and 0 deletions
|
@ -27,6 +27,8 @@ spi3_pins_cfa10049: spi3-cfa10049@0 {
|
||||||
fsl,pinmux-ids = <
|
fsl,pinmux-ids = <
|
||||||
0x0181 /* MX28_PAD_GPMI_RDN__SSP3_SCK */
|
0x0181 /* MX28_PAD_GPMI_RDN__SSP3_SCK */
|
||||||
0x01c1 /* MX28_PAD_GPMI_RESETN__SSP3_CMD */
|
0x01c1 /* MX28_PAD_GPMI_RESETN__SSP3_CMD */
|
||||||
|
0x0111 /* MX28_PAD_GPMI_CE1N__SSP3_D3 */
|
||||||
|
0x01a2 /* MX28_PAD_GPMI_ALE__SSP3_D4 */
|
||||||
>;
|
>;
|
||||||
fsl,drive-strength = <1>;
|
fsl,drive-strength = <1>;
|
||||||
fsl,voltage = <1>;
|
fsl,voltage = <1>;
|
||||||
|
@ -39,6 +41,25 @@ ssp3: ssp@80016000 {
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&spi3_pins_cfa10049>;
|
pinctrl-0 = <&spi3_pins_cfa10049>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
gpio5: gpio5@0 {
|
||||||
|
compatible = "fairchild,74hc595";
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
reg = <0>;
|
||||||
|
registers-number = <2>;
|
||||||
|
spi-max-frequency = <100000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
gpio6: gpio6@1 {
|
||||||
|
compatible = "fairchild,74hc595";
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
reg = <1>;
|
||||||
|
registers-number = <4>;
|
||||||
|
spi-max-frequency = <100000>;
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue