Commit 7a623a27 authored by Alexey Mednyy's avatar Alexey Mednyy 🆖

new mx53shm devicetree

parent 6789b5d0
......@@ -52,16 +52,19 @@
// };
// };
gpio-keys {
compatible = "gpio-keys";
power {
label = "Power Button";
gpios = <&gpio3 4 0>;
linux,code = <116>; /* KEY_POWER */
gpio-key,wakeup;
};
};
// gpio-keys {
// compatible = "gpio-keys";
// gpio-key,wakeup;
// linux,wakeup;
//
// power {
// label = "Power Button";
// gpios = <&gpio3 4 0>;
// linux,code = <116>; /* KEY_POWER */
// gpio-key,wakeup;
// linux,wakeup;
// };
// };
regulators {
compatible = "simple-bus";
......@@ -100,15 +103,6 @@
mux-int-port = <2>;
mux-ext-port = <3>;
};
// backlight {
// compatible = "pwm-backlight";
// pwms = <&pwm2 0 3000>;
// brightness-levels = <0 4 8 16 32 64 128 255>;
// default-brightness-level = <6>;
// };
};
&esdhc1 {
......@@ -181,7 +175,7 @@
pinctrl_hog: hoggrp {
fsl,pins = <
MX53_PAD_GPIO_0__CCM_SSI_EXT1_CLK 0x80000000
// MX53_PAD_GPIO_8__GPIO1_8 0x80000000
MX53_PAD_GPIO_8__GPIO1_8 0x80000000
MX53_PAD_PATA_DA_0__GPIO7_6 0x80000000
// MX53_PAD_DISP0_DAT9__WDOG2_WDOG_B 0x80000000
// MX53_PAD_GPIO_1__PWM2_PWMO 0x80000000
......@@ -510,6 +504,7 @@
// status = "okay";
// };
&vpu {
status = "okay";
};
......@@ -523,4 +518,4 @@
&usbotg {
dr_mode = "peripheral";
status = "okay";
};
};
\ No newline at end of file
......@@ -41,15 +41,7 @@ memgpu: /memreserve/ 0xb0000000 0x04000000;
};
&iomuxc {
i2c1 {
/* open drain */
pinctrl_i2c1_qsrb: i2c1grp-1 {
fsl,pins = <
MX53_PAD_EIM_D28__I2C1_SDA 0x400001ec
MX53_PAD_EIM_D21__I2C1_SCL 0x400001ec
>;
};
i2c2 {
pinctrl_pmic: pmicgrp {
fsl,pins = <
MX53_PAD_CSI0_DAT10__GPIO5_28 0x100 /* IRQ */
......@@ -60,7 +52,7 @@ memgpu: /memreserve/ 0xb0000000 0x04000000;
&i2c1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c1_qsrb>;
pinctrl-0 = <&pinctrl_i2c1>;
status = "okay";
pmic: mc34708@8 {
compatible = "fsl,mc34708";
......
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