]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
slim down DTs
authorDuje Mihanović <duje.mihanovic@skole.hr>
Wed, 18 Dec 2024 15:57:28 +0000 (16:57 +0100)
committerDuje Mihanović <duje.mihanovic@skole.hr>
Wed, 18 Dec 2024 15:57:28 +0000 (16:57 +0100)
arch/arm/dts/pxa1908-samsung-coreprimevelte.dts
arch/arm/dts/pxa1908.dtsi

index 5749b5f5685e1a3d8695f70d62cd68beef3ea6a7..a7d3ce278f549843f4a34c0ec811eff80fe53ced 100644 (file)
@@ -9,9 +9,6 @@
        compatible = "samsung,coreprimevelte", "marvell,pxa1908";
 
        aliases {
-               mmc0 = &sdh2; /* eMMC */
-               mmc1 = &sdh0; /* SD card */
-               mmc2 = &sdh1; /* SDIO */
                serial0 = &uart0;
        };
 
                        max-reason = <5>;
                };
        };
-
-
-       i2c-muic {
-               compatible = "i2c-gpio";
-               sda-gpios = <&gpio 30 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
-               scl-gpios = <&gpio 29 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
-               i2c-gpio,delay-us = <3>;
-               i2c-gpio,timeout-ms = <100>;
-               #address-cells = <1>;
-               #size-cells = <0>;
-               pinctrl-names = "default";
-               pinctrl-0 = <&i2c_muic_pins>;
-
-               muic: extcon@14 {
-                       compatible = "siliconmitus,sm5504-muic";
-                       reg = <0x14>;
-                       interrupt-parent = <&gpio>;
-                       interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
-               };
-       };
-
-       gpio-keys {
-               compatible = "gpio-keys";
-               pinctrl-names = "default";
-               pinctrl-0 = <&gpio_keys_pins>;
-               autorepeat;
-
-               key-home {
-                       label = "Home";
-                       linux,code = <KEY_HOME>;
-                       gpios = <&gpio 50 GPIO_ACTIVE_LOW>;
-               };
-
-               key-volup {
-                       label = "Volume Up";
-                       linux,code = <KEY_VOLUMEUP>;
-                       gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
-               };
-
-               key-voldown {
-                       label = "Volume Down";
-                       linux,code = <KEY_VOLUMEDOWN>;
-                       gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
-               };
-       };
-
-       backlight {
-               compatible = "kinetic,ktd2801";
-               ctrl-gpios = <&gpio 97 GPIO_ACTIVE_HIGH>;
-               max-brightness = <210>;
-       };
-
-       wlan_pwrseq: pwrseq0 {
-               compatible = "mmc-pwrseq-simple";
-               powerdown-gpios = <&gpio 57 GPIO_ACTIVE_HIGH>;
-               reset-gpios = <&gpio 58 GPIO_ACTIVE_HIGH>;
-       };
-
-       vibrator {
-               compatible = "pwm-vibrator";
-               pwm-names = "enable";
-               pwms = <&pwm 100000>;
-               enable-gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
-               pinctrl-names = "default";
-               pinctrl-0 = <&vibrator_pins>;
-       };
-};
-
-&smmu {
-       status = "okay";
 };
 
 &pmx {
        pinctrl-names = "default";
        pinctrl-0 = <&uart0_pins>;
 };
