Fabio Estevam | 07a4b46 | 2018-11-25 18:02:45 -0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | // |
| 3 | // Copyright (C) 2015 Freescale Semiconductor, Inc. |
Peter Chen | 1bb733f | 2015-02-26 16:28:29 +0800 | [diff] [blame] | 4 | |
| 5 | #include "imx6sx-sdb.dtsi" |
| 6 | |
| 7 | / { |
| 8 | model = "Freescale i.MX6 SoloX SDB RevA Board"; |
| 9 | }; |
| 10 | |
| 11 | &i2c1 { |
| 12 | clock-frequency = <100000>; |
| 13 | pinctrl-names = "default"; |
| 14 | pinctrl-0 = <&pinctrl_i2c1>; |
| 15 | status = "okay"; |
| 16 | |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 17 | pmic: pfuze100@8 { |
Peter Chen | 1bb733f | 2015-02-26 16:28:29 +0800 | [diff] [blame] | 18 | compatible = "fsl,pfuze100"; |
| 19 | reg = <0x08>; |
| 20 | |
| 21 | regulators { |
| 22 | sw1a_reg: sw1ab { |
| 23 | regulator-min-microvolt = <300000>; |
| 24 | regulator-max-microvolt = <1875000>; |
| 25 | regulator-boot-on; |
| 26 | regulator-always-on; |
| 27 | regulator-ramp-delay = <6250>; |
| 28 | }; |
| 29 | |
| 30 | sw1c_reg: sw1c { |
| 31 | regulator-min-microvolt = <300000>; |
| 32 | regulator-max-microvolt = <1875000>; |
| 33 | regulator-boot-on; |
| 34 | regulator-always-on; |
| 35 | regulator-ramp-delay = <6250>; |
| 36 | }; |
| 37 | |
| 38 | sw2_reg: sw2 { |
| 39 | regulator-min-microvolt = <800000>; |
| 40 | regulator-max-microvolt = <3300000>; |
| 41 | regulator-boot-on; |
| 42 | regulator-always-on; |
| 43 | }; |
| 44 | |
| 45 | sw3a_reg: sw3a { |
| 46 | regulator-min-microvolt = <400000>; |
| 47 | regulator-max-microvolt = <1975000>; |
| 48 | regulator-boot-on; |
| 49 | regulator-always-on; |
| 50 | }; |
| 51 | |
| 52 | sw3b_reg: sw3b { |
| 53 | regulator-min-microvolt = <400000>; |
| 54 | regulator-max-microvolt = <1975000>; |
| 55 | regulator-boot-on; |
| 56 | regulator-always-on; |
| 57 | }; |
| 58 | |
| 59 | sw4_reg: sw4 { |
| 60 | regulator-min-microvolt = <800000>; |
| 61 | regulator-max-microvolt = <3300000>; |
Anson Huang | 4de4238 | 2018-07-17 13:12:03 +0800 | [diff] [blame] | 62 | regulator-always-on; |
Peter Chen | 1bb733f | 2015-02-26 16:28:29 +0800 | [diff] [blame] | 63 | }; |
| 64 | |
| 65 | swbst_reg: swbst { |
| 66 | regulator-min-microvolt = <5000000>; |
| 67 | regulator-max-microvolt = <5150000>; |
| 68 | }; |
| 69 | |
| 70 | snvs_reg: vsnvs { |
| 71 | regulator-min-microvolt = <1000000>; |
| 72 | regulator-max-microvolt = <3000000>; |
| 73 | regulator-boot-on; |
| 74 | regulator-always-on; |
| 75 | }; |
| 76 | |
| 77 | vref_reg: vrefddr { |
| 78 | regulator-boot-on; |
| 79 | regulator-always-on; |
| 80 | }; |
| 81 | |
| 82 | vgen1_reg: vgen1 { |
| 83 | regulator-min-microvolt = <800000>; |
| 84 | regulator-max-microvolt = <1550000>; |
| 85 | regulator-always-on; |
| 86 | }; |
| 87 | |
| 88 | vgen2_reg: vgen2 { |
| 89 | regulator-min-microvolt = <800000>; |
| 90 | regulator-max-microvolt = <1550000>; |
| 91 | }; |
| 92 | |
| 93 | vgen3_reg: vgen3 { |
| 94 | regulator-min-microvolt = <1800000>; |
| 95 | regulator-max-microvolt = <3300000>; |
| 96 | regulator-always-on; |
| 97 | }; |
| 98 | |
| 99 | vgen4_reg: vgen4 { |
| 100 | regulator-min-microvolt = <1800000>; |
| 101 | regulator-max-microvolt = <3300000>; |
| 102 | regulator-always-on; |
| 103 | }; |
| 104 | |
| 105 | vgen5_reg: vgen5 { |
| 106 | regulator-min-microvolt = <1800000>; |
| 107 | regulator-max-microvolt = <3300000>; |
| 108 | regulator-always-on; |
| 109 | }; |
| 110 | |
| 111 | vgen6_reg: vgen6 { |
| 112 | regulator-min-microvolt = <1800000>; |
| 113 | regulator-max-microvolt = <3300000>; |
| 114 | regulator-always-on; |
| 115 | }; |
| 116 | }; |
| 117 | }; |
| 118 | }; |
| 119 | |
| 120 | &qspi2 { |
| 121 | pinctrl-names = "default"; |
| 122 | pinctrl-0 = <&pinctrl_qspi2>; |
| 123 | status = "okay"; |
| 124 | |
| 125 | flash0: s25fl128s@0 { |
| 126 | reg = <0>; |
| 127 | #address-cells = <1>; |
| 128 | #size-cells = <1>; |
Rafał Miłecki | 79826ac | 2015-08-16 08:39:17 +0200 | [diff] [blame] | 129 | compatible = "spansion,s25fl128s", "jedec,spi-nor"; |
Peter Chen | 1bb733f | 2015-02-26 16:28:29 +0800 | [diff] [blame] | 130 | spi-max-frequency = <66000000>; |
Frieder Schrempf | 4f15a4e | 2018-12-10 16:28:50 +0000 | [diff] [blame] | 131 | spi-rx-bus-width = <4>; |
| 132 | spi-tx-bus-width = <4>; |
Peter Chen | 1bb733f | 2015-02-26 16:28:29 +0800 | [diff] [blame] | 133 | }; |
| 134 | |
Frieder Schrempf | 00b79b0 | 2018-12-10 16:28:49 +0000 | [diff] [blame] | 135 | flash1: s25fl128s@2 { |
| 136 | reg = <2>; |
Peter Chen | 1bb733f | 2015-02-26 16:28:29 +0800 | [diff] [blame] | 137 | #address-cells = <1>; |
| 138 | #size-cells = <1>; |
Rafał Miłecki | 79826ac | 2015-08-16 08:39:17 +0200 | [diff] [blame] | 139 | compatible = "spansion,s25fl128s", "jedec,spi-nor"; |
Peter Chen | 1bb733f | 2015-02-26 16:28:29 +0800 | [diff] [blame] | 140 | spi-max-frequency = <66000000>; |
Frieder Schrempf | 4f15a4e | 2018-12-10 16:28:50 +0000 | [diff] [blame] | 141 | spi-rx-bus-width = <4>; |
| 142 | spi-tx-bus-width = <4>; |
Peter Chen | 1bb733f | 2015-02-26 16:28:29 +0800 | [diff] [blame] | 143 | }; |
| 144 | }; |
Aisheng Dong | 88dddae | 2018-11-28 11:03:48 +0000 | [diff] [blame] | 145 | |
| 146 | ®_can_en { |
| 147 | /* Transceiver EN/STBY is active high on RevA board */ |
| 148 | gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>; |
| 149 | enable-active-high; |
| 150 | }; |
| 151 | |
| 152 | ®_can_stby { |
| 153 | gpio = <&gpio4 27 GPIO_ACTIVE_HIGH>; |
| 154 | enable-active-high; |
| 155 | vin-supply = <®_can_en>; |
| 156 | }; |
Anson Huang | 37a4bde | 2019-05-12 09:57:35 +0000 | [diff] [blame] | 157 | |
| 158 | ®_vdd1p1 { |
| 159 | vin-supply = <&vgen6_reg>; |
| 160 | }; |
| 161 | |
Anson Huang | 37a4bde | 2019-05-12 09:57:35 +0000 | [diff] [blame] | 162 | ®_vdd2p5 { |
| 163 | vin-supply = <&vgen6_reg>; |
| 164 | }; |
Anson Huang | ee27958 | 2019-06-13 11:35:23 +0800 | [diff] [blame] | 165 | |
| 166 | &snvs_pwrkey { |
| 167 | status = "okay"; |
| 168 | }; |