| .. | .. |
|---|
| 49 | 49 | |
|---|
| 50 | 50 | / { |
|---|
| 51 | 51 | model = "ICnova-A20 SWAC"; |
|---|
| 52 | | - compatible = "swac,icnova-a20-swac", "incircuit,icnova-a20", "allwinner,sun7i-a20"; |
|---|
| 52 | + compatible = "incircuit,icnova-a20-swac", "incircuit,icnova-a20", |
|---|
| 53 | + "allwinner,sun7i-a20"; |
|---|
| 53 | 54 | |
|---|
| 54 | 55 | aliases { |
|---|
| 55 | 56 | serial0 = &uart0; |
|---|
| .. | .. |
|---|
| 74 | 75 | |
|---|
| 75 | 76 | &gmac { |
|---|
| 76 | 77 | pinctrl-names = "default"; |
|---|
| 77 | | - pinctrl-0 = <&gmac_pins_mii_a>; |
|---|
| 78 | | - phy = <&phy1>; |
|---|
| 78 | + pinctrl-0 = <&gmac_mii_pins>; |
|---|
| 79 | + phy-handle = <&phy1>; |
|---|
| 79 | 80 | phy-mode = "mii"; |
|---|
| 80 | 81 | status = "okay"; |
|---|
| 81 | | - |
|---|
| 82 | | - phy1: ethernet-phy@1 { |
|---|
| 83 | | - reg = <1>; |
|---|
| 84 | | - }; |
|---|
| 85 | 82 | }; |
|---|
| 86 | 83 | |
|---|
| 87 | 84 | &i2c0 { |
|---|
| 88 | | - pinctrl-names = "default"; |
|---|
| 89 | | - pinctrl-0 = <&i2c0_pins_a>; |
|---|
| 90 | 85 | status = "okay"; |
|---|
| 91 | 86 | |
|---|
| 92 | 87 | axp209: pmic@34 { |
|---|
| .. | .. |
|---|
| 97 | 92 | }; |
|---|
| 98 | 93 | |
|---|
| 99 | 94 | &i2c1 { |
|---|
| 100 | | - pinctrl-names = "default"; |
|---|
| 101 | | - pinctrl-0 = <&i2c1_pins_a>; |
|---|
| 102 | 95 | status = "okay"; |
|---|
| 103 | 96 | }; |
|---|
| 104 | 97 | |
|---|
| 98 | +&gmac_mdio { |
|---|
| 99 | + phy1: ethernet-phy@1 { |
|---|
| 100 | + reg = <1>; |
|---|
| 101 | + }; |
|---|
| 102 | +}; |
|---|
| 103 | + |
|---|
| 105 | 104 | &mmc0 { |
|---|
| 106 | | - pinctrl-names = "default"; |
|---|
| 107 | | - pinctrl-0 = <&mmc0_pins_a>; |
|---|
| 108 | 105 | vmmc-supply = <®_vcc3v3>; |
|---|
| 109 | 106 | bus-width = <4>; |
|---|
| 110 | 107 | cd-gpios = <&pio 8 5 GPIO_ACTIVE_LOW>; /* PI5 */ |
|---|
| .. | .. |
|---|
| 156 | 153 | |
|---|
| 157 | 154 | &uart0 { |
|---|
| 158 | 155 | pinctrl-names = "default"; |
|---|
| 159 | | - pinctrl-0 = <&uart0_pins_a>; |
|---|
| 156 | + pinctrl-0 = <&uart0_pb_pins>; |
|---|
| 160 | 157 | status = "okay"; |
|---|
| 161 | 158 | }; |
|---|
| 162 | 159 | |
|---|