-
-&twsi0 {
-       status = "okay";
-};
-
-&twsi1 {
-       status = "okay";
-};
-
-&twsi2 {
-       status = "okay";
-
-       pmic@30 {
-               compatible = "marvell,88pm886-a1";
-               reg = <0x30>;
-               interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>;
-               interrupt-parent = <&gic>;
-               interrupt-controller;
-               #interrupt-cells = <1>;
-
-               onkey {
-                       compatible = "marvell,88pm88x-onkey";
-                       wakeup-source;
-               };
-
-               regulators {
-                       ldo2: ldo2 {
-                               regulator-min-microvolt = <3100000>;
-                               regulator-max-microvolt = <3300000>;
-                       };
-
-                       ldo15: ldo15 {
-                               regulator-min-microvolt = <3300000>;
-                               regulator-max-microvolt = <3300000>;
-                       };
-
-                       buck2: buck2 {
-                               regulator-min-microvolt = <1800000>;
-                               regulator-max-microvolt = <1800000>;
-                       };
-               };
-       };
-};
-
-&twsi3 {
-       status = "okay";
-
-       touchscreen@50 {
-               compatible = "imagis,ist3032c";
-               reg = <0x50>;
-               interrupt-parent = <&gpio>;
-               interrupts = <72 IRQ_TYPE_EDGE_FALLING>;
-               vdd-supply = <&ldo2>;
-               touchscreen-size-x = <480>;
-               touchscreen-size-y = <800>;
-               linux,code = <KEY_APPSELECT>, <KEY_BACK>;
-       };
-};
-
-&usb {
-       extcon = <&muic>, <&muic>;
-};
-
-&sdh2 {
-       pinctrl-names = "default", "state_uhs";
-       pinctrl-0 = <&sdh2_pins_1 &sdh2_pins_2 &sdh2_pins_3>;
-       pinctrl-1 = <&sdh2_pins_1_fast &sdh2_pins_2_fast &sdh2_pins_3_fast>;
-       bus-width = <8>;
-       non-removable;
-       mmc-ddr-1_8v;
-};
-
-&sdh0 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&sdh0_pins_1 &sdh0_pins_2 &sdh0_pins_3>;
-       cd-gpios = <&gpio 11 0>;
-       cd-inverted;
-       bus-width = <4>;
-       wp-inverted;
-};
-
-&sdh1 {
-       status = "okay";
-       pinctrl-names = "default", "state_uhs";
-       pinctrl-0 = <&sdh1_pins_1 &sdh1_pins_2 &sdh1_pins_3>;
-       pinctrl-1 = <&sdh1_pins_1_fast &sdh1_pins_2_fast &sdh1_pins_3>;
-       pinctrl-2 = <&sdh1_edge_wakeup>;
-       bus-width = <4>;
-       max-frequency = <200000000>;
-       cap-sd-highspeed;
-       sd-uhs-sdr50;
-       sd-uhs-sdr104;
-       keep-power-in-suspend;
-       wakeup-source;
-       cap-sdio-irq;
-       vmmc-supply = <&ldo15>;
-       vqmmc-supply = <&buck2>;
-       mmc-pwrseq = <&wlan_pwrseq>;
-       non-removable;
-       cap-power-off-card;
-
-       #address-cells = <1>;
-       #size-cells = <0>;
-
-       mwifiex: wifi@1 {
-               compatible = "marvell,sd8777";
-               reg = <1>;
-               interrupt-parent = <&gpio>;
-               interrupts = <38 IRQ_TYPE_LEVEL_LOW>;
-               marvell,wakeup-pin = <3>;
-       };
-
-       btmrvl: bluetooth@2 {
-               compatible = "marvell,sd8777-bt";
-               reg = <2>;
-               interrupt-parent = <&gpio>;
-               interrupts = <40 IRQ_TYPE_LEVEL_LOW>;
-
-               marvell,cal-data = /bits/ 8 <
-                       0x00 0x1c 0xfa 0x37 0xff 0xff 0xff 0xff 0x00 0x0d 0x7f 0x01
-                       0xce 0xba 0x00 0x00 0x00 0x2d 0xc6 0xc0 0x00 0x00 0x00 0x00
-                       0x00 0xf0 0x00 0x00>;
-       };
-};
index b0c9f80d78ba552149ff42aaf81ae9b1d1c4e1bc..8db497864636e7d6d15932bd84de90efc7518900 100644 (file)
                };
        };
 
