|
31 | 31 | }; |
32 | 32 | }; |
33 | 33 |
|
34 | | - ssi: spi-gpio { |
35 | | - compatible = "spi-gpio"; |
36 | | - #address-cells = <1>; |
37 | | - #size-cells = <0>; |
38 | | - num-chipselects = <1>; |
39 | | - |
40 | | - mosi-gpios = <&gpd 2 GPIO_ACTIVE_HIGH>; |
41 | | - miso-gpios = <&gpd 3 GPIO_ACTIVE_HIGH>; |
42 | | - sck-gpios = <&gpd 0 GPIO_ACTIVE_HIGH>; |
43 | | - cs-gpios = <&gpd 1 GPIO_ACTIVE_HIGH>; |
44 | | - |
45 | | - status = "okay"; |
46 | | - |
47 | | - spi-max-frequency = <50000000>; |
48 | | - |
49 | | - sc16is752: expander@0 { |
50 | | - compatible = "nxp,sc16is752"; |
51 | | - reg = <0>; /* CE0 */ |
52 | | - spi-max-frequency = <4000000>; |
53 | | - |
54 | | - clocks = <&exclk_sc16is752>; |
55 | | - |
56 | | - interrupt-parent = <&gpc>; |
57 | | - interrupts = <6 IRQ_TYPE_EDGE_FALLING>; |
58 | | - |
59 | | - gpio-controller; |
60 | | - #gpio-cells = <2>; |
61 | | - |
62 | | - exclk_sc16is752: sc16is752 { |
63 | | - compatible = "fixed-clock"; |
64 | | - #clock-cells = <0>; |
65 | | - clock-frequency = <48000000>; |
66 | | - }; |
67 | | - }; |
68 | | - }; |
69 | | - |
70 | 34 | wlan_pwrseq: msc1-pwrseq { |
71 | 35 | compatible = "mmc-pwrseq-simple"; |
72 | 36 |
|
|
90 | 54 |
|
91 | 55 | &ost { |
92 | 56 | /* 1500 kHz for the system timer and clocksource */ |
93 | | - assigned-clocks = <&ost OST_CLK_PERCPU_TIMER>, <&ost OST_CLK_GLOBAL_TIMER>; |
| 57 | + assigned-clocks = <&ost OST_CLK_EVENT_TIMER>, <&ost OST_CLK_GLOBAL_TIMER>; |
94 | 58 | assigned-clock-rates = <1500000>, <1500000>; |
95 | 59 | }; |
96 | 60 |
|
|
101 | 65 | pinctrl-0 = <&pins_uart2>; |
102 | 66 | }; |
103 | 67 |
|
| 68 | +&ssi { |
| 69 | + status = "okay"; |
| 70 | + |
| 71 | + num-cs = <2>; |
| 72 | + cs-gpios = <0>, <&gpc 20 GPIO_ACTIVE_LOW>; |
| 73 | + |
| 74 | + pinctrl-names = "default"; |
| 75 | + pinctrl-0 = <&pins_ssi>; |
| 76 | + |
| 77 | + sc16is752: expander@0 { |
| 78 | + compatible = "nxp,sc16is752"; |
| 79 | + reg = <0>; /* CE0 */ |
| 80 | + |
| 81 | + spi-rx-bus-width = <1>; |
| 82 | + spi-tx-bus-width = <1>; |
| 83 | + spi-max-frequency = <4000000>; |
| 84 | + |
| 85 | + clocks = <&exclk_sc16is752>; |
| 86 | + |
| 87 | + interrupt-parent = <&gpc>; |
| 88 | + interrupts = <6 IRQ_TYPE_EDGE_FALLING>; |
| 89 | + |
| 90 | + gpio-controller; |
| 91 | + #gpio-cells = <2>; |
| 92 | + |
| 93 | + exclk_sc16is752: sc16is752 { |
| 94 | + compatible = "fixed-clock"; |
| 95 | + #clock-cells = <0>; |
| 96 | + clock-frequency = <48000000>; |
| 97 | + }; |
| 98 | + }; |
| 99 | +}; |
| 100 | + |
104 | 101 | &i2c0 { |
105 | 102 | status = "okay"; |
106 | 103 |
|
|
192 | 189 | bias-pull-up; |
193 | 190 | }; |
194 | 191 |
|
| 192 | + pins_ssi: ssi { |
| 193 | + function = "ssi"; |
| 194 | + groups = "ssi-dt-d", "ssi-dr-d", "ssi-clk-d", "ssi-ce0-d"; |
| 195 | + bias-disable; |
| 196 | + }; |
| 197 | + |
195 | 198 | pins_i2c0: i2c0 { |
196 | 199 | function = "i2c0"; |
197 | 200 | groups = "i2c0-data"; |
|
0 commit comments