Linux Audio

Check our new training course

Loading...
v4.17
  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&reg_arm {
133	vin-supply = <&sw1a_reg>;
134};
135
136&reg_soc {
137	vin-supply = <&sw1a_reg>;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
138};
v5.4
  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 RevB 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,pfuze200";
 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			sw2_reg: sw2 {
 31				regulator-min-microvolt = <800000>;
 32				regulator-max-microvolt = <3300000>;
 33				regulator-boot-on;
 34				regulator-always-on;
 35			};
 36
 37			sw3a_reg: sw3a {
 38				regulator-min-microvolt = <400000>;
 39				regulator-max-microvolt = <1975000>;
 40				regulator-boot-on;
 41				regulator-always-on;
 42			};
 43
 44			sw3b_reg: sw3b {
 45				regulator-min-microvolt = <400000>;
 46				regulator-max-microvolt = <1975000>;
 47				regulator-boot-on;
 48				regulator-always-on;
 49			};
 50
 51			swbst_reg: swbst {
 52				regulator-min-microvolt = <5000000>;
 53				regulator-max-microvolt = <5150000>;
 54			};
 55
 56			snvs_reg: vsnvs {
 57				regulator-min-microvolt = <1000000>;
 58				regulator-max-microvolt = <3000000>;
 59				regulator-boot-on;
 60				regulator-always-on;
 61			};
 62
 63			vref_reg: vrefddr {
 64				regulator-boot-on;
 65				regulator-always-on;
 66			};
 67
 68			vgen1_reg: vgen1 {
 69				regulator-min-microvolt = <800000>;
 70				regulator-max-microvolt = <1550000>;
 71				regulator-always-on;
 72			};
 73
 74			vgen2_reg: vgen2 {
 75				regulator-min-microvolt = <800000>;
 76				regulator-max-microvolt = <1550000>;
 77			};
 78
 79			vgen3_reg: vgen3 {
 80				regulator-min-microvolt = <1800000>;
 81				regulator-max-microvolt = <3300000>;
 82				regulator-always-on;
 83			};
 84
 85			vgen4_reg: vgen4 {
 86				regulator-min-microvolt = <1800000>;
 87				regulator-max-microvolt = <3300000>;
 88				regulator-always-on;
 89			};
 90
 91			vgen5_reg: vgen5 {
 92				regulator-min-microvolt = <1800000>;
 93				regulator-max-microvolt = <3300000>;
 94				regulator-always-on;
 95			};
 96
 97			vgen6_reg: vgen6 {
 98				regulator-min-microvolt = <1800000>;
 99				regulator-max-microvolt = <3300000>;
100				regulator-always-on;
101			};
102		};
103	};
104};
105
106&qspi2 {
107	pinctrl-names = "default";
108	pinctrl-0 = <&pinctrl_qspi2>;
109	status = "okay";
110
111	flash0: n25q256a@0 {
112		#address-cells = <1>;
113		#size-cells = <1>;
114		compatible = "micron,n25q256a", "jedec,spi-nor";
115		spi-max-frequency = <29000000>;
116		spi-rx-bus-width = <4>;
117		spi-tx-bus-width = <4>;
118		reg = <0>;
119	};
120
121	flash1: n25q256a@2 {
122		#address-cells = <1>;
123		#size-cells = <1>;
124		compatible = "micron,n25q256a", "jedec,spi-nor";
125		spi-max-frequency = <29000000>;
126		spi-rx-bus-width = <4>;
127		spi-tx-bus-width = <4>;
128		reg = <2>;
129	};
130};
131
132&reg_arm {
133	vin-supply = <&sw1a_reg>;
134};
135
136&reg_soc {
137	vin-supply = <&sw1a_reg>;
138};
139
140&reg_vdd1p1 {
141	vin-supply = <&vgen6_reg>;
142};
143
144&reg_vdd3p0 {
145	vin-supply = <&sw2_reg>;
146};
147
148&reg_vdd2p5 {
149	vin-supply = <&vgen6_reg>;
150};
151
152&reg_can_stby {
153	/* Transceiver EN/STBY is active low on RevB board */
154	gpio = <&gpio4 27 GPIO_ACTIVE_LOW>;
155};
156
157&snvs_pwrkey {
158	status = "okay";
159};