-       pmu {
-               compatible = "arm,cortex-a53-pmu";
-               interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
-                       <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
-                       <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
-                       <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
-               interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
-       };
-
        psci {
                compatible = "arm,psci-0.2";
                method = "smc";
                #size-cells = <2>;
                ranges;
 
-               smmu: iommu@c0010000 {
-                       compatible = "arm,mmu-400";
-                       reg = <0 0xc0010000 0 0x10000>;
-                       #global-interrupts = <1>;
-                       #iommu-cells = <1>;
-                       interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>,
-                               <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
-                       status = "disabled";
-               };
-
                gic: interrupt-controller@d1df9000 {
                        compatible = "arm,gic-400";
                        reg = <0 0xd1df9000 0 0x1000>,
                        #size-cells = <1>;
                        ranges = <0 0 0xd4000000 0x200000>;
 
-                       pdma: dma-controller@0 {
-                               compatible = "marvell,pdma-1.0";
-                               reg = <0 0x10000>;
-                               interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
-                               dma-channels = <30>;
-                               #dma-cells = <2>;
-                       };
-
-                       twsi1: i2c@10800 {
-                               compatible = "mrvl,mmp-twsi";
-                               #address-cells = <1>;
-                               #size-cells = <0>;
-                               reg = <0x10800 0x64>;
-                               interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
-                               clocks = <&apbc PXA1908_CLK_TWSI1>;
-                               mrvl,i2c-fast-mode;
-                               status = "disabled";
-                       };
-
-                       twsi0: i2c@11000 {
-                               compatible = "mrvl,mmp-twsi";
-                               #address-cells = <1>;
-                               #size-cells = <0>;
-                               reg = <0x11000 0x64>;
-                               interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
-                               clocks = <&apbc PXA1908_CLK_TWSI0>;
-                               mrvl,i2c-fast-mode;
-                               status = "disabled";
-                       };
-
-                       twsi3: i2c@13800 {
-                               compatible = "mrvl,mmp-twsi";
-                               #address-cells = <1>;
-                               #size-cells = <0>;
-                               reg = <0x13800 0x64>;
-                               interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
-                               clocks = <&apbc PXA1908_CLK_TWSI3>;
-                               mrvl,i2c-fast-mode;
-                               status = "disabled";
-                       };
-
-                       apbc: clock-controller@15000 {
-                               compatible = "marvell,pxa1908-apbc";
-                               reg = <0x15000 0x1000>;
-                               #clock-cells = <1>;
-                       };
-
                        uart0: serial@17000 {
                                compatible = "mrvl,mmp-uart", "intel,xscale-uart", "ns16550";
                                reg = <0x17000 0x1000>;
                                reg-shift = <2>;
                        };
 
-                       gpio: gpio@19000 {
-                               compatible = "marvell,mmp-gpio";
-                               reg = <0x19000 0x800>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
-                               gpio-controller;
-                               #gpio-cells = <2>;
-                               clocks = <&apbc PXA1908_CLK_GPIO>;
-                               interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
-                               interrupt-names = "gpio_mux";
-                               interrupt-controller;
-                               #interrupt-cells = <2>;
-                               ranges = <0 0x19000 0x800>;
-
-                               gpio@0 {
-                                       reg = <0x0 0x4>;
-                               };
-
-                               gpio@4 {
-                                       reg = <0x4 0x4>;
-                               };
-
-                               gpio@8 {
-                                       reg = <0x8 0x4>;
-                               };
-
-                               gpio@100 {
-                                       reg = <0x100 0x4>;
-                               };
-                       };
-
-                       pwm: pwm@1ac00 {
-                               compatible = "marvell,pxa250-pwm";
-                               reg = <0x1ac00 0x10>;
-                               #pwm-cells = <1>;
-                               clocks = <&apbc PXA1908_CLK_PWM3>;
-                       };
-
                        pmx: pinmux@1e000 {
                                compatible = "marvell,pxa1908-padconf", "pinconf-single";
                                reg = <0x1e000 0x330>;
                                reg-shift = <2>;
                        };
 
-                       twsi2: i2c@37000 {
-                               compatible = "mrvl,mmp-twsi";
-                               #address-cells = <1>;
-                               #size-cells = <0>;
-                               reg = <0x37000 0x64>;
-                               interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
-                               clocks = <&apbcp PXA1908_CLK_TWSI2>;
-                               mrvl,i2c-fast-mode;
-                               status = "disabled";
-                       };
-
                        apbcp: clock-controller@3b000 {
                                compatible = "marvell,pxa1908-apbcp";
                                reg = <0x3b000 0x1000>;
                                #clock-cells = <1>;
                        };
                };
-
-               axi@d4200000 {
-                       compatible = "simple-bus";
-                       reg = <0 0xd4200000 0 0x200000>;
-                       #address-cells = <1>;
-                       #size-cells = <1>;
-                       ranges = <0 0 0xd4200000 0x200000>;
-
-                       usbphy: phy@7000 {
-                               compatible = "marvell,pxa1928-usb-phy";
-                               reg = <0x7000 0x200>;
-                               clocks = <&apmu PXA1908_CLK_USB>;
-                               #phy-cells = <0>;
-                       };
-
-                       usb: usb@8000 {
-                               compatible = "chipidea,usb2";
-                               reg = <0x8000 0x200>;
-                               interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
-                               clocks = <&apmu PXA1908_CLK_USB>;
-                               phys = <&usbphy>;
-                               phy-names = "usb-phy";
-                       };
-
-                       sdh0: mmc@80000 {
-                               compatible = "mrvl,pxav3-mmc";
-                               reg = <0x80000 0x120>;
-                               interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
-                               clocks = <&apmu PXA1908_CLK_SDH0>;
-                               clock-names = "io";
-                               mrvl,clk-delay-cycles = <31>;
-                       };
-
-                       sdh1: mmc@80800 {
-                               compatible = "mrvl,pxav3-mmc";
-                               reg = <0x80800 0x120>;
-                               interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
-                               clocks = <&apmu PXA1908_CLK_SDH1>;
-                               clock-names = "io";
-                               mrvl,clk-delay-cycles = <31>;
-                       };
-
-                       sdh2: mmc@81000 {
-                               compatible = "mrvl,pxav3-mmc";
-                               reg = <0x81000 0x120>;
-                               interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
-                               clocks = <&apmu PXA1908_CLK_SDH2>;
-                               clock-names = "io";
-                               mrvl,clk-delay-cycles = <31>;
-                       };
-
-                       apmu: clock-controller@82800 {
-                               compatible = "marvell,pxa1908-apmu";
-                               reg = <0x82800 0x400>;
-                               #clock-cells = <1>;
-                       };
-               };
        };
 };