Peng Fan | 220e887 | 2018-01-02 09:32:04 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2015 Freescale Semiconductor, Inc. |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 as |
| 6 | * published by the Free Software Foundation. |
| 7 | */ |
| 8 | |
| 9 | #include "imx6sx-sdb.dtsi" |
| 10 | |
| 11 | / { |
| 12 | model = "Freescale i.MX6 SoloX SDB RevB Board"; |
| 13 | }; |
| 14 | |
| 15 | &i2c1 { |
| 16 | clock-frequency = <100000>; |
| 17 | pinctrl-names = "default"; |
| 18 | pinctrl-0 = <&pinctrl_i2c1>; |
| 19 | status = "okay"; |
| 20 | |
| 21 | pmic: pfuze100@8 { |
| 22 | compatible = "fsl,pfuze200"; |
| 23 | reg = <0x08>; |
| 24 | |
| 25 | regulators { |
| 26 | sw1a_reg: sw1ab { |
| 27 | regulator-min-microvolt = <300000>; |
| 28 | regulator-max-microvolt = <1875000>; |
| 29 | regulator-boot-on; |
| 30 | regulator-always-on; |
| 31 | regulator-ramp-delay = <6250>; |
| 32 | }; |
| 33 | |
| 34 | sw2_reg: sw2 { |
| 35 | regulator-min-microvolt = <800000>; |
| 36 | regulator-max-microvolt = <3300000>; |
| 37 | regulator-boot-on; |
| 38 | regulator-always-on; |
| 39 | }; |
| 40 | |
| 41 | sw3a_reg: sw3a { |
| 42 | regulator-min-microvolt = <400000>; |
| 43 | regulator-max-microvolt = <1975000>; |
| 44 | regulator-boot-on; |
| 45 | regulator-always-on; |
| 46 | }; |
| 47 | |
| 48 | sw3b_reg: sw3b { |
| 49 | regulator-min-microvolt = <400000>; |
| 50 | regulator-max-microvolt = <1975000>; |
| 51 | regulator-boot-on; |
| 52 | regulator-always-on; |
| 53 | }; |
| 54 | |
| 55 | swbst_reg: swbst { |
| 56 | regulator-min-microvolt = <5000000>; |
| 57 | regulator-max-microvolt = <5150000>; |
| 58 | }; |
| 59 | |
| 60 | snvs_reg: vsnvs { |
| 61 | regulator-min-microvolt = <1000000>; |
| 62 | regulator-max-microvolt = <3000000>; |
| 63 | regulator-boot-on; |
| 64 | regulator-always-on; |
| 65 | }; |
| 66 | |
| 67 | vref_reg: vrefddr { |
| 68 | regulator-boot-on; |
| 69 | regulator-always-on; |
| 70 | }; |
| 71 | |
| 72 | vgen1_reg: vgen1 { |
| 73 | regulator-min-microvolt = <800000>; |
| 74 | regulator-max-microvolt = <1550000>; |
| 75 | regulator-always-on; |
| 76 | }; |
| 77 | |
| 78 | vgen2_reg: vgen2 { |
| 79 | regulator-min-microvolt = <800000>; |
| 80 | regulator-max-microvolt = <1550000>; |
| 81 | }; |
| 82 | |
| 83 | vgen3_reg: vgen3 { |
| 84 | regulator-min-microvolt = <1800000>; |
| 85 | regulator-max-microvolt = <3300000>; |
| 86 | regulator-always-on; |
| 87 | }; |
| 88 | |
| 89 | vgen4_reg: vgen4 { |
| 90 | regulator-min-microvolt = <1800000>; |
| 91 | regulator-max-microvolt = <3300000>; |
| 92 | regulator-always-on; |
| 93 | }; |
| 94 | |
| 95 | vgen5_reg: vgen5 { |
| 96 | regulator-min-microvolt = <1800000>; |
| 97 | regulator-max-microvolt = <3300000>; |
| 98 | regulator-always-on; |
| 99 | }; |
| 100 | |
| 101 | vgen6_reg: vgen6 { |
| 102 | regulator-min-microvolt = <1800000>; |
| 103 | regulator-max-microvolt = <3300000>; |
| 104 | regulator-always-on; |
| 105 | }; |
| 106 | }; |
| 107 | }; |
| 108 | }; |
| 109 | |
| 110 | &qspi2 { |
| 111 | pinctrl-names = "default"; |
| 112 | pinctrl-0 = <&pinctrl_qspi2>; |
| 113 | status = "okay"; |
| 114 | |
| 115 | flash0: n25q256a@0 { |
| 116 | #address-cells = <1>; |
| 117 | #size-cells = <1>; |
| 118 | compatible = "micron,n25q256a", "jedec,spi-nor"; |
| 119 | spi-max-frequency = <29000000>; |
| 120 | reg = <0>; |
| 121 | }; |
| 122 | |
| 123 | flash1: n25q256a@1 { |
| 124 | #address-cells = <1>; |
| 125 | #size-cells = <1>; |
| 126 | compatible = "micron,n25q256a", "jedec,spi-nor"; |
| 127 | spi-max-frequency = <29000000>; |
| 128 | reg = <1>; |
| 129 | }; |
| 130 | }; |
| 131 | |
| 132 | ®_arm { |
| 133 | vin-supply = <&sw1a_reg>; |
| 134 | }; |
| 135 | |
| 136 | ®_soc { |
| 137 | vin-supply = <&sw1a_reg>; |
| 138 | }; |