| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0 | 
 | 2 | // | 
 | 3 | // Copyright (C) 2015 Freescale Semiconductor, Inc. | 
 | 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 |  | 
 | 17 | 	pmic: pfuze100@8 { | 
 | 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>; | 
 | 62 | 				regulator-always-on; | 
 | 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>; | 
 | 129 | 		compatible = "spansion,s25fl128s", "jedec,spi-nor"; | 
 | 130 | 		spi-max-frequency = <66000000>; | 
 | 131 | 		spi-rx-bus-width = <4>; | 
 | 132 | 		spi-tx-bus-width = <4>; | 
 | 133 | 	}; | 
 | 134 |  | 
 | 135 | 	flash1: s25fl128s@2 { | 
 | 136 | 		reg = <2>; | 
 | 137 | 		#address-cells = <1>; | 
 | 138 | 		#size-cells = <1>; | 
 | 139 | 		compatible = "spansion,s25fl128s", "jedec,spi-nor"; | 
 | 140 | 		spi-max-frequency = <66000000>; | 
 | 141 | 		spi-rx-bus-width = <4>; | 
 | 142 | 		spi-tx-bus-width = <4>; | 
 | 143 | 	}; | 
 | 144 | }; | 
 | 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 | }; | 
 | 157 |  | 
 | 158 | ®_vdd1p1 { | 
 | 159 | 	vin-supply = <&vgen6_reg>; | 
 | 160 | }; | 
 | 161 |  | 
 | 162 | ®_vdd2p5 { | 
 | 163 | 	vin-supply = <&vgen6_reg>; | 
 | 164 | }; | 
 | 165 |  | 
 | 166 | &snvs_pwrkey { | 
 | 167 | 	status = "okay"; | 
 | 168 | }; |