Linux Audio

Check our new training course

Embedded Linux training

Mar 31-Apr 8, 2025
Register
Loading...
v4.17
 
 1/*
 2 * Copyright (C) 2016 Savoir-Faire Linux
 3 * Author: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
 4 *
 5 * The code contained herein is licensed under the GNU General Public
 6 * License. You may obtain a copy of the GNU General Public License
 7 * Version 2 or later at the following locations:
 8 *
 9 * http://www.opensource.org/licenses/gpl-license.html
10 * http://www.gnu.org/copyleft/gpl.html
11 */
12
13/dts-v1/;
14#include "imx28.dtsi"
15#include "dt-bindings/gpio/gpio.h"
16
17/ {
18
19	model = "Technologic Systems i.MX28 TS-4600";
20	compatible = "technologic,imx28-ts4600", "fsl,imx28";
21
22	memory@40000000 {
 
23		reg = <0x40000000 0x10000000>;   /* 256MB */
24	};
25
26	apb@80000000 {
27		apbh@80000000 {
28			ssp0: ssp@80010000 {
29				compatible = "fsl,imx28-mmc";
30				pinctrl-names = "default";
31				pinctrl-0 = <&mmc0_4bit_pins_a
32					     &mmc0_sck_cfg
33					     &en_sd_pwr>;
34				broken-cd = <1>;
35				bus-width = <4>;
36				vmmc-supply = <&reg_vddio_sd0>;
37				status = "okay";
38			};
39
40			pinctrl@80018000 {
41
42				en_sd_pwr: en-sd-pwr@0 {
43					reg = <0>;
44					fsl,pinmux-ids = <
45						MX28_PAD_PWM3__GPIO_3_28
46					>;
47					fsl,drive-strength = <MXS_DRIVE_4mA>;
48					fsl,voltage = <MXS_VOLTAGE_HIGH>;
49					fsl,pull-up = <MXS_PULL_DISABLE>;
50				};
51
52			};
53		};
54
55		apbx@80040000 {
56			pwm: pwm@80064000 {
57				pinctrl-names = "default";
58				pinctrl-0 = <&pwm2_pins_a>;
59				status = "okay";
60			};
61
62			duart: serial@80074000 {
63				pinctrl-names = "default";
64				pinctrl-0 = <&duart_pins_a>;
65				status = "okay";
66			};
67		};
68	};
69
70	reg_vddio_sd0: regulator-vddio-sd0 {
71		compatible = "regulator-fixed";
72		regulator-name = "vddio-sd0";
73		regulator-min-microvolt = <3300000>;
74		regulator-max-microvolt = <3300000>;
75		regulator-boot-on;
76		gpio = <&gpio3 28 GPIO_ACTIVE_LOW>;
77	};
78
79};
v5.9
 1// SPDX-License-Identifier: GPL-2.0-or-later
 2/*
 3 * Copyright (C) 2016 Savoir-Faire Linux
 4 * Author: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
 
 
 
 
 
 
 
 5 */
 6
 7/dts-v1/;
 8#include "imx28.dtsi"
 9#include "dt-bindings/gpio/gpio.h"
10
11/ {
12
13	model = "Technologic Systems i.MX28 TS-4600";
14	compatible = "technologic,imx28-ts4600", "fsl,imx28";
15
16	memory@40000000 {
17		device_type = "memory";
18		reg = <0x40000000 0x10000000>;   /* 256MB */
19	};
20
21	apb@80000000 {
22		apbh@80000000 {
23			ssp0: spi@80010000 {
24				compatible = "fsl,imx28-mmc";
25				pinctrl-names = "default";
26				pinctrl-0 = <&mmc0_4bit_pins_a
27					     &mmc0_sck_cfg
28					     &en_sd_pwr>;
29				broken-cd = <1>;
30				bus-width = <4>;
31				vmmc-supply = <&reg_vddio_sd0>;
32				status = "okay";
33			};
34
35			pinctrl@80018000 {
36
37				en_sd_pwr: en-sd-pwr@0 {
38					reg = <0>;
39					fsl,pinmux-ids = <
40						MX28_PAD_PWM3__GPIO_3_28
41					>;
42					fsl,drive-strength = <MXS_DRIVE_4mA>;
43					fsl,voltage = <MXS_VOLTAGE_HIGH>;
44					fsl,pull-up = <MXS_PULL_DISABLE>;
45				};
46
47			};
48		};
49
50		apbx@80040000 {
51			pwm: pwm@80064000 {
52				pinctrl-names = "default";
53				pinctrl-0 = <&pwm2_pins_a>;
54				status = "okay";
55			};
56
57			duart: serial@80074000 {
58				pinctrl-names = "default";
59				pinctrl-0 = <&duart_pins_a>;
60				status = "okay";
61			};
62		};
63	};
64
65	reg_vddio_sd0: regulator-vddio-sd0 {
66		compatible = "regulator-fixed";
67		regulator-name = "vddio-sd0";
68		regulator-min-microvolt = <3300000>;
69		regulator-max-microvolt = <3300000>;
70		regulator-boot-on;
71		gpio = <&gpio3 28 GPIO_ACTIVE_LOW>;
72	};
73
74};