File tree Expand file tree Collapse file tree 3 files changed +35
-0
lines changed Expand file tree Collapse file tree 3 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 53
53
};
54
54
};
55
55
56
+ spi0_default: spi0_default {
57
+ group1 {
58
+ pinmux = <PA25A_SPI0_MISO>,
59
+ <PA26A_SPI0_MOSI>,
60
+ <PA27A_SPI0_SPCK>;
61
+ };
62
+ };
63
+
56
64
pwm0_default: pwm0_default {
57
65
group1 {
58
66
pinmux = <PC4B_PWM_PWML1>,
Original file line number Diff line number Diff line change 58
58
pinctrl-names = "default";
59
59
};
60
60
61
+ &spi0 {
62
+ status = "okay";
63
+ pinctrl-0 = <&spi0_default>;
64
+ pinctrl-names = "default";
65
+ cs-gpios = <&pioa 28 GPIO_ACTIVE_LOW>;
66
+ };
67
+
61
68
&uart {
62
69
status = "okay";
63
70
current-speed = <115200>;
Original file line number Diff line number Diff line change 50
50
reg = <0x20070000 0x18000>;
51
51
};
52
52
53
+ spi0: spi@40008000 {
54
+ compatible = "atmel,sam-spi";
55
+ #address-cells = <1>;
56
+ #size-cells = <0>;
57
+ reg = <0x40008000 0x4000>;
58
+ interrupts = <24 0>;
59
+ clocks = <&pmc PMC_TYPE_PERIPHERAL 24>;
60
+ status = "disabled";
61
+ };
62
+
63
+ spi1: spi@4000c000 {
64
+ compatible = "atmel,sam-spi";
65
+ #address-cells = <1>;
66
+ #size-cells = <0>;
67
+ reg = <0x4000c000 0x4000>;
68
+ interrupts = <25 0>;
69
+ clocks = <&pmc PMC_TYPE_PERIPHERAL 25>;
70
+ status = "disabled";
71
+ };
72
+
53
73
/* Only used for HWINFO device ID */
54
74
eefc: flash-controller@400e0a00 {
55
75
compatible = "atmel,sam-flash-controller";
You can’t perform that action at this time.
0 commit comments