| .. | .. |
|---|
| 59 | 59 | |
|---|
| 60 | 60 | leds { |
|---|
| 61 | 61 | compatible = "gpio-leds"; |
|---|
| 62 | | - pinctrl-names = "default"; |
|---|
| 63 | | - pinctrl-0 = <&led_pins_mk802>; |
|---|
| 64 | 62 | |
|---|
| 65 | 63 | red { |
|---|
| 66 | 64 | label = "mk802:red:usr"; |
|---|
| .. | .. |
|---|
| 74 | 72 | }; |
|---|
| 75 | 73 | |
|---|
| 76 | 74 | &i2c0 { |
|---|
| 77 | | - pinctrl-names = "default"; |
|---|
| 78 | | - pinctrl-0 = <&i2c0_pins_a>; |
|---|
| 79 | 75 | status = "okay"; |
|---|
| 80 | 76 | |
|---|
| 81 | 77 | axp152: pmic@30 { |
|---|
| .. | .. |
|---|
| 88 | 84 | }; |
|---|
| 89 | 85 | |
|---|
| 90 | 86 | &mmc0 { |
|---|
| 91 | | - pinctrl-names = "default"; |
|---|
| 92 | | - pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_mk802>; |
|---|
| 93 | 87 | vmmc-supply = <®_vcc3v3>; |
|---|
| 94 | 88 | bus-width = <4>; |
|---|
| 95 | 89 | cd-gpios = <&pio 6 1 GPIO_ACTIVE_LOW>; /* PG1 */ |
|---|
| .. | .. |
|---|
| 97 | 91 | }; |
|---|
| 98 | 92 | |
|---|
| 99 | 93 | &mmc1 { |
|---|
| 100 | | - pinctrl-names = "default"; |
|---|
| 101 | | - pinctrl-0 = <&mmc1_pins_a>; |
|---|
| 102 | 94 | vmmc-supply = <®_vcc3v3>; |
|---|
| 103 | 95 | bus-width = <4>; |
|---|
| 104 | 96 | non-removable; |
|---|
| .. | .. |
|---|
| 113 | 105 | status = "okay"; |
|---|
| 114 | 106 | }; |
|---|
| 115 | 107 | |
|---|
| 116 | | -&pio { |
|---|
| 117 | | - led_pins_mk802: led_pins@0 { |
|---|
| 118 | | - pins = "PB2"; |
|---|
| 119 | | - function = "gpio_out"; |
|---|
| 120 | | - }; |
|---|
| 121 | | - |
|---|
| 122 | | - mmc0_cd_pin_mk802: mmc0_cd_pin@0 { |
|---|
| 123 | | - pins = "PG1"; |
|---|
| 124 | | - function = "gpio_in"; |
|---|
| 125 | | - bias-pull-up; |
|---|
| 126 | | - }; |
|---|
| 127 | | - |
|---|
| 128 | | - usb1_vbus_pin_mk802: usb1_vbus_pin@0 { |
|---|
| 129 | | - pins = "PB10"; |
|---|
| 130 | | - function = "gpio_out"; |
|---|
| 131 | | - }; |
|---|
| 132 | | -}; |
|---|
| 133 | | - |
|---|
| 134 | 108 | ®_usb1_vbus { |
|---|
| 135 | | - pinctrl-0 = <&usb1_vbus_pin_mk802>; |
|---|
| 136 | 109 | gpio = <&pio 1 10 GPIO_ACTIVE_HIGH>; /* PB10 */ |
|---|
| 137 | 110 | status = "okay"; |
|---|
| 138 | 111 | }; |
|---|
| 139 | 112 | |
|---|
| 140 | 113 | &uart0 { |
|---|
| 141 | 114 | pinctrl-names = "default"; |
|---|
| 142 | | - pinctrl-0 = <&uart0_pins_a>; |
|---|
| 115 | + pinctrl-0 = <&uart0_pb_pins>; |
|---|
| 143 | 116 | status = "okay"; |
|---|
| 144 | 117 | }; |
|---|
| 145 | 118 | |
|---|