diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-11-07 16:10:54 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2017-11-07 16:10:54 +0100 |
commit | 9c7f85ad3f0e05f631e733c6c772fc2edc1aa96d (patch) | |
tree | 17d80fe17d88a7b42c75326032317aaf43498dc2 /arch/arm/boot/dts/mt2701-evb.dts | |
parent | 2d2cf5283f01c854ed403dec76d098f1b1a74767 (diff) | |
parent | eb54a522f164f89587381d665307d53acf75f114 (diff) |
Merge tag 'v4.14-next-dts32-2' of https://github.com/mbgg/linux-mediatek into next/dt
Pull "Mediatek: 32-bit DTS updates for v4.15" from Matthias Brugger:
- mt7623 update nodes to binding description
- mt2701 add display pwn nodes
- mt2701 update audio node description
* tag 'v4.14-next-dts32-2' of https://github.com/mbgg/linux-mediatek:
arm: dts: mt7623: remove unused compatible string for pio node
arm: dts: mt7623: update usb related nodes
arm: dts: mt7623: update crypto node
arm: dts: mediatek: update audio node for mt2701 and mt7623
arm: dts: mt2701: enable display pwm backlight
arm: dts: mt2701: add pwm backlight device node
Diffstat (limited to 'arch/arm/boot/dts/mt2701-evb.dts')
-rw-r--r-- | arch/arm/boot/dts/mt2701-evb.dts | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/mt2701-evb.dts b/arch/arm/boot/dts/mt2701-evb.dts index f48497354221..63af4b13a36f 100644 --- a/arch/arm/boot/dts/mt2701-evb.dts +++ b/arch/arm/boot/dts/mt2701-evb.dts @@ -56,12 +56,29 @@ bt_sco_codec:bt_sco_codec { compatible = "linux,bt-sco"; }; + + backlight_lcd: backlight_lcd { + compatible = "pwm-backlight"; + pwms = <&bls 0 100000>; + brightness-levels = < + 0 16 32 48 64 80 96 112 + 128 144 160 176 192 208 224 240 + 255 + >; + default-brightness-level = <9>; + }; }; &auxadc { status = "okay"; }; +&bls { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pwm_bls_gpio>; +}; + &i2c0 { pinctrl-names = "default"; pinctrl-0 = <&i2c0_pins_a>; @@ -111,6 +128,12 @@ }; }; + pwm_bls_gpio: pwm_bls_gpio { + pins_cmd_dat { + pinmux = <MT2701_PIN_208_AUD_EXT_CK1__FUNC_DISP_PWM>; + }; + }; + spi_pins_a: spi0@0 { pins_spi { pinmux = <MT2701_PIN_53_SPI0_CSN__FUNC_SPI0_CS>, |