Commit 36de77e3 authored by Arnd Bergmann's avatar Arnd Bergmann

Merge tag 'omap-for-v5.13/dt-v2-signed' of...

Merge tag 'omap-for-v5.13/dt-v2-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/dt

Devicetree changes for omaps for v5.13

Mostly configures addtional devices for various boards, and
updates the gpio line names for beagle boards so userspace can
optionally find the right lines:

- Use unique gpio line names for am335x-pocketbeagle

- Update omap3-echo led configuration and add ath6kl node

- Fix indentation for am3 tscadc node

- Prepare motorola-cpcap-mapphone for power supply dtbs_check_parsing

- Use unique gpio line names for am335x-boneblack.dts

* tag 'omap-for-v5.13/dt-v2-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: dts: am335x-boneblack.dts: unique gpio-line-names
  ARM: dts: motorola-cpcap-mapphone: Prepare for dtbs_check parsing
  ARM: dts: am33xx-l4: fix tscadc@0 node indentation
  ARM: dts: omap3-echo: Add ath6kl node
  ARM: dts: omap3-echo: Update LED configuration
  ARM: dts: am335x-pocketbeagle: unique gpio-line-names

Link: https://lore.kernel.org/r/pull-1617703816-65652@atomide.com-2Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parents aa1e345a ee368a10
...@@ -26,54 +26,54 @@ oppnitro-1000000000 { ...@@ -26,54 +26,54 @@ oppnitro-1000000000 {
&gpio0 { &gpio0 {
gpio-line-names = gpio-line-names =
"[ethernet]", "[mdio_data]",
"[ethernet]", "[mdio_clk]",
"P9_22 [spi0_sclk]", "P9_22 [spi0_sclk]",
"P9_21 [spi0_d0]", "P9_21 [spi0_d0]",
"P9_18 [spi0_d1]", "P9_18 [spi0_d1]",
"P9_17 [spi0_cs0]", "P9_17 [spi0_cs0]",
"[sd card]", "[mmc0_cd]",
"P9_42A [ecappwm0]", "P8_42A [ecappwm0]",
"P8_35 [hdmi]", "P8_35 [lcd d12]",
"P8_33 [hdmi]", "P8_33 [lcd d13]",
"P8_31 [hdmi]", "P8_31 [lcd d14]",
"P8_32 [hdmi]", "P8_32 [lcd d15]",
"P9_20 [i2c2_sda]", "P9_20 [i2c2_sda]",
"P9_19 [i2c2_scl]", "P9_19 [i2c2_scl]",
"P9_26 [uart1_rxd]", "P9_26 [uart1_rxd]",
"P9_24 [uart1_txd]", "P9_24 [uart1_txd]",
"[ethernet]", "[rmii1_txd3]",
"[ethernet]", "[rmii1_txd2]",
"[usb]", "[usb0_drvvbus]",
"[hdmi]", "[hdmi cec]",
"P9_41B", "P9_41B",
"[ethernet]", "[rmii1_txd1]",
"P8_19 [ehrpwm2a]", "P8_19 [ehrpwm2a]",
"P8_13 [ehrpwm2b]", "P8_13 [ehrpwm2b]",
"[NC]", "NC",
"[NC]", "NC",
"P8_14", "P8_14",
"P8_17", "P8_17",
"[ethernet]", "[rmii1_txd0]",
"[ethernet]", "[rmii1_refclk]",
"P9_11 [uart4_rxd]", "P9_11 [uart4_rxd]",
"P9_13 [uart4_txd]"; "P9_13 [uart4_txd]";
}; };
&gpio1 { &gpio1 {
gpio-line-names = gpio-line-names =
"P8_25 [emmc]", "P8_25 [mmc1_dat0]",
"[emmc]", "[mmc1_dat1]",
"P8_5 [emmc]", "P8_5 [mmc1_dat2]",
"P8_6 [emmc]", "P8_6 [mmc1_dat3]",
"P8_23 [emmc]", "P8_23 [mmc1_dat4]",
"P8_22 [emmc]", "P8_22 [mmc1_dat5]",
"P8_3 [emmc]", "P8_3 [mmc1_dat6]",
"P8_4 [emmc]", "P8_4 [mmc1_dat7]",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"P8_12", "P8_12",
"P8_11", "P8_11",
"P8_16", "P8_16",
...@@ -82,13 +82,13 @@ &gpio1 { ...@@ -82,13 +82,13 @@ &gpio1 {
"P9_23", "P9_23",
"P9_14 [ehrpwm1a]", "P9_14 [ehrpwm1a]",
"P9_16 [ehrpwm1b]", "P9_16 [ehrpwm1b]",
"[emmc]", "[emmc rst]",
"[usr0 led]", "[usr0 led]",
"[usr1 led]", "[usr1 led]",
"[usr2 led]", "[usr2 led]",
"[usr3 led]", "[usr3 led]",
"[hdmi]", "[hdmi irq]",
"[usb]", "[usb vbus oc]",
"[hdmi audio]", "[hdmi audio]",
"P9_12", "P9_12",
"P8_26", "P8_26",
...@@ -116,38 +116,38 @@ &gpio2 { ...@@ -116,38 +116,38 @@ &gpio2 {
"P8_38 [hdmi]", "P8_38 [hdmi]",
"P8_36 [hdmi]", "P8_36 [hdmi]",
"P8_34 [hdmi]", "P8_34 [hdmi]",
"[ethernet]", "[rmii1_rxd3]",
"[ethernet]", "[rmii1_rxd2]",
"[ethernet]", "[rmii1_rxd1]",
"[ethernet]", "[rmii1_rxd0]",
"P8_27 [hdmi]", "P8_27 [hdmi]",
"P8_29 [hdmi]", "P8_29 [hdmi]",
"P8_28 [hdmi]", "P8_28 [hdmi]",
"P8_30 [hdmi]", "P8_30 [hdmi]",
"[emmc]", "[mmc0_dat3]",
"[emmc]", "[mmc0_dat2]",
"[emmc]", "[mmc0_dat1]",
"[emmc]", "[mmc0_dat0]",
"[emmc]", "[mmc0_clk]",
"[emmc]"; "[mmc0_cmd]";
}; };
&gpio3 { &gpio3 {
gpio-line-names = gpio-line-names =
"[ethernet]", "[mii col]",
"[ethernet]", "[mii crs]",
"[ethernet]", "[mii rx err]",
"[ethernet]", "[mii tx en]",
"[ethernet]", "[mii rx dv]",
"[i2c0]", "[i2c0 sda]",
"[i2c0]", "[i2c0 scl]",
"[emu]", "[jtag emu0]",
"[emu]", "[jtag emu1]",
"[ethernet]", "[mii tx clk]",
"[ethernet]", "[mii rx clk]",
"[NC]", "NC",
"[NC]", "NC",
"[usb]", "[usb vbus en]",
"P9_31 [spi1_sclk]", "P9_31 [spi1_sclk]",
"P9_29 [spi1_d0]", "P9_29 [spi1_d0]",
"P9_30 [spi1_d1]", "P9_30 [spi1_d1]",
...@@ -156,14 +156,14 @@ &gpio3 { ...@@ -156,14 +156,14 @@ &gpio3 {
"P9_27", "P9_27",
"P9_41A", "P9_41A",
"P9_25", "P9_25",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]"; "NC";
}; };
...@@ -61,51 +61,51 @@ vmmcsd_fixed: fixedregulator0 { ...@@ -61,51 +61,51 @@ vmmcsd_fixed: fixedregulator0 {
&gpio0 { &gpio0 {
gpio-line-names = gpio-line-names =
"[NC]", "NC",
"[NC]", "NC",
"P1.08 [SPI0_CLK]", "P1.08 [SPI0_CLK]",
"P1.10 [SPI0_MISO]", "P1.10 [SPI0_MISO]",
"P1.12 [SPI0_MOSI]", "P1.12 [SPI0_MOSI]",
"P1.06 [SPI0_CS]", "P1.06 [SPI0_CS]",
"[MMC0_CD]", "[MMC0_CD]",
"P2.29 [SPI1_CLK]", "P2.29 [SPI1_CLK]",
"[SYSBOOT]", "[SYSBOOT 12]",
"[SYSBOOT]", "[SYSBOOT 13]",
"[SYSBOOT]", "[SYSBOOT 14]",
"[SYSBOOT]", "[SYSBOOT 15]",
"P1.26 [I2C2_SDA]", "P1.26 [I2C2_SDA]",
"P1.28 [I2C2_SCL]", "P1.28 [I2C2_SCL]",
"P2.11 [I2C1_SDA]", "P2.11 [I2C1_SDA]",
"P2.09 [I2C1_SCL]", "P2.09 [I2C1_SCL]",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"P2.31 [SPI1_CS]", "P2.31 [SPI1_CS]",
"P1.20 [PRU0.16]", "P1.20 [PRU0.16]",
"[NC]", "NC",
"[NC]", "NC",
"P2.03", "P2.03",
"[NC]", "NC",
"[NC]", "NC",
"P1.34", "P1.34",
"P2.19", "P2.19",
"[NC]", "NC",
"[NC]", "NC",
"P2.05 [UART4_RX]", "P2.05 [UART4_RX]",
"P2.07 [UART4_TX]"; "P2.07 [UART4_TX]";
}; };
&gpio1 { &gpio1 {
gpio-line-names = gpio-line-names =
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"P2.25 [SPI1_MOSI]", "P2.25 [SPI1_MOSI]",
"P1.32 [UART0_RX]", "P1.32 [UART0_RX]",
"P1.30 [UART0_TX]", "P1.30 [UART0_TX]",
...@@ -113,10 +113,10 @@ &gpio1 { ...@@ -113,10 +113,10 @@ &gpio1 {
"P2.33", "P2.33",
"P2.22", "P2.22",
"P2.18", "P2.18",
"[NC]", "NC",
"[NC]", "NC",
"P2.01 [PWM1A]", "P2.01 [PWM1A]",
"[NC]", "NC",
"P2.10", "P2.10",
"[USR LED 0]", "[USR LED 0]",
"[USR LED 1]", "[USR LED 1]",
...@@ -126,35 +126,35 @@ &gpio1 { ...@@ -126,35 +126,35 @@ &gpio1 {
"P2.04", "P2.04",
"P2.02", "P2.02",
"P2.08", "P2.08",
"[NC]", "NC",
"[NC]", "NC",
"[NC]"; "NC";
}; };
&gpio2 { &gpio2 {
gpio-line-names = gpio-line-names =
"P2.20", "P2.20",
"P2.17", "P2.17",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[EEPROM_WP]", "[EEPROM_WP]",
"[SYSBOOT]", "[SYSBOOT 0]",
"[SYSBOOT]", "[SYSBOOT 1]",
"[SYSBOOT]", "[SYSBOOT 2]",
"[SYSBOOT]", "[SYSBOOT 3]",
"[SYSBOOT]", "[SYSBOOT 4]",
"[SYSBOOT]", "[SYSBOOT 5]",
"[SYSBOOT]", "[SYSBOOT 6]",
"[SYSBOOT]", "[SYSBOOT 7]",
"[SYSBOOT]", "[SYSBOOT 8]",
"[SYSBOOT]", "[SYSBOOT 9]",
"[SYSBOOT]", "[SYSBOOT 10]",
"[SYSBOOT]", "[SYSBOOT 11]",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"P2.35 [AIN5]", "P2.35 [AIN5]",
"P1.02 [AIN6]", "P1.02 [AIN6]",
"P1.35 [PRU1.10]", "P1.35 [PRU1.10]",
...@@ -169,19 +169,19 @@ &gpio2 { ...@@ -169,19 +169,19 @@ &gpio2 {
&gpio3 { &gpio3 {
gpio-line-names = gpio-line-names =
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[I2C0_SDA]", "[I2C0_SDA]",
"[I2C0_SCL]", "[I2C0_SCL]",
"[JTAG]", "[JTAG EMU0]",
"[JTAG]", "[JTAG EMU1]",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"P1.03 [USB1]", "P1.03 [USB1]",
"P1.36 [PWM0A]", "P1.36 [PWM0A]",
"P1.33 [PRU0.1]", "P1.33 [PRU0.1]",
...@@ -191,16 +191,16 @@ &gpio3 { ...@@ -191,16 +191,16 @@ &gpio3 {
"P2.34 [PRU0.5]", "P2.34 [PRU0.5]",
"P2.28 [PRU0.6]", "P2.28 [PRU0.6]",
"P1.29 [PRU0.7]", "P1.29 [PRU0.7]",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]", "NC",
"[NC]"; "NC";
}; };
&am33xx_pinmux { &am33xx_pinmux {
......
...@@ -27,16 +27,14 @@ cpcap_adc: adc { ...@@ -27,16 +27,14 @@ cpcap_adc: adc {
cpcap_battery: battery { cpcap_battery: battery {
compatible = "motorola,cpcap-battery"; compatible = "motorola,cpcap-battery";
interrupts-extended = < interrupts-extended =
&cpcap 6 0 &cpcap 5 0 &cpcap 3 0 <&cpcap 6 0>, <&cpcap 5 0>, <&cpcap 3 0>,
&cpcap 20 0 &cpcap 54 0 &cpcap 57 0 <&cpcap 20 0>, <&cpcap 54 0>, <&cpcap 57 0>;
>;
interrupt-names = interrupt-names =
"eol", "lowbph", "lowbpl", "eol", "lowbph", "lowbpl",
"chrgcurr1", "battdetb", "chrgcurr1", "battdetb", "cccal";
"cccal"; io-channels = <&cpcap_adc 0>, <&cpcap_adc 1>,
io-channels = <&cpcap_adc 0 &cpcap_adc 1 <&cpcap_adc 5>, <&cpcap_adc 6>;
&cpcap_adc 5 &cpcap_adc 6>;
io-channel-names = "battdetb", "battp", io-channel-names = "battdetb", "battp",
"chg_isense", "batti"; "chg_isense", "batti";
power-supplies = <&cpcap_charger>; power-supplies = <&cpcap_charger>;
...@@ -44,20 +42,19 @@ &cpcap 20 0 &cpcap 54 0 &cpcap 57 0 ...@@ -44,20 +42,19 @@ &cpcap 20 0 &cpcap 54 0 &cpcap 57 0
cpcap_charger: charger { cpcap_charger: charger {
compatible = "motorola,mapphone-cpcap-charger"; compatible = "motorola,mapphone-cpcap-charger";
interrupts-extended = < interrupts-extended =
&cpcap 13 0 &cpcap 12 0 &cpcap 29 0 &cpcap 28 0 <&cpcap 13 0>, <&cpcap 12 0>, <&cpcap 29 0>,
&cpcap 22 0 &cpcap 21 0 &cpcap 20 0 &cpcap 19 0 <&cpcap 28 0>, <&cpcap 22 0>, <&cpcap 21 0>,
&cpcap 54 0 <&cpcap 20 0>, <&cpcap 19 0>, <&cpcap 54 0>;
>;
interrupt-names = interrupt-names =
"chrg_det", "rvrs_chrg", "chrg_se1b", "se0conn", "chrg_det", "rvrs_chrg", "chrg_se1b",
"rvrs_mode", "chrgcurr2", "chrgcurr1", "vbusvld", "se0conn", "rvrs_mode", "chrgcurr2",
"battdetb"; "chrgcurr1", "vbusvld", "battdetb";
mode-gpios = <&gpio3 29 GPIO_ACTIVE_LOW mode-gpios = <&gpio3 29 GPIO_ACTIVE_LOW>,
&gpio3 23 GPIO_ACTIVE_LOW>; <&gpio3 23 GPIO_ACTIVE_LOW>;
io-channels = <&cpcap_adc 0 &cpcap_adc 1 io-channels = <&cpcap_adc 0>, <&cpcap_adc 1>,
&cpcap_adc 2 &cpcap_adc 5 <&cpcap_adc 2>, <&cpcap_adc 5>,
&cpcap_adc 6>; <&cpcap_adc 6>;
io-channel-names = "battdetb", "battp", io-channel-names = "battdetb", "battp",
"vbus", "chg_isense", "vbus", "chg_isense",
"batti"; "batti";
...@@ -98,22 +95,22 @@ power_button: button { ...@@ -98,22 +95,22 @@ power_button: button {
cpcap_usb2_phy: phy { cpcap_usb2_phy: phy {
compatible = "motorola,mapphone-cpcap-usb-phy"; compatible = "motorola,mapphone-cpcap-usb-phy";
pinctrl-0 = <&usb_gpio_mux_sel1 &usb_gpio_mux_sel2>; pinctrl-0 = <&usb_gpio_mux_sel1>, <&usb_gpio_mux_sel2>;
pinctrl-1 = <&usb_ulpi_pins>; pinctrl-1 = <&usb_ulpi_pins>;
pinctrl-2 = <&usb_utmi_pins>; pinctrl-2 = <&usb_utmi_pins>;
pinctrl-3 = <&uart3_pins>; pinctrl-3 = <&uart3_pins>;
pinctrl-names = "default", "ulpi", "utmi", "uart"; pinctrl-names = "default", "ulpi", "utmi", "uart";
#phy-cells = <0>; #phy-cells = <0>;
interrupts-extended = < interrupts-extended =
&cpcap 15 0 &cpcap 14 0 &cpcap 28 0 &cpcap 19 0 <&cpcap 15 0>, <&cpcap 14 0>, <&cpcap 28 0>,
&cpcap 18 0 &cpcap 17 0 &cpcap 16 0 &cpcap 49 0 <&cpcap 19 0>, <&cpcap 18 0>, <&cpcap 17 0>,
&cpcap 48 0 <&cpcap 16 0>, <&cpcap 49 0>, <&cpcap 48 0>;
>;
interrupt-names = interrupt-names =
"id_ground", "id_float", "se0conn", "vbusvld", "id_ground", "id_float", "se0conn",
"sessvld", "sessend", "se1", "dm", "dp"; "vbusvld", "sessvld", "sessend",
mode-gpios = <&gpio2 28 GPIO_ACTIVE_HIGH "se1", "dm", "dp";
&gpio1 0 GPIO_ACTIVE_HIGH>; mode-gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>,
<&gpio1 0 GPIO_ACTIVE_HIGH>;
io-channels = <&cpcap_adc 2>, <&cpcap_adc 7>; io-channels = <&cpcap_adc 2>, <&cpcap_adc 7>;
io-channel-names = "vbus", "id"; io-channel-names = "vbus", "id";
vusb-supply = <&vusb>; vusb-supply = <&vusb>;
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include "dm3725.dtsi" #include "dm3725.dtsi"
#include <dt-bindings/input/input.h> #include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>
/ { / {
model = "Amazon Echo (first generation)"; model = "Amazon Echo (first generation)";
...@@ -139,179 +140,367 @@ &i2c2 { ...@@ -139,179 +140,367 @@ &i2c2 {
clock-frequency = <400000>; clock-frequency = <400000>;
lp5523A: lp5523A@32 { lp5523A: lp5523A@32 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "national,lp5523"; compatible = "national,lp5523";
label = "q1"; label = "q1";
reg = <0x32>; reg = <0x32>;
clock-mode = /bits/ 8 <0>; /* LP55XX_CLOCK_AUTO */ clock-mode = /bits/ 8 <0>; /* LP55XX_CLOCK_AUTO */
enable-gpio = <&gpio4 13 GPIO_ACTIVE_HIGH>; /* GPIO_109 */ enable-gpio = <&gpio4 13 GPIO_ACTIVE_HIGH>; /* GPIO_109 */
chan0 { multi-led@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0x0>;
color = <LED_COLOR_ID_RGB>;
led@0 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x0>;
color = <LED_COLOR_ID_GREEN>;
}; };
chan1 {
led@1 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x1>;
color = <LED_COLOR_ID_BLUE>;
}; };
chan2 {
led@6 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x6>;
color = <LED_COLOR_ID_RED>;
};
}; };
chan3 { multi-led@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0x1>;
color = <LED_COLOR_ID_RGB>;
led@2 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x2>;
color = <LED_COLOR_ID_GREEN>;
}; };
chan4 {
led@3 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x3>;
color = <LED_COLOR_ID_BLUE>;
}; };
chan5 {
led@7 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x7>;
color = <LED_COLOR_ID_RED>;
}; };
chan6 { };
multi-led@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0x2>;
color = <LED_COLOR_ID_RGB>;
led@4 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x4>;
color = <LED_COLOR_ID_GREEN>;
}; };
chan7 {
led@5 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x5>;
color = <LED_COLOR_ID_BLUE>;
}; };
chan8 {
led@8 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x8>;
color = <LED_COLOR_ID_RED>;
};
}; };
}; };
lp5523B: lp5523B@33 { lp5523B: lp5523B@33 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "national,lp5523"; compatible = "national,lp5523";
label = "q3"; label = "q3";
reg = <0x33>; reg = <0x33>;
clock-mode = /bits/ 8 <0>; /* LP55XX_CLOCK_AUTO */ clock-mode = /bits/ 8 <0>; /* LP55XX_CLOCK_AUTO */
chan0 { multi-led@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0x0>;
color = <LED_COLOR_ID_RGB>;
led@0 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x0>;
color = <LED_COLOR_ID_GREEN>;
}; };
chan1 {
led@1 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x1>;
color = <LED_COLOR_ID_BLUE>;
}; };
chan2 {
led@6 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x6>;
color = <LED_COLOR_ID_RED>;
};
}; };
chan3 { multi-led@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0x1>;
color = <LED_COLOR_ID_RGB>;
led@2 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x2>;
color = <LED_COLOR_ID_GREEN>;
}; };
chan4 {
led@3 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x3>;
color = <LED_COLOR_ID_BLUE>;
}; };
chan5 {
led@7 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x7>;
color = <LED_COLOR_ID_RED>;
}; };
chan6 { };
multi-led@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0x2>;
color = <LED_COLOR_ID_RGB>;
led@4 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x4>;
color = <LED_COLOR_ID_GREEN>;
}; };
chan7 {
led@5 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x5>;
color = <LED_COLOR_ID_BLUE>;
}; };
chan8 {
led@8 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x8>;
color = <LED_COLOR_ID_RED>;
};
}; };
}; };
lp5523C: lp5523C@34 { lp5523C: lp5523C@34 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "national,lp5523"; compatible = "national,lp5523";
label = "q4"; label = "q4";
reg = <0x34>; reg = <0x34>;
clock-mode = /bits/ 8 <0>; /* LP55XX_CLOCK_AUTO */ clock-mode = /bits/ 8 <0>; /* LP55XX_CLOCK_AUTO */
chan0 { multi-led@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0x0>;
color = <LED_COLOR_ID_RGB>;
led@0 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x0>;
color = <LED_COLOR_ID_GREEN>;
}; };
chan1 {
led@1 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x1>;
color = <LED_COLOR_ID_BLUE>;
}; };
chan2 {
led@6 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x6>;
color = <LED_COLOR_ID_RED>;
}; };
chan3 { };
multi-led@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0x1>;
color = <LED_COLOR_ID_RGB>;
led@2 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x2>;
color = <LED_COLOR_ID_GREEN>;
}; };
chan4 {
led@3 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x3>;
color = <LED_COLOR_ID_BLUE>;
}; };
chan5 {
led@7 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x7>;
color = <LED_COLOR_ID_RED>;
};
}; };
chan6 { multi-led@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0x2>;
color = <LED_COLOR_ID_RGB>;
led@4 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x4>;
color = <LED_COLOR_ID_GREEN>;
}; };
chan7 {
led@5 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x5>;
color = <LED_COLOR_ID_BLUE>;
}; };
chan8 {
led@8 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x8>;
color = <LED_COLOR_ID_RED>;
};
}; };
}; };
lp5523D: lp552D@35 { lp5523D: lp552D@35 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "national,lp5523"; compatible = "national,lp5523";
label = "q2"; label = "q2";
reg = <0x35>; reg = <0x35>;
clock-mode = /bits/ 8 <0>; /* LP55XX_CLOCK_AUTO */ clock-mode = /bits/ 8 <0>; /* LP55XX_CLOCK_AUTO */
chan0 { multi-led@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0x0>;
color = <LED_COLOR_ID_RGB>;
led@0 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x0>;
color = <LED_COLOR_ID_GREEN>;
}; };
chan1 {
led@1 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x1>;
color = <LED_COLOR_ID_BLUE>;
}; };
chan2 {
led@6 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x6>;
color = <LED_COLOR_ID_RED>;
};
}; };
chan3 { multi-led@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0x1>;
color = <LED_COLOR_ID_RGB>;
led@2 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x2>;
color = <LED_COLOR_ID_GREEN>;
}; };
chan4 {
led@3 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x3>;
color = <LED_COLOR_ID_BLUE>;
}; };
chan5 {
led@7 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x7>;
color = <LED_COLOR_ID_RED>;
};
}; };
chan6 { multi-led@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0x2>;
color = <LED_COLOR_ID_RGB>;
led@4 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x4>;
color = <LED_COLOR_ID_GREEN>;
}; };
chan7 {
led@5 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x5>;
color = <LED_COLOR_ID_BLUE>;
}; };
chan8 {
led@8 {
led-cur = /bits/ 8 <12>; led-cur = /bits/ 8 <12>;
max-cur = /bits/ 8 <15>; max-cur = /bits/ 8 <15>;
reg = <0x8>;
color = <LED_COLOR_ID_RED>;
};
}; };
}; };
}; };
...@@ -417,6 +606,8 @@ &mmc2 { ...@@ -417,6 +606,8 @@ &mmc2 {
}; };
&mmc3 { &mmc3 {
#address-cells = <1>;
#size-cells = <0>;
status = "okay"; status = "okay";
bus-width = <4>; bus-width = <4>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -426,6 +617,11 @@ &mmc3 { ...@@ -426,6 +617,11 @@ &mmc3 {
mmc-pwrseq = <&sdio_pwrseq>; mmc-pwrseq = <&sdio_pwrseq>;
vmmc-supply = <&vcc3v3>; vmmc-supply = <&vcc3v3>;
vqmmc-supply = <&vcc1v8>; vqmmc-supply = <&vcc1v8>;
atheros@0 {
compatible = "atheros,ath6kl";
reg = <0>;
bus-width = <4>;
};
}; };
&tps { &tps {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment