1// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2/dts-v1/; 3 4#include "omap4-samsung-espresso-common.dtsi" 5#include <dt-bindings/power/summit,smb347-charger.h> 6/ { 7 model = "Samsung Galaxy Tab 2 (10 inch)"; 8 compatible = "samsung,espresso10", "ti,omap4430", "ti,omap4"; 9 10 i2c-gpio5 { 11 smb347: charger@6 { 12 compatible = "summit,smb347"; 13 reg = <0x6>; // 0x0C >> 1 14 interrupt-parent = <&gpio2>; 15 interrupts = <0 IRQ_TYPE_EDGE_BOTH>; 16 17 summit,enable-usb-charging; 18 summit,enable-charge-control = <SMB3XX_CHG_ENABLE_SW>; 19 summit,chip-temperature-threshold-celsius = <120>; 20 summit,usb-current-limit-microamp = <1800000>; 21 }; 22 }; 23 24 backlight: backlight { 25 compatible = "pwm-backlight"; 26 pinctrl-names = "default"; 27 pinctrl-0 = <&backlight_pins>; 28 pwms = <&pwm10 0 1600 0>; 29 power-supply = <®_lcd>; 30 enable-gpios = <&gpio3 31 GPIO_ACTIVE_HIGH>; 31 brightness-levels = <0 4 8 16 32 64 128 255>; 32 default-brightness-level = <7>; 33 }; 34 35 panel { 36 compatible = "samsung,ltn101al03", "panel-lvds"; 37 power-supply = <®_lcd>; 38 width-mm = <223>; 39 height-mm = <125>; 40 data-mapping = "vesa-24"; 41 backlight = <&backlight>; 42 43 panel-timing { 44 clock-frequency = <69818000>; 45 46 hback-porch = <64>; 47 hactive = <1280>; 48 hfront-porch = <16>; 49 hsync-len = <48>; 50 51 vback-porch = <11>; 52 vactive = <800>; 53 vfront-porch = <16>; 54 vsync-len = <3>; 55 56 hsync-active = <0>; 57 vsync-active = <0>; 58 de-active = <1>; 59 pixelclk-active = <1>; 60 }; 61 62 port { 63 panel_in: endpoint { 64 remote-endpoint = <&bridge_out>; 65 }; 66 }; 67 }; 68}; 69 70&i2c3 { 71 touchscreen@20 { 72 compatible = "syna,rmi4-i2c"; 73 reg = <0x20>; 74 #address-cells = <1>; 75 #size-cells = <0>; 76 77 interrupt-parent = <&gpio2>; 78 interrupts = <14 IRQ_TYPE_EDGE_FALLING>; 79 80 pinctrl-names = "default"; 81 pinctrl-0 = <&touch_pins>; 82 83 //avdd-supply = <®_touch_ldo_en>; 84 vdd-supply = <&ldo6>; 85 86 syna,reset-delay-ms = <200>; 87 syna,startup-delay-ms = <200>; 88 89 rmi4-f01@1 { 90 reg = <0x01>; 91 syna,nosleep-mode = <1>; 92 }; 93 94 rmi4-f11@11 { 95 reg = <0x11>; 96 touchscreen-size-x = <1280>; 97 touchscreen-size-y = <800>; 98 syna,sensor-type = <1>; 99 }; 100 }; 101}; 102