Boolean properties in DT are present or not present and don't take a value. A property such as 'foo = <0>;' evaluated to true. IOW, the value doesn't matter. It may have been intended that 0 values are false, but there is no change in behavior with this patch. Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Cc: Krzysztof Kozlowski <krzk+dt@kernel.org> Cc: Nicolas Ferre <nicolas.ferre@microchip.com> Cc: Alexandre Belloni <alexandre.belloni@bootlin.com> Cc: Claudiu Beznea <claudiu.beznea@microchip.com> Cc: Shawn Guo <shawnguo@kernel.org> Cc: Sascha Hauer <s.hauer@pengutronix.de> Cc: Pengutronix Kernel Team <kernel@pengutronix.de> Cc: Fabio Estevam <festevam@gmail.com> Cc: NXP Linux Team <linux-imx@nxp.com> Cc: "Benoît Cousson" <bcousson@baylibre.com> Cc: Tony Lindgren <tony@atomide.com> Cc: Andy Gross <agross@kernel.org> Cc: Bjorn Andersson <bjorn.andersson@linaro.org> Cc: linux-arm-kernel@lists.infradead.org Cc: linux-omap@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org Link: https://lore.kernel.org/r/20220407225107.2175958-1-robh@kernel.org' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
74 lines
1.5 KiB
Text
74 lines
1.5 KiB
Text
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
/*
|
|
* Copyright (C) 2016 Savoir-Faire Linux
|
|
* Author: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "imx28.dtsi"
|
|
#include "dt-bindings/gpio/gpio.h"
|
|
|
|
/ {
|
|
|
|
model = "Technologic Systems i.MX28 TS-4600";
|
|
compatible = "technologic,imx28-ts4600", "fsl,imx28";
|
|
|
|
memory@40000000 {
|
|
device_type = "memory";
|
|
reg = <0x40000000 0x10000000>; /* 256MB */
|
|
};
|
|
|
|
apb@80000000 {
|
|
apbh@80000000 {
|
|
ssp0: spi@80010000 {
|
|
compatible = "fsl,imx28-mmc";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&mmc0_4bit_pins_a
|
|
&mmc0_sck_cfg
|
|
&en_sd_pwr>;
|
|
broken-cd;
|
|
bus-width = <4>;
|
|
vmmc-supply = <®_vddio_sd0>;
|
|
status = "okay";
|
|
};
|
|
|
|
pinctrl@80018000 {
|
|
|
|
en_sd_pwr: en-sd-pwr@0 {
|
|
reg = <0>;
|
|
fsl,pinmux-ids = <
|
|
MX28_PAD_PWM3__GPIO_3_28
|
|
>;
|
|
fsl,drive-strength = <MXS_DRIVE_4mA>;
|
|
fsl,voltage = <MXS_VOLTAGE_HIGH>;
|
|
fsl,pull-up = <MXS_PULL_DISABLE>;
|
|
};
|
|
|
|
};
|
|
};
|
|
|
|
apbx@80040000 {
|
|
pwm: pwm@80064000 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pwm2_pins_a>;
|
|
status = "okay";
|
|
};
|
|
|
|
duart: serial@80074000 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&duart_pins_a>;
|
|
status = "okay";
|
|
};
|
|
};
|
|
};
|
|
|
|
reg_vddio_sd0: regulator-vddio-sd0 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vddio-sd0";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-boot-on;
|
|
gpio = <&gpio3 28 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
};
|