dts: atmel: add spi node for arduino due
Add SPI0 node and associated pincontrols in Arduino Due device tree. Signed-off-by: Eve Redero <eve.redero@gmail.com>
This commit is contained in:
parent
6f33793b41
commit
97ee3e8894
3 changed files with 35 additions and 0 deletions
|
@ -53,6 +53,14 @@
|
|||
};
|
||||
};
|
||||
|
||||
spi0_default: spi0_default {
|
||||
group1 {
|
||||
pinmux = <PA25A_SPI0_MISO>,
|
||||
<PA26A_SPI0_MOSI>,
|
||||
<PA27A_SPI0_SPCK>;
|
||||
};
|
||||
};
|
||||
|
||||
pwm0_default: pwm0_default {
|
||||
group1 {
|
||||
pinmux = <PC4B_PWM_PWML1>,
|
||||
|
|
|
@ -58,6 +58,13 @@
|
|||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&spi0_default>;
|
||||
pinctrl-names = "default";
|
||||
cs-gpios = <&pioa 28 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
&uart {
|
||||
status = "okay";
|
||||
current-speed = <115200>